EmrysFilter 0.1.0
State estimation utilities in C++23 using Eigen
Loading...
Searching...
No Matches
SampleSet.h
Go to the documentation of this file.
1#pragma once
2
9
12
13namespace Emrys
14{
15
32template <typename Space, typename Scalar = double>
33using SampleSet = Eigen::Matrix<
34 Scalar,
36 Eigen::Dynamic,
37 (maxValueDimensionAtCompileTime<Space> == 1 ? Eigen::RowMajor : Eigen::ColMajor),
39 Eigen::Dynamic>;
40
49template <typename Space, typename Scalar = double>
50using SampleSetMap = Eigen::Map<SampleSet<Space, Scalar>>;
51
59template <typename Space, typename Scalar = double>
60using ConstSampleSetMap = Eigen::Map<SampleSet<Space, Scalar> const>;
61
62} // namespace Emrys
The macros every header includes first.
The Space concept and what every continuous space shares (decisions.md [sizes-and-dimensions]): the t...
Eigen::Matrix< Scalar, valueDimensionAtCompileTime< Space >, Eigen::Dynamic,(maxValueDimensionAtCompileTime< Space >==1 ? Eigen::RowMajor :Eigen::ColMajor), maxValueDimensionAtCompileTime< Space >, Eigen::Dynamic > SampleSet
A matrix whose columns are samples in Space (see Spaces), with the space's size and storage bound.
Definition SampleSet.h:33
Eigen::Map< SampleSet< Space, Scalar > > SampleSetMap
A writable view of samples in Space, one per column, over memory it does not own, laid out as a Sampl...
Definition SampleSet.h:50
Eigen::Map< SampleSet< Space, Scalar > const > ConstSampleSetMap
A read-only view of samples in Space, one per column, over memory it does not own,...
Definition SampleSet.h:60
constexpr int valueDimensionAtCompileTime
The value dimension of Space at compile time, or Eigen::Dynamic if it is resizable.
Definition Space.h:251
constexpr int maxValueDimensionAtCompileTime
The largest valid value dimension of Space, or Eigen::Dynamic if it is unbounded.
Definition Space.h:258