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<triangle_type t>
75 static constexpr
bool is_triangular_adapter =
false;
constexpr bool one_dimensional
Specifies that a type is one-dimensional in every index.
Definition: one_dimensional.hpp:56
Definition: basics.hpp:41
Definition: eigen-forward-declarations.hpp:32
Definition: eigen-comma-initializers.hpp:20
decltype(auto) constexpr get_pattern_collection(T &&t)
Get the coordinates::pattern_collection associated with indexible object T.
Definition: get_pattern_collection.hpp:59
Trait object providing get and set routines for Eigen tensors.
Definition: eigen-tensor-forward-declarations.hpp:114
Definition: object_traits.hpp:38
decltype(auto) constexpr nested_object(Arg &&arg)
Retrieve a nested object of Arg, if it exists.
Definition: nested_object.hpp:35