EmrysFilter 0.1.0
State estimation utilities in C++23 using Eigen
Loading...
Searching...
No Matches
Emrys::Factors< Placed > Class Template Reference

The factors of a product, each placed by tag path with on() or onEach(), in no space yet: a Product once placed in one (decisions.md [product-factors]). More...

#include <EmrysFilter/Distributions/Product.h>

Public Member Functions

 Factors (Placed... placed)
 The factors placed.
std::tuple< Placed... > const & placed () const

Detailed Description

template<typename... Placed>
class Emrys::Factors< Placed >

The factors of a product, each placed by tag path with on() or onEach(), in no space yet: a Product once placed in one (decisions.md [product-factors]).

Paths name blocks by type, so the factors fit every instance of a space type, whatever its counts. Product{space, factors} places them in one instance, resolving each path's coordinates and each onEach()'s count there. It is not a distribution, since without sizes it has no density. Additive measurement noise may be given as one (see additiveNoise()), and an update places it in each measurement's space.

auto const landmarks = Factors{onEach<Landmarks>(GaussianParams<Landmark>{zero, P})};
auto const prior = Product{space, landmarks}; // I (x) P over space's count of landmarks
Factors(Placed... placed)
The factors placed.
Definition Product.h:703
A Gaussian distribution: a mean and covariance in a space.
Definition Gaussian.h:259
auto onEach(Model const &model, Renames const &...)
Definition Placement.h:1138
Template Parameters
Placedthe factors, as on() and onEach() return them, in order
See also
class Product, on(), onEach()

Member Function Documentation

◆ placed()

template<typename... Placed>
std::tuple< Placed... > const & Emrys::Factors< Placed >::placed ( ) const
inlinenodiscard
Returns
the factors, as placed by path

The documentation for this class was generated from the following file: