Enum newton_rootfinder::solver::ResolutionMethod
source · [−]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
sourceimpl Clone for ResolutionMethod
impl Clone for ResolutionMethod
sourcefn clone(&self) -> ResolutionMethod
fn clone(&self) -> ResolutionMethod
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresourceimpl Debug for ResolutionMethod
impl Debug for ResolutionMethod
sourceimpl Display for ResolutionMethod
impl Display for ResolutionMethod
sourceimpl PartialEq<ResolutionMethod> for ResolutionMethod
impl PartialEq<ResolutionMethod> for ResolutionMethod
sourcefn eq(&self, other: &ResolutionMethod) -> bool
fn eq(&self, other: &ResolutionMethod) -> bool
impl Copy for ResolutionMethod
impl StructuralPartialEq for ResolutionMethod
Auto Trait Implementations
impl RefUnwindSafe for ResolutionMethod
impl Send for ResolutionMethod
impl Sync for ResolutionMethod
impl Unpin for ResolutionMethod
impl UnwindSafe for ResolutionMethod
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self
from the equivalent element of its
superset. Read morefn 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).fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset
but without any property checks. Always succeeds.fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self
to the equivalent element of its superset.