pub struct FloorShares {
pub high: f64,
pub median: f64,
}Expand description
A floor’s error, (reading − truth)/bound, on the calibration set. A floor’s truth may lie any
amount above it, so only its lower side is stated.
Fields§
§high: f64The 95% point: an error higher than this is the truth below the lower end.
median: f64The median: the lower end’s standard error is measured to it.
Implementations§
Sourcepub fn lower_end(self, reading: f64, bound: f64) -> Option<f64>
pub fn lower_end(self, reading: f64, bound: f64) -> Option<f64>
The lower end on reading with its bound, reading − high · bound. None when either
isn’t finite, or the bound isn’t positive.
Sourcepub fn standard_error(self, bound: f64) -> f64
pub fn standard_error(self, bound: f64) -> f64
The lower end’s standard error with bound, the same unit: (high − median) · bound over
the standard normal’s 95% point, as an interval’s width over 2 × 1.645 is.
Trait Implementations§
Source§fn clone(&self) -> FloorShares
fn clone(&self) -> FloorShares
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 moreSource§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§fn eq(&self, other: &FloorShares) -> bool
fn eq(&self, other: &FloorShares) -> bool
Tests for
self and other values to be equal, and is used by ==.Auto Trait Implementations§
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