16 #ifndef OPENKALMAN_DIMENSION_OF_HPP 17 #define OPENKALMAN_DIMENSION_OF_HPP 19 #include <type_traits> 34 template<
typename T,
typename =
void>
40 template<pattern T> requires requires(T&& t) {
get_dimension(t); }
47 values::fixed<decltype(get_dimension(std::declval<T>()))>,
48 values::fixed_value_of<decltype(get_dimension(std::declval<T>()))>,
49 std::integral_constant<std::size_t, stdex::dynamic_extent>> {};
Header file for code relating to values (e.g., scalars and indices)
constexpr auto dimension_of_v
Helper template for coordinates::dimension_of.
Definition: dimension_of.hpp:56
Definition for coordinates::pattern.
The size of a coordinates::pattern.
Definition: dimension_of.hpp:36
constexpr auto get_dimension(const Arg &arg)
Get the vector dimension of coordinates::pattern Arg.
Definition: get_dimension.hpp:54
The namespace for features relating to coordinates::pattern object.
Definition: compares_with.hpp:25
Definition for coordinates::get_dimension.