Trait probability::distribution::Entropy [] [src]

pub trait Entropy: Distribution {
    fn entropy(&self) -> f64;
}

A distribution capable of computing the differential entropy.

Required Methods

fn entropy(&self) -> f64

Compute the differential entropy.

The entropy is computed in nats.

Implementors