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

Dimension_ plain coordinates, or a resizable run of at most MaxDimension_ of them if Dimension_ is Eigen::Dynamic. More...

#include <EmrysFilter/Spaces/Coordinates.h>

Inheritance diagram for Emrys::Linear< Dimension_, MaxDimension_ >:

Public Member Functions

 Linear (Eigen::Index n)
 n coordinates of a resizable Linear.
Linear difference () const
 The Linear of the same sizes, which a tag derived from this one does not carry.

Static Public Attributes

static constexpr int FixedValueDimension
 the fixed coordinates (see Space)
static constexpr int ValueDimensionStep
 one coordinate per element if resizable
static constexpr int MaxValueDimension = MaxDimension_
 the largest valid size, or Eigen::Dynamic

Friends

bool operator== (Linear const &, Linear const &)=default
 Equal when every stored parameter and size is; a fixed-size Linear is always equal.

Detailed Description

template<int Dimension_ = 1, int MaxDimension_ = Dimension_>
struct Emrys::Linear< Dimension_, MaxDimension_ >

Dimension_ plain coordinates, or a resizable run of at most MaxDimension_ of them if Dimension_ is Eigen::Dynamic.

The default space everywhere: when fixed, an empty type. It has no normalize(), plus(), or minus(), which is what makes it linear, and its difference space is the Linear of its sizes, untagged: a tag's differences are plain coordinates, not values of the tag, so struct Bias : DifferenceSpace<Gyro> {}; declares a difference of the reading's, not a reading.

Member Data Documentation

◆ FixedValueDimension

template<int Dimension_ = 1, int MaxDimension_ = Dimension_>
int Emrys::Linear< Dimension_, MaxDimension_ >::FixedValueDimension
staticconstexpr
Initial value:
=
Dimension_ == Eigen::Dynamic ? 0 : Dimension_

the fixed coordinates (see Space)

◆ ValueDimensionStep

template<int Dimension_ = 1, int MaxDimension_ = Dimension_>
int Emrys::Linear< Dimension_, MaxDimension_ >::ValueDimensionStep
staticconstexpr
Initial value:
=
Dimension_ == Eigen::Dynamic ? 1 : 0

one coordinate per element if resizable


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