17 #ifndef OPENKALMAN_BEST_VECTOR_SPACE_DESCRIPTOR_HPP 18 #define OPENKALMAN_BEST_VECTOR_SPACE_DESCRIPTOR_HPP 28 template<coordinates::pattern D, coordinates::pattern...Ds> requires (... and compares_with<D, Ds, equal_to<>,
Applicability::permitted>)
30 template<
typename D,
typename...Ds, std::enable_if_t<(... and compares_with<D, Ds, equal_to<>,
Applicability::permitted>),
int> = 0>
34 if constexpr (
sizeof...(Ds) == 0)
return std::forward<D>(d);
35 else if constexpr (fixed_pattern<D>)
return std::forward<D>(d);
42 #endif //OPENKALMAN_BEST_VECTOR_SPACE_DESCRIPTOR_HPP Definition for compares_with.
decltype(auto) constexpr best_vector_space_descriptor(D &&d, Ds &&...ds)
Given one or more /ref coordinates::pattern objects, return the "best" one (i.e., the one that is sta...
Definition: best_vector_space_descriptor.hpp:32
The concept, trait, or restraint is permitted, but whether it applies is not necessarily known at com...
Definition: basics.hpp:48