Module rv::data[][src]

Expand description

Data utilities

Structs

BernoulliSuffStat

Sufficient statistic for the Bernoulli distribution.

CategoricalSuffStat

Categorical distribution sufficient statistic.

GaussianSuffStat

Gaussian sufficient statistic.

InvGaussianSuffStat

Gaussian sufficient statistic.

MvGaussianSuffStat
Partition
PoissonSuffStat

Poisson sufficient statistic.

Enums

DataOrSuffStat

Holds either a sufficient statistic of a vector of data.

Traits

Booleable

Converts to and from a bool

CategoricalDatum

The trait that data must implemented by all data used with the Categorical distribution

Functions

extract_stat

Convert a DataOrSuffStat into a Stat

extract_stat_then

Convert a DataOrSuffStat into a Stat then do something with it

Type Definitions

BernoulliData
CategoricalData
GaussianData
InvGaussianData
PoissonData