17 #ifndef OPENKALMAN_NOT_MORE_FIXED_THAN_HPP 18 #define OPENKALMAN_NOT_MORE_FIXED_THAN_HPP 23 #if not defined(__cpp_concepts) or __cpp_generic_lambdas < 201707L 26 template<
typename T,
typename Descriptors, std::size_t...Ix>
27 static constexpr
bool not_more_fixed_than_impl(std::index_sequence<Ix...>)
29 return (... and (dynamic_dimension<T, Ix> or fixed_pattern<std::tuple_element_t<Ix, Descriptors>>));
38 template<
typename T,
typename Descriptors>
39 #if defined(__cpp_concepts) and __cpp_generic_lambdas >= 201707L 41 indexible<T> and pattern_collection<Descriptors> and
42 (not pattern_tuple<Descriptors> or
43 []<std::size_t...Ix>(std::index_sequence<Ix...>)
44 {
return (... and (dynamic_dimension<T, Ix> or fixed_pattern<std::tuple_element_t<Ix, Descriptors>>)); }
45 (std::make_index_sequence<std::tuple_size_v<Descriptors>>{}));
47 constexpr
bool not_more_fixed_than =
48 indexible<T> and pattern_collection<Descriptors> and
49 (not pattern_tuple<Descriptors> or
50 detail::not_more_fixed_than_impl<T, Descriptors>(std::make_index_sequence<std::tuple_size_v<Descriptors>>{}));
55 #endif //OPENKALMAN_NOT_MORE_FIXED_THAN_HPP constexpr bool not_more_fixed_than
indexible T's vector space descriptors are not more fixed than the specified vectors_space_descriptor...
Definition: not_more_fixed_than.hpp:47
Definition: basics.hpp:48