16 #ifndef OPENKALMAN_COORDINATES_VIEWS_CONCAT_HPP 17 #define OPENKALMAN_COORDINATES_VIEWS_CONCAT_HPP 33 template<
typename...P, std::enable_if_t<(... and pattern<P>),
int> = 0>
36 operator() (P&&...p)
const 38 if constexpr ((... and euclidean_pattern<P>))
40 else if constexpr ((... and descriptor<P>))
44 if constexpr (descriptor<P>)
return std::array {std::forward<P>(p)};
45 else return std::forward<P>(p);
46 }(std::forward<P>(p))...);
Definition for coordinates::euclidean_pattern.
constexpr detail::concat_adaptor concat
a std::ranges::range_adaptor_closure for a set of concatenated collection objects.
Definition: concat.hpp:196
constexpr bool pattern
An object describing the set of coordinates associated with a tensor index.
Definition: pattern.hpp:31
Definition for coordinates::pattern.
constexpr auto get_dimension(const Arg &arg)
Get the vector dimension of coordinates::pattern Arg.
Definition: get_dimension.hpp:54
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
constexpr detail::concat_adaptor concat
a std::ranges::range_adaptor_closure for a set of concatenated pattern objects.
Definition: concat.hpp:56
Inclusion file for collections.
The namespace for views for coordinates::pattern object.
Definition: coordinates.hpp:51
Definition: concat.hpp:28
Definition for coordinates::get_dimension.
A structure representing the dimensions associated with of a particular index.
Definition: Dimensions.hpp:42
constexpr auto operation(Operation &&op, Args &&...args)
A potentially constant-evaluated operation involving some number of values.
Definition: operation.hpp:98