Trait compute::distributions::Continuous [−][src]
pub trait Continuous {
type PDFType;
fn pdf(&self, x: Self::PDFType) -> f64;
fn ln_pdf(&self, x: Self::PDFType) -> f64 { ... }
}
Expand description
Provides a trait for interacting with continuous probability distributions.
Associated Types
Required methods
Calculates the probability density
function at some value x
.