|
EmrysFilter 0.1.0
State estimation utilities in C++23 using Eigen
|
Writable access to one entry during forEach(). More...
#include <EmrysFilter/Distributions/Mixture.h>
Public Member Functions | |
| MutableEntry (MutableEntry const &)=delete | |
| lives only inside the callback | |
| MutableEntry & | operator= (MutableEntry const &)=delete |
| Lives only inside the callback. | |
| Scalar | logWeight () const |
| Index | index () const |
| ComponentType const & | component () const |
|
template<typename C> requires std::same_as<std::remove_cvref_t<C>, ComponentType> | |
| void | setComponent (C &&component) |
| Replaces the entry's component with component, which must be in the mixture's space; see MixtureParams::setComponent(). | |
| template<typename F> requires std::invocable<F &, ComponentType &> | |
| decltype(auto) | updateComponent (F &&f) |
| MomentsType const & | moments () const |
| VectorType const & | mean () const |
| MatrixType const & | covarianceLower () const |
|
template<MatrixExpression Mean> requires (isGaussian<ComponentType>) | |
| void | setMean (Mean &&mean) |
| Sets the component's mean; see GaussianParams::setMean(). | |
|
template<MatrixExpression Cov> requires (isGaussian<ComponentType>) | |
| void | setCovariance (Cov &&cov) |
| Sets the component's covariance; see GaussianParams::setCovariance(). | |
| void | setMoments (MomentsType moments) |
| Sets the component's mean and covariance to moments. | |
Writable access to one entry during forEach().
Exists only for the duration of the callback; it cannot be copied or moved. The component's dimensions cannot be changed through it.
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscard |
|
inline |