We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HessianCache
x
julia> using FiniteDiff julia> f(x) = sum(abs2, x) f (generic function with 1 method) julia> x1, x2 = float.(1:4), float.(5:8); julia> FiniteDiff.finite_difference_hessian(f, x1, FiniteDiff.HessianCache(x1)) 4×4 LinearAlgebra.Symmetric{Float64, Matrix{Float64}}: 2.0 0.0 0.0 0.0 0.0 2.0 0.0 0.0 0.0 0.0 2.0 0.0 0.0 0.0 0.0 2.0 julia> FiniteDiff.finite_difference_hessian(f, x1, FiniteDiff.HessianCache(x2)) 4×4 LinearAlgebra.Symmetric{Float64, Matrix{Float64}}: 1.61061e10 0.0 0.0 0.0 0.0 2.0 0.0 0.0 0.0 0.0 2.0 0.0 0.0 0.0 0.0 2.0
The text was updated successfully, but these errors were encountered:
Refresh Hessian caches on run
b06e3e7
Fixes #185 and fixes #127
Awesome, thanks! Can we tag a release?
Sorry, something went wrong.
Tagged a half hour before you asked JuliaRegistries/General#105009
Successfully merging a pull request may close this issue.
The text was updated successfully, but these errors were encountered: