16 #ifndef OPENKALMAN_OBJECT_TRAITS_TENSOR_BASE_HPP 17 #define OPENKALMAN_OBJECT_TRAITS_TENSOR_BASE_HPP 19 #include <type_traits> 26 template<Eigen3::eigen_tensor_general T>
27 struct 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>{};
constexpr auto count_indices(const T &)
Get the number of indices necessary to address all the components of an indexible object...
Definition: count_indices.hpp:51
Trait object providing get and set routines for Eigen tensors.
Definition: eigen-tensor-forward-declarations.hpp:114
Definition: eigen-forward-declarations.hpp:22