Giter Club home page Giter Club logo

Comments (11)

adler-j avatar adler-j commented on May 15, 2024

Sure we can do this, but this is already documented (or should be) in the functions __add__, __mul__ etc, shouldnt this be enough?

from odl.

kohr-h avatar kohr-h commented on May 15, 2024

Yes, sure, but I was more thinking of a chapter in the introduction. IMO it is one of the strengths of ODL and it should not be hidden in the API doc.

from odl.

adler-j avatar adler-j commented on May 15, 2024

Sure why not. In that case I'd simply do the first three points however. The last one is a "implementation detail" imo.

from odl.

kohr-h avatar kohr-h commented on May 15, 2024

Right. But we could link to the place in the API doc.

from odl.

adler-j avatar adler-j commented on May 15, 2024

Yes indeed! Simply writing:

(scalar * A)(x) = scalar * A(x)
(A * scalar)(x) = A(scalar * x)
(A * B)(x) = A(B(x))

etc would be enough imo. With good naming it will be clear that A is a operator and scalar is a "appropriate" scalar. Details such as conditions on scalar can be in the (linked to) api doc.

Regarding the API doc we need to add __add__ etc to the doc, see #18.

from odl.

kohr-h avatar kohr-h commented on May 15, 2024

Alright! I can take that one.

from odl.

adler-j avatar adler-j commented on May 15, 2024

Has this been done?

from odl.

kohr-h avatar kohr-h commented on May 15, 2024

No, just an intro to operators in general in the init file of the operator submodule. Rest is TODO.

from odl.

adler-j avatar adler-j commented on May 15, 2024

The intro has been moved to the doc, I'll add this summary there.

from odl.

adler-j avatar adler-j commented on May 15, 2024

This has been solved Operator Arithmetic

from odl.

kohr-h avatar kohr-h commented on May 15, 2024

Looks good!

from odl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.