gdalle / DifferentiationInterface.jl

An interface to various automatic differentiation backends in Julia.

Home Page:https://gdalle.github.io/DifferentiationInterface.jl/DifferentiationInterface

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Preparing functions of 2 variables with respect to just one.

gdalle opened this issue · comments

In control-toolbox/CTBase.jl#140 (comment) @ocots asked whether it is possible to prepare a function f(x, p) = y where x won't change but p will. This is not built into the package but I'm opening an issue to keep track of potential workarounds.

Also related to the Lagrangian topic from #206 (comment) and #252 (comment), ping @timholy

Superseded by #311