Trait tpe::density_estimation::DensityEstimator[][src]

pub trait DensityEstimator: Distribution<f64> {
    fn log_pdf(&self, x: f64) -> f64;
}
Expand description

This trait allows estimating the probability density of a sample and sampling from the function.

Required methods

Estimates the log probability density of a sample.

Implementors