EmrysFilter 0.1.0
State estimation utilities in C++23 using Eigen
Loading...
Searching...
No Matches
UniformMixture.h File Reference

uniformComponents(): equal-weight Gaussian components on a regular grid that approximate a Uniform, alone or as factors of a Product whose other factors are Gaussian [uniform-mixtures], given one at a time as a UniformGrid, which GaussianMixtureParams::assign() takes. More...

#include <concepts>
#include <cstddef>
#include <tuple>
#include <type_traits>
#include <utility>
#include <EmrysFilter/Core/Execution.h>
#include <EmrysFilter/Core/Macros.h>
#include <EmrysFilter/Core/Math.h>
#include <EmrysFilter/Distributions/Component.h>
#include <EmrysFilter/Distributions/Mixture.h>
#include <EmrysFilter/Distributions/Moments.h>
#include <EmrysFilter/Distributions/Product.h>
#include <EmrysFilter/Distributions/Uniform.h>
#include <EmrysFilter/Spaces/Indexing.h>
#include <EmrysFilter/Spaces/Space.h>

Go to the source code of this file.

Classes

class  Emrys::UniformGrid< Space_, Scalar_ >
 The equal-weight components of a grid over some coordinates of a space, made one at a time when read: what uniformComponents() returns. More...
struct  Emrys::UniformGrid< Space_, Scalar_ >::Element
 One component: its log-weight and its mean and covariance. More...

Functions

template<Space S, RealScalar Scalar, typename CountsDerived>
requires std::integral<typename CountsDerived::Scalar>
UniformGrid< S, Scalar > Emrys::uniformComponents (Uniform< S, Scalar > const &uniform, Eigen::DenseBase< CountsDerived > const &counts, std::type_identity_t< Scalar > relativeWidth=Scalar(0.6))
template<Space S, RealScalar Scalar>
UniformGrid< S, Scalar > Emrys::uniformComponents (Uniform< S, Scalar > const &uniform, Eigen::Index count, std::type_identity_t< Scalar > relativeWidth=Scalar(0.6))
 uniformComponents() with count components along every coordinate.
template<Space S, RealScalar Scalar, typename... Factors, typename CountsDerived>
requires std::integral<typename CountsDerived::Scalar>
UniformGrid< S, Scalar > Emrys::uniformComponents (Product< S, Scalar, Factors... > const &product, Eigen::DenseBase< CountsDerived > const &counts, std::type_identity_t< Scalar > relativeWidth=Scalar(0.6))
template<Space S, RealScalar Scalar, typename... Factors>
UniformGrid< S, Scalar > Emrys::uniformComponents (Product< S, Scalar, Factors... > const &product, Eigen::Index count, std::type_identity_t< Scalar > relativeWidth=Scalar(0.6))
 uniformComponents() of a Product with count components along every coordinate of its Uniform factors.

Detailed Description

uniformComponents(): equal-weight Gaussian components on a regular grid that approximate a Uniform, alone or as factors of a Product whose other factors are Gaussian [uniform-mixtures], given one at a time as a UniformGrid, which GaussianMixtureParams::assign() takes.

Read Hybrid.h next.