Giter Club home page Giter Club logo

Comments (7)

devmotion avatar devmotion commented on September 23, 2024

Can you explain the motivation for it? I assumed that typically the main idea is to not construct the Jacobian at all but directly compute Jacobian-vector products. But here you just store the Jacobian?

from abstractdifferentiation.jl.

devmotion avatar devmotion commented on September 23, 2024

Oh wait, it's actually a lazy operator that is stored? Then you could just define mul!, couldn't you?

from abstractdifferentiation.jl.

gdalle avatar gdalle commented on September 23, 2024

The motivation was to use this lazy Jacobian as a LinearOperator (in the sense of LinearOperators.jl) in our package ImplicitDifferentiation.jl. It's easier to define mul! on a struct, and I needed to know the array order statically in order to write type-stable code

from abstractdifferentiation.jl.

gdalle avatar gdalle commented on September 23, 2024

But I eventually gave up because of #83

from abstractdifferentiation.jl.

oxinabox avatar oxinabox commented on September 23, 2024

Isn't this what our lazy_jacobian function already returns?

from abstractdifferentiation.jl.

gdalle avatar gdalle commented on September 23, 2024

Maybe but I needed the additional flattening step and the existence of a mul! method because of the Krylov solver we were using.

from abstractdifferentiation.jl.

gdalle avatar gdalle commented on September 23, 2024

Closing in favor of #114

from abstractdifferentiation.jl.

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.