16 #ifndef OPENKALMAN_TO_EUCLIDEAN_HPP 17 #define OPENKALMAN_TO_EUCLIDEAN_HPP 32 template<indexible Arg>
35 template<
typename Arg, std::enable_if_t<indexible<Arg>,
int> = 0>
36 constexpr decltype(
auto)
42 return std::forward<Arg>(arg);
44 else if constexpr (interface::to_euclidean_defined_for<Arg, Arg&&>)
57 #endif //OPENKALMAN_TO_EUCLIDEAN_HPP Definition for coordinates::euclidean_pattern.
Definition for vector_space_descriptor_of.
constexpr bool indexible
T is a generalized tensor type.
Definition: indexible.hpp:32
ToEuclideanExpr and related definitions.
The root namespace for OpenKalman.
Definition: basics.hpp:34
An interface to various routines from the linear algebra library associated with indexible object T...
Definition: library_interface.hpp:37
An expression that transforms vector space descriptors into Euclidean space for application of direct...
Definition: forward-class-declarations.hpp:384
decltype(auto) constexpr to_euclidean(Arg &&arg)
Project the vector space associated with index 0 to a Euclidean space for applying directional statis...
Definition: to_euclidean.hpp:38
typename vector_space_descriptor_of< T, N >::type vector_space_descriptor_of_t
helper template for vector_space_descriptor_of.
Definition: vector_space_descriptor_of.hpp:56
Definition for indexible.
Concepts for testing whether library_interface functions are defined for a particular object...