|
EmrysFilter 0.1.0
State estimation utilities in C++23 using Eigen
|
Params and Density: the traits that pair a distribution's parameters with its density, the type that evaluates it (decisions.md [params-and-density]). More...
Go to the source code of this file.
Classes | |
| struct | Emrys::ParamsOf< D > |
The parameters of the density D, as its member ParamsType: the type it borrows from, or what a marginal's copy() returns. More... | |
| struct | Emrys::DensityOf< P > |
The density of the parameters P, as its member DensityType: what its toDensity() returns. More... | |
Typedefs | |
| template<typename D> | |
| using | Emrys::Params = typename ParamsOf<D>::type |
| The parameters of the density D: GaussianParams for a Gaussian, and D itself for a distribution whose values are always valid (decisions.md [params-and-density]). | |
| template<typename P> | |
| using | Emrys::Density = typename DensityOf<P>::type |
| The density of the parameters P: Gaussian for GaussianParams, and P itself for a type that is its own parameters (decisions.md [params-and-density]). | |
Params and Density: the traits that pair a distribution's parameters with its density, the type that evaluates it (decisions.md [params-and-density]).
GaussianParams holds a Gaussian's parameters and Gaussian evaluates its density, so Params<Gaussian<Space>> is GaussianParams<Space> and Density<GaussianParams<Space>> is Gaussian<Space>; a type whose values are always valid, such as Uniform, is both. Filters, mixtures, and hybrids are named by the density and store its Params. Why a distribution has two types is on the page of the Distributions group, under Parameters and densities. Read Moments.h next.