16 #ifndef OPENKALMAN_EIGEN_TRAITS_TRANSPOSE_HPP 17 #define OPENKALMAN_EIGEN_TRAITS_TRANSPOSE_HPP 19 #include <type_traits> 24 template<
typename MatrixType>
30 using Xpr = Eigen::Transpose<MatrixType>;
35 template<
typename Arg>
38 return std::forward<Arg>(arg).nestedExpression();
42 template<
typename Arg>
43 static constexpr
auto get_constant(
const Arg& arg)
49 template<
typename Arg>
50 static constexpr
auto get_constant_diagonal(
const Arg& arg)
52 return constant_diagonal_value {arg.nestedExpression()};
56 template<applicability b>
57 static constexpr
bool one_dimensional = OpenKalman::one_dimensional<MatrixType, b>;
60 template<applicability b>
61 static constexpr
bool is_square = square_shaped<MatrixType, b>;
64 template<triangle_type t>
65 static constexpr
bool triangle_type_value = diagonal_matrix<MatrixType> or
70 static constexpr
bool is_triangular_adapter =
false;
73 static constexpr
bool is_hermitian = hermitian_matrix<MatrixType, applicability::permitted>;
76 static constexpr data_layout layout = layout_of_v<MatrixType>;
constexpr bool one_dimensional
Specifies that a type is one-dimensional in every index.
Definition: one_dimensional.hpp:56
Definition: basics.hpp:41
A lower-left triangular matrix.
Definition: eigen-comma-initializers.hpp:20
Definition: object_traits.hpp:38
Trait object providing get and set routines.
Definition: eigen-forward-declarations.hpp:502
An upper-right triangular matrix.
constexpr auto constant_value(T &&t)
The constant value associated with a constant_object or constant_diagonal_object. ...
Definition: constant_value.hpp:37
decltype(auto) constexpr nested_object(Arg &&arg)
Retrieve a nested object of Arg, if it exists.
Definition: nested_object.hpp:35