10 #ifndef EIGEN_ARRAYWRAPPER_H
11 #define EIGEN_ARRAYWRAPPER_H
29 template<
typename ExpressionType>
30 struct traits<ArrayWrapper<ExpressionType> >
31 :
public traits<remove_all_t<typename ExpressionType::Nested> >
33 typedef ArrayXpr XprKind;
36 Flags0 = traits<remove_all_t<typename ExpressionType::Nested> >::Flags,
37 LvalueBitFlag = is_lvalue<ExpressionType>::value ?
LvalueBit : 0,
43 template<
typename ExpressionType>
52 typedef
std::conditional_t<
91 template<
typename Dest>
127 template<
typename ExpressionType>
129 :
public traits<remove_all_t<typename ExpressionType::Nested> >
134 Flags0 = traits<remove_all_t<typename ExpressionType::Nested> >::Flags,
135 LvalueBitFlag = is_lvalue<ExpressionType>::value ?
LvalueBit : 0,
141 template<
typename ExpressionType>
150 typedef
std::conditional_t<
#define EIGEN_DEVICE_FUNC
#define EIGEN_DENSE_PUBLIC_INTERFACE(Derived)
#define EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Derived)
Base class for all 1D and 2D array, and related expressions.
MatrixWrapper< ArrayWrapper< ExpressionType > > matrix()
Expression of a mathematical vector or matrix as an array object.
NestedExpressionType m_expression
EIGEN_CONSTEXPR Index outerStride() const EIGEN_NOEXCEPT
ScalarWithConstIfNotLvalue * data()
void resize(Index rows, Index cols)
void resize(Index newSize)
const internal::remove_all_t< NestedExpressionType > & nestedExpression() const
EIGEN_CONSTEXPR Index cols() const EIGEN_NOEXCEPT
const Scalar * data() const
EIGEN_CONSTEXPR Index rows() const EIGEN_NOEXCEPT
const Scalar & coeffRef(Index rowId, Index colId) const
EIGEN_CONSTEXPR Index innerStride() const EIGEN_NOEXCEPT
internal::ref_selector< ExpressionType >::non_const_type NestedExpressionType
ArrayBase< ArrayWrapper > Base
void evalTo(Dest &dst) const
std::conditional_t< internal::is_lvalue< ExpressionType >::value, Scalar, const Scalar > ScalarWithConstIfNotLvalue
const Scalar & coeffRef(Index index) const
internal::remove_all_t< ExpressionType > NestedExpression
internal::traits< Derived >::Scalar Scalar
CoeffReturnType value() const
Base class for all dense matrices, vectors, and expressions.
MatrixBase< MatrixWrapper< ExpressionType > > & matrix()
Expression of an array as a mathematical vector or matrix.
ScalarWithConstIfNotLvalue * data()
const Scalar * data() const
EIGEN_CONSTEXPR Index cols() const EIGEN_NOEXCEPT
MatrixBase< MatrixWrapper< ExpressionType > > Base
void resize(Index newSize)
const internal::remove_all_t< NestedExpressionType > & nestedExpression() const
const Scalar & coeffRef(Index index) const
void resize(Index rows, Index cols)
EIGEN_CONSTEXPR Index rows() const EIGEN_NOEXCEPT
internal::remove_all_t< ExpressionType > NestedExpression
const Scalar & coeffRef(Index rowId, Index colId) const
EIGEN_CONSTEXPR Index outerStride() const EIGEN_NOEXCEPT
NestedExpressionType m_expression
EIGEN_CONSTEXPR Index innerStride() const EIGEN_NOEXCEPT
internal::ref_selector< ExpressionType >::non_const_type NestedExpressionType
std::conditional_t< internal::is_lvalue< ExpressionType >::value, Scalar, const Scalar > ScalarWithConstIfNotLvalue
const unsigned int LvalueBit
typename remove_all< T >::type remove_all_t
const unsigned int NestByRefBit
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Eigen::Index Index
The interface type of indices.