pub enum JacobianStrategy {
FiniteDifference,
SparseFiniteDifference,
BroydenUpdate,
ModifiedNewton,
ColoredFiniteDifference,
ParallelFiniteDifference,
ParallelSparseFiniteDifference,
AutoDiff,
Adaptive,
}Expand description
Strategy for Jacobian approximation
Variants§
FiniteDifference
Standard finite difference approximation
SparseFiniteDifference
Sparse finite difference (more efficient for sparse Jacobians)
BroydenUpdate
Broyden’s update (quasi-Newton)
ModifiedNewton
Modified Newton (reuse Jacobian for multiple steps)
ColoredFiniteDifference
Colored finite difference (for systems with structure)
ParallelFiniteDifference
Parallel finite difference (for large systems)
ParallelSparseFiniteDifference
Parallel sparse finite difference (for large sparse systems)
AutoDiff
Automatic differentiation (exact derivatives)
Adaptive
Adaptive selection (uses autodiff if available, falls back to finite difference)
Trait Implementations§
Source§impl Clone for JacobianStrategy
impl Clone for JacobianStrategy
Source§fn clone(&self) -> JacobianStrategy
fn clone(&self) -> JacobianStrategy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JacobianStrategy
impl Debug for JacobianStrategy
Source§impl Default for JacobianStrategy
impl Default for JacobianStrategy
Source§fn default() -> JacobianStrategy
fn default() -> JacobianStrategy
Returns the “default value” for a type. Read more
Source§impl PartialEq for JacobianStrategy
impl PartialEq for JacobianStrategy
impl Copy for JacobianStrategy
impl Eq for JacobianStrategy
impl StructuralPartialEq for JacobianStrategy
Auto Trait Implementations§
impl Freeze for JacobianStrategy
impl RefUnwindSafe for JacobianStrategy
impl Send for JacobianStrategy
impl Sync for JacobianStrategy
impl Unpin for JacobianStrategy
impl UnwindSafe for JacobianStrategy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more