pub trait Derivative<N: ComplexField + Copy, D: Dim, T: Clone>: FnMut(N::RealField, &[N], &mut T) -> Result<BVector<N, D>, UserError>where
DefaultAllocator: Allocator<N, D>,{ }
Expand description
A function that can be used as a derivative for the solver