17 #ifndef OPENKALMAN_UNIFORM_FIXED_VECTOR_SPACE_DESCRIPTOR_QUERY_HPP 18 #define OPENKALMAN_UNIFORM_FIXED_VECTOR_SPACE_DESCRIPTOR_QUERY_HPP 20 #include <type_traits> 34 template<
typename C,
typename =
void>
40 template<descriptor C> requires
41 (dimension_of_v<C> == 1) and (not euclidean_pattern<C>)
46 (dimension_of_v<C> == 1) and (not euclidean_pattern<C>)>>
48 : std::true_type {
using uniform_type = C; };
52 template<eucl
idean_pattern C> requires
53 (dynamic_pattern<C> or descriptor<C>) and (dimension_of_v<C> != 0)
58 (dynamic_pattern<C> or descriptor<C>) and (dimension_of_v<C> != 0)>>
64 template<
typename C> requires (dimension_of_v<C> == 1)
78 template<typename C, typename...Cs>
80 descriptor<C> and (... and fixed_pattern<Cs>) and (dimension_of_v<C> == 1) and
81 (sizeof...(Cs) > 0) and compares_with<C, typename uniform_static_vector_space_descriptor_query<std::tuple<Cs...>>::uniform_type>>>
83 : std::true_type {
using uniform_type = C; };
87 #endif //OPENKALMAN_UNIFORM_FIXED_VECTOR_SPACE_DESCRIPTOR_QUERY_HPP Definition for coordinates::euclidean_pattern.
constexpr bool compares_with
Specifies that a set of coordinates::pattern objects may be equivalent based on what is known at comp...
Definition: compares_with.hpp:103
Definition: get_component_start_indices.hpp:29
Definition for coordinates::dynamic_pattern.
Definition for compares_with.
Definition: tuple_reverse.hpp:103
Definition for coordinates::fixed_pattern.
Definition for coordinates::descriptor.
constexpr bool descriptor
T is an atomic (non-separable or non-composite) grouping of coordinates::pattern objects.
Definition: descriptor.hpp:30
A structure representing the dimensions associated with of a particular index.
Definition: Dimensions.hpp:42
constexpr bool fixed_pattern
A coordinates::pattern for which the size is fixed at compile time.
Definition: fixed_pattern.hpp:47
Definition for coordinates::dimension_of.