Trait statrs::distribution::Continuous
source · pub trait Continuous<K, T> {
// Required methods
fn pdf(&self, x: K) -> T;
fn ln_pdf(&self, x: K) -> T;
}
Expand description
The Continuous
trait provides an interface for interacting with
continuous statistical distributions
Remarks
All methods provided by the Continuous
trait are unchecked, meaning
they can panic if in an invalid state or encountering invalid input
depending on the implementing distribution.