OpenKalman
Public Member Functions | List of all members
OpenKalman::coordinates::Dimensions< N > Struct Template Reference

A structure representing the dimensions associated with of a particular index. More...

#include <Dimensions.hpp>

Public Member Functions

constexpr Dimensions ()=default
 Default constructor.
 
template<typename D , std::enable_if_t<(not std::is_same_v< std::decay_t< D >, Dimensions >) and((euclidean_pattern< D > and fixed_pattern< D > and dimension_of< D >::value==N) or dynamic_pattern< D >), int > = 0>
constexpr Dimensions (D &&d)
 Constructor, taking a static coordinates::euclidean_pattern.
 
template<typename Int >
constexpr operator std::integral_constant< Int, N > ()
 
template<typename Int , std::enable_if_t< std::is_integral_v< Int >, int > = 0>
constexpr operator Int ()
 

Detailed Description

template<std::size_t N = dynamic_size>
struct OpenKalman::coordinates::Dimensions< N >

A structure representing the dimensions associated with of a particular index.

The dimension may or may not be known at compile time. If unknown at compile time, the size is set at the time of construction and cannot be modified thereafter.

Template Parameters
NThe dimension (or dynamic_size, if not known at compile time)

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