pub struct ResidualSummary {
pub n: usize,
pub n_skipped: usize,
pub mean_relative: f64,
pub rms_relative: f64,
pub max_abs_relative: f64,
}Expand description
Summary statistics of the relative residuals of a set of points.
Fields§
§n: usizeNumber of points evaluated.
n_skipped: usizeNumber of points skipped (model error).
mean_relative: f64Mean of PointResidual::relative; NaN when n == 0.
rms_relative: f64Root mean square of PointResidual::relative; NaN when n == 0.
max_abs_relative: f64Largest |relative|; NaN when n == 0.
Trait Implementations§
Source§impl Clone for ResidualSummary
impl Clone for ResidualSummary
Source§fn clone(&self) -> ResidualSummary
fn clone(&self) -> ResidualSummary
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 moreimpl Copy for ResidualSummary
Source§impl Debug for ResidualSummary
impl Debug for ResidualSummary
Source§impl PartialEq for ResidualSummary
impl PartialEq for ResidualSummary
impl StructuralPartialEq for ResidualSummary
Auto Trait Implementations§
impl Freeze for ResidualSummary
impl RefUnwindSafe for ResidualSummary
impl Send for ResidualSummary
impl Sync for ResidualSummary
impl Unpin for ResidualSummary
impl UnsafeUnpin for ResidualSummary
impl UnwindSafe for ResidualSummary
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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