16 #ifndef OPENKALMAN_GET_SINGULAR_COMPONENT_HPP 17 #define OPENKALMAN_GET_SINGULAR_COMPONENT_HPP 29 template<
typename Arg>
30 constexpr decltype(
auto)
31 get_singular_component(Arg&& arg)
34 constexpr std::size_t rank = std::decay_t<decltype(mds)>::rank();
35 return mds[std::array<std::integral_constant<std::size_t, 0>, rank>{}];
constexpr auto get_mdspan(T &t)
Get the coordinates::pattern_collection associated with indexible object T.
Definition: get_mdspan.hpp:35
Definition of count_indices.
Definition for access function.
Definition for index_count.
Definition: basics.hpp:48