pub enum ResolutionMethod {
NewtonRaphson,
QuasiNewton(QuasiNewtonMethod),
}
Expand description
Choice of the iterative algorithm for the resolution
All of them are Newton based methods
All Newton based iterative methods have a local convergence. They also assume that the jacobian is invertible at the root (simple root)
Variants§
NewtonRaphson
The classical Newton method
See Tjalling J. Ypma (1995), Historical development of the Newton–Raphson method, SIAM Review 37 (4), p 531–551, 1995, doi:10.1137/1037125
QuasiNewton(QuasiNewtonMethod)
Quasi-Newton methods (several are available through QuasiNewtonMethod)
Quasi Newton methods are used when the computation of the jacobian is too computationnaly expensive.
Instead of using the jacobian, there are using a approximation of this matrix (or its inverse). In most of the case, a computation of the true jacobian is still required for initialization purpose.
Trait Implementations§
Source§impl Clone for ResolutionMethod
impl Clone for ResolutionMethod
Source§fn clone(&self) -> ResolutionMethod
fn clone(&self) -> ResolutionMethod
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ResolutionMethod
impl Debug for ResolutionMethod
Source§impl Display for ResolutionMethod
impl Display for ResolutionMethod
Source§impl PartialEq for ResolutionMethod
impl PartialEq for ResolutionMethod
impl Copy for ResolutionMethod
impl StructuralPartialEq for ResolutionMethod
Auto Trait Implementations§
impl Freeze for ResolutionMethod
impl RefUnwindSafe for ResolutionMethod
impl Send for ResolutionMethod
impl Sync for ResolutionMethod
impl Unpin for ResolutionMethod
impl UnwindSafe for ResolutionMethod
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self
from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self
is actually part of its subset T
(and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset
but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self
to the equivalent element of its superset.