-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Description
SparseDiffTools.jl/src/differentiation/vecjac_products.jl
Lines 24 to 29 in 9a713c6
for i in 1:length(x) | |
x[i] += ϵ | |
f0 = f(x) | |
x[i] -= ϵ | |
du[i] = (((f0 .- _f0) ./ ϵ)' * vv)[1] | |
end |
Metadata
Metadata
Assignees
Labels
No labels