16 #ifndef OPENKALMAN_EIGEN_TRAITS_REF_HPP 17 #define OPENKALMAN_EIGEN_TRAITS_REF_HPP 19 #include <type_traits> 24 template<
typename PlainObjectType,
int Options,
typename Str
ideType>
28 template<
typename Arg>
29 static constexpr
auto get_constant(
const Arg& arg)
34 return std::monostate {};
37 template<
typename Arg>
38 static constexpr
auto get_constant_diagonal(
const Arg& arg)
43 return std::monostate {};
47 static constexpr
Layout layout = std::is_same_v<StrideType, Eigen::Stride<0, 0>> ? layout_of_v<PlainObjectType> :
Layout::stride;
54 #endif //OPENKALMAN_EIGEN_TRAITS_REF_HPP Definition: indexible_object_traits.hpp:36
Definition: basics.hpp:41
Trait object providing get and set routines.
Definition: eigen-forward-declarations.hpp:502
Definition: eigen-comma-initializers.hpp:20
The constant associated with T, assuming T is a constant_matrix.
Definition: constant_coefficient.hpp:36
The constant associated with T, assuming T is a constant_diagonal_matrix.
Definition: constant_diagonal_coefficient.hpp:32
A generalization of the above: a custom stride is specified for each index.
Layout
The layout format of a multidimensional array.
Definition: global-definitions.hpp:47
constexpr bool fixed
T is a values::value that is determinable at compile time.
Definition: fixed.hpp:60