16 #ifndef OPENKALMAN_ONE_DIMENSIONAL_HPP 17 #define OPENKALMAN_ONE_DIMENSIONAL_HPP 30 return (... and (dimension_size_of_index_is<T, is, 1, &stdex::is_eq, b>));
34 template<
typename T, applicability b>
36 one_dimensional_impl()
38 if constexpr (not indexible<T>)
40 else if constexpr (index_count_v<T> == stdex::dynamic_extent)
43 return detail::one_dimensional_fixed_index_count<T, b>(std::make_index_sequence<index_count_v<T>>{});
52 template<
typename T, applicability b = applicability::guaranteed>
56 constexpr
inline bool one_dimensional =
59 detail::one_dimensional_impl<T, b>();
constexpr bool one_dimensional
Specifies that a type is one-dimensional in every index.
Definition: one_dimensional.hpp:56
applicability
The applicability of a concept, trait, or restraint.
Definition: constants.hpp:35
The concept, trait, or restraint is permitted, but whether it applies is not necessarily known at com...
Definition for dimension_size_of_index_is.
The root namespace for OpenKalman.
Definition: basics.hpp:34
Definition for index_count.
Definition: trait_backports.hpp:64