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