pub struct NormalSpec { /* private fields */ }Expand description
Typed normal model specification.
Implementations§
Source§impl NormalSpec
impl NormalSpec
Sourcepub fn mu(self, terms: impl Into<TermExpr>) -> Self
pub fn mu(self, terms: impl Into<TermExpr>) -> Self
Sets terms for the first distribution parameter.
Sourcepub fn sigma(self, terms: impl Into<TermExpr>) -> Self
pub fn sigma(self, terms: impl Into<TermExpr>) -> Self
Sets terms for the second distribution parameter.
Sourcepub fn build<'a, D>(&self, data: &'a D) -> Result<BuiltNormal<'a>, FormulaError>
pub fn build<'a, D>(&self, data: &'a D) -> Result<BuiltNormal<'a>, FormulaError>
Builds a typed core model plus formula metadata.
Trait Implementations§
Source§impl Clone for NormalSpec
impl Clone for NormalSpec
Source§fn clone(&self) -> NormalSpec
fn clone(&self) -> NormalSpec
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§impl Debug for NormalSpec
impl Debug for NormalSpec
Source§impl Default for NormalSpec
impl Default for NormalSpec
Source§impl PartialEq for NormalSpec
impl PartialEq for NormalSpec
Source§fn eq(&self, other: &NormalSpec) -> bool
fn eq(&self, other: &NormalSpec) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NormalSpec
Auto Trait Implementations§
impl Freeze for NormalSpec
impl RefUnwindSafe for NormalSpec
impl Send for NormalSpec
impl Sync for NormalSpec
impl Unpin for NormalSpec
impl UnsafeUnpin for NormalSpec
impl UnwindSafe for NormalSpec
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