Open ArnoStrouwen opened 3 years ago
You can't nest two jac or hes products.
Is that also true when nested derivatives are being calculated towards different parameters?
An example: calculating the gradient of an optimization objective f(p1)
, which depends on calculating the zeros of function p2->g(p2,p1)
.
Is SparseDiffTools perturbation confusion safe? https://github.com/JuliaDiff/SparseDiffTools.jl/blob/86b8b3b04bfc45bd551738b4f88f065afad68956/src/differentiation/jaches_products.jl#L1