16 #ifndef OPENKALMAN_INDEXIBLE_OBJECT_TRAITS_TENSOR_BASE_HPP 17 #define OPENKALMAN_INDEXIBLE_OBJECT_TRAITS_TENSOR_BASE_HPP 19 #include <type_traits> 26 template<Eigen3::eigen_tensor_general T>
27 struct indexible_object_traits_tensor_base<T>
33 using scalar_type =
typename Eigen::internal::traits<T>::Scalar;
36 template<
typename Arg>
40 return std::integral_constant<std::size_t, Eigen::internal::traits<T>::NumDimensions>{};
49 #endif //OPENKALMAN_INDEXIBLE_OBJECT_TRAITS_TENSOR_BASE_HPP constexpr auto count_indices(const T &t)
Get the number of indices available to address the components of an indexible object.
Definition: count_indices.hpp:33
Definition: tuple_reverse.hpp:103
Trait object providing get and set routines for Eigen tensors.
Definition: eigen-tensor-forward-declarations.hpp:114
Definition: eigen-forward-declarations.hpp:22