16 #ifndef OPENKALMAN_EIGEN_TRAITS_MAP_HPP 17 #define OPENKALMAN_EIGEN_TRAITS_MAP_HPP 19 #include <type_traits> 24 template<
typename PlainObjectType,
int MapOptions,
typename Str
ideType>
30 using Xpr = Eigen::Map<PlainObjectType, MapOptions, StrideType>;
35 template<
typename Arg>
38 return *std::forward<Arg>(arg).data();
47 static constexpr data_layout layout = std::is_same_v<StrideType, Eigen::Stride<0, 0>> ? layout_of_v<PlainObjectType> : data_layout::stride;
Definition: basics.hpp:41
Definition: eigen-comma-initializers.hpp:20
Definition: object_traits.hpp:38
Trait object providing get and set routines.
Definition: eigen-forward-declarations.hpp:502
decltype(auto) constexpr nested_object(Arg &&arg)
Retrieve a nested object of Arg, if it exists.
Definition: nested_object.hpp:35