pub struct FixedPointResult {
pub point: Vec<f64>,
pub residual: f64,
pub converged: bool,
pub iterations: usize,
}Expand description
Result of a fixed-point search.
Fields§
§point: Vec<f64>The approximate fixed point (where f(x*)≈0).
residual: f64Residual norm at convergence.
converged: boolWhether the iteration converged within tolerance.
iterations: usizeNumber of Newton iterations performed.
Trait Implementations§
Source§impl Clone for FixedPointResult
impl Clone for FixedPointResult
Source§fn clone(&self) -> FixedPointResult
fn clone(&self) -> FixedPointResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FixedPointResult
impl RefUnwindSafe for FixedPointResult
impl Send for FixedPointResult
impl Sync for FixedPointResult
impl Unpin for FixedPointResult
impl UnsafeUnpin for FixedPointResult
impl UnwindSafe for FixedPointResult
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<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>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
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
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.