EmrysFilter 0.1.0
State estimation utilities in C++23 using Eigen
Loading...
Searching...
No Matches
Emrys::ProductFactor Concept Reference

What a Product takes as a factor: a density (HasLogDensity), or parameters that toDensity() checks, such as a GaussianParams, which the product holds and checks itself. More...

#include <EmrysFilter/Distributions/Product.h>

Concept definition

template<typename T>
concept ProductFactor = (HasLogDensity<T> && internal::HasMoments<T>)
|| (internal::CheckedParams<T>
&& internal::HasMoments<typename decltype(std::declval<T const &>().toDensity())::value_type>)
A density: a type that evaluates its log-density at a value in its space, such as a Gaussian,...
Definition Product.h:40
What a Product takes as a factor: a density (HasLogDensity), or parameters that toDensity() checks,...
Definition Product.h:79

Detailed Description

What a Product takes as a factor: a density (HasLogDensity), or parameters that toDensity() checks, such as a GaussianParams, which the product holds and checks itself.

Either way the density must have moments(), from which the product's are made.