pub trait MathFuncs {
// Required methods
fn exp(&self) -> Self;
fn log(&self) -> Self;
fn norm_cdf(&self) -> Self;
fn inv_norm_cdf(&self) -> Self;
}
Expand description
Functions for common mathematical operations.
Required Methods§
Sourcefn norm_cdf(&self) -> Self
fn norm_cdf(&self) -> Self
Return the standard normal cumulative distribution function of a value.
Sourcefn inv_norm_cdf(&self) -> Self
fn inv_norm_cdf(&self) -> Self
Return the inverse standard normal cumulative distribution function of a value.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.