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[src]

Compute the differential entropy.

The entropy is computed in nats.

Loading content...

Implementors

impl Entropy for Bernoulli[src]

impl Entropy for Beta[src]

impl Entropy for Binomial[src]

impl Entropy for Categorical[src]

impl Entropy for Exponential[src]

impl Entropy for Gamma[src]

impl Entropy for Gaussian[src]

impl Entropy for Laplace[src]

impl Entropy for Logistic[src]

impl Entropy for Lognormal[src]

impl Entropy for Pert[src]

impl Entropy for Triangular[src]

impl Entropy for Uniform[src]

Loading content...