OpenKalman
|
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 () |
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.
N | The dimension (or dynamic_size , if not known at compile time) |