pub struct ResidualStats {
pub n: usize,
pub mean_relative: f64,
pub rms_relative: f64,
pub mean_absolute_ev_1e15_cm2: f64,
pub rms_absolute_ev_1e15_cm2: f64,
}Expand description
Statistics of model - measured over a set of points.
Signs follow super::dataset::PointResidual: positive when the model is
above the measurement. With no points the statistics are NaN.
Fields§
§n: usizeNumber of points.
mean_relative: f64Mean of model / measured - 1.
rms_relative: f64Root mean square of model / measured - 1.
mean_absolute_ev_1e15_cm2: f64Mean of model - measured, eV·10⁻¹⁵ cm².
rms_absolute_ev_1e15_cm2: f64Root mean square of model - measured, eV·10⁻¹⁵ cm².
Implementations§
Trait Implementations§
Source§impl Clone for ResidualStats
impl Clone for ResidualStats
Source§fn clone(&self) -> ResidualStats
fn clone(&self) -> ResidualStats
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 ResidualStats
Source§impl Debug for ResidualStats
impl Debug for ResidualStats
Source§impl PartialEq for ResidualStats
impl PartialEq for ResidualStats
impl StructuralPartialEq for ResidualStats
Auto Trait Implementations§
impl Freeze for ResidualStats
impl RefUnwindSafe for ResidualStats
impl Send for ResidualStats
impl Sync for ResidualStats
impl Unpin for ResidualStats
impl UnsafeUnpin for ResidualStats
impl UnwindSafe for ResidualStats
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