EmrysFilter 0.1.0
State estimation utilities in C++23 using Eigen
Loading...
Searching...
No Matches
Emrys::Finite< Cardinality_, MaxCardinality_ > Struct Template Reference

Cardinality_ unnamed values, 0 to Cardinality_ - 1, such as the cells of a grid; or a number set at run time, at most MaxCardinality_, if Cardinality_ is Eigen::Dynamic. More...

#include <EmrysFilter/Spaces/Discrete.h>

Inheritance diagram for Emrys::Finite< Cardinality_, MaxCardinality_ >:

Public Member Functions

constexpr Finite (Eigen::Index n)
 n values of a run-time Finite.

Static Public Attributes

static constexpr int Cardinality = Cardinality_
 the number of values, or Eigen::Dynamic
static constexpr int MaxCardinality = MaxCardinality_
 a bound on it, or Eigen::Dynamic

Friends

bool operator== (Finite const &, Finite const &)=default
 Equal when the cardinalities are; a fixed Finite is always equal.

Detailed Description

template<int Cardinality_, int MaxCardinality_ = Cardinality_>
struct Emrys::Finite< Cardinality_, MaxCardinality_ >

Cardinality_ unnamed values, 0 to Cardinality_ - 1, such as the cells of a grid; or a number set at run time, at most MaxCardinality_, if Cardinality_ is Eigen::Dynamic.

A fixed Finite is an empty type. A run-time one stores its number of values, which is set when it is built and does not change, since a distribution over it has no meaning to give the values it would gain [discrete-spaces]; a default-constructed one has one value.


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