17 #ifndef OPENKALMAN_COORDINATE_DESCRIPTOR_TRAITS_HPP 18 #define OPENKALMAN_COORDINATE_DESCRIPTOR_TRAITS_HPP 34 template<
typename T,
typename =
void>
39 is_specialized =
false;
41 #ifdef DOXYGEN_SHOULD_SKIP_THIS 47 dimension = [](
const T&) ->
values::index auto {
return std::integral_constant<std::size_t, 0_uz>{}; };
54 stat_dimension = [](
const T&) noexcept ->
values::index auto {
return std::integral_constant<std::size_t, 0_uz>{}; };
62 is_euclidean = [](
const T&) -> std::convertible_to<bool>
auto {
return std::false_type {}; };
71 hash_code = [](
const T&) -> std::convertible_to<std::size_t> {
return typeid(T).hash_code(); };
107 static constexpr
auto constexpr bool collection
An object describing a collection of objects.
Definition: collection.hpp:32
Definition: basics.hpp:41
decltype(auto) constexpr to_stat_space(const T &t, R &&data_view)
Maps a range reflecting vector-space data to a corresponding range in a vector space for directional ...
Definition: to_stat_space.hpp:44
decltype(auto) constexpr wrap(const T &t, R &&data_view)
wraps a range reflecting vector-space data to its primary range.
Definition: wrap.hpp:59
constexpr detail::all_closure all
a std::ranges::range_adaptor_closure which returns a view to all members of its collection argument...
Definition: all.hpp:72
Inclusion file for collections.
constexpr bool collection_view
A view to a collection which is also a std::ranges:view.
Definition: collection_view.hpp:31
Traits for coordinates::pattern objects.
Definition: coordinate_descriptor_traits.hpp:36
constexpr bool index
T is an index value.
Definition: index.hpp:62
decltype(auto) constexpr from_stat_space(const T &t, R &&stat_data_view)
Maps a range in a vector space for directional-statistics back to a range reflecting vector-space dat...
Definition: from_stat_space.hpp:44