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>{}];
Definition of count_indices.
Definition for access function.
Definition for index_count.
Definition: basics.hpp:48
decltype(auto) constexpr get_mdspan(T &&t)
Get the mdspan associated with indexible object T.
Definition: get_mdspan.hpp:35