Jacobian Wrappers

NonlinearSolveBase.construct_jacobian_cacheFunction
construct_jacobian_cache(
    prob, alg, f, fu, u = prob.u0, p = prob.p;
    autodiff = nothing, vjp_autodiff = nothing, jvp_autodiff = nothing,
    linsolve = missing
)

Construct a cache for the Jacobian of f w.r.t. u.

Arguments

Keyword Arguments

  • autodiff: Automatic Differentiation or Finite Differencing backend for computing the jacobian. By default, selects a backend based on sparsity parameters, type of state, function properties, etc.
  • vjp_autodiff: Automatic Differentiation or Finite Differencing backend for computing the vector-Jacobian product.
  • jvp_autodiff: Automatic Differentiation or Finite Differencing backend for computing the Jacobian-vector product.
  • linsolve: Linear Solver Algorithm used to determine if we need a concrete jacobian or if possible we can just use a JacobianOperator instead.
source