16 #ifndef OPENKALMAN_EIGEN_TRAITS_TENSORCWISENULLARYOP_HPP 17 #define OPENKALMAN_EIGEN_TRAITS_TENSORCWISENULLARYOP_HPP 22 template<
typename NullaryOp,
typename XprType>
32 template<
typename Arg,
typename N>
39 template<
typename Arg> requires has_dynamic_dimensions<XprType>
41 template<
typename X = XprType,
typename Arg, std::enable_if_t<has_dynamic_dimensions<X>,
int> = 0>
45 return std::forward<Arg>(arg).nestedExpression();
49 template<
typename Arg>
50 static constexpr
auto get_constant(
const Arg& arg)
56 template<
typename Arg>
57 static constexpr
auto get_constant_diagonal(
const Arg& arg)
63 template<Applicability b>
64 static constexpr
bool one_dimensional = OpenKalman::one_dimensional<XprType, b>;
67 template<Applicability b>
68 static constexpr
bool is_square = square_shaped<XprType, b>;
71 template<TriangleType t>
75 static constexpr
bool is_triangular_adapter =
false;
84 #endif //OPENKALMAN_EIGEN_TRAITS_TENSORCWISENULLARYOP_HPP constexpr bool one_dimensional
Specifies that a type is one-dimensional in every index.
Definition: one_dimensional.hpp:83
Definition: indexible_object_traits.hpp:36
Definition: basics.hpp:41
Definition: eigen-forward-declarations.hpp:32
Definition: eigen-comma-initializers.hpp:20
Trait object providing get and set routines for Eigen tensors.
Definition: eigen-tensor-forward-declarations.hpp:114
decltype(auto) constexpr nested_object(Arg &&arg)
Retrieve a nested object of Arg, if it exists.
Definition: nested_object.hpp:34
constexpr auto get_vector_space_descriptor(const T &t, const N &n)
Get the coordinates::pattern object for index N of indexible object T.
Definition: get_vector_space_descriptor.hpp:56