You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following a discussion on Slack we realized there is no Jacobian-Vector product function in ForwardDiff.jl.
The idea would be to have a function jvp(foo, x, v) = jacobian(foo, x) * v.
A solution proposed is to rewrite it as a derivative:
function jvp(foo, x, v)
derivative(0) do t
foo(x .+ t .* v)
end
end
Following a discussion on Slack we realized there is no Jacobian-Vector product function in ForwardDiff.jl.
The idea would be to have a function
jvp(foo, x, v) = jacobian(foo, x) * v
.A solution proposed is to rewrite it as a derivative:
Edit : Same issue as #319
The text was updated successfully, but these errors were encountered: