Module Cvodes.Adjoint.Diag

module Diag: sig .. end

Diagonal approximation of Jacobians by difference quotients.


val solver : ('data, 'kind) Cvodes.Adjoint.linear_solver

A linear solver based on Jacobian approximation by difference quotients.

val get_work_space : ('d, 'k) Cvodes.Adjoint.bsession -> int * int

Returns the sizes of the real and integer workspaces used by the Diagonal linear solver.

val get_num_rhs_evals : ('d, 'k) Cvodes.Adjoint.bsession -> int

Returns the number of calls made to the right-hand side function due to finite difference Jacobian approximation in the Diagonal linear solver.