WPILibC++ 2023.4.3-108-ge5452e3
Eigen::ArrayWrapper< ExpressionType > Class Template Reference

Expression of a mathematical vector or matrix as an array object. More...

#include </home/runner/work/allwpilib/allwpilib/wpimath/src/main/native/thirdparty/eigen/include/Eigen/src/Core/ArrayWrapper.h>

Inheritance diagram for Eigen::ArrayWrapper< ExpressionType >:
Eigen::ArrayBase< ArrayWrapper< ExpressionType > > Eigen::DenseBase< ArrayWrapper< ExpressionType > > Eigen::DenseCoeffsBase< ArrayWrapper< ExpressionType >, internal::accessors_level< ArrayWrapper< ExpressionType > >::value >

Public Types

typedef ArrayBase< ArrayWrapperBase
 
typedef internal::remove_all< ExpressionType >::type NestedExpression
 
typedef internal::conditional< internal::is_lvalue< ExpressionType >::value, Scalar, constScalar >::type ScalarWithConstIfNotLvalue
 
typedef internal::ref_selector< ExpressionType >::non_const_type NestedExpressionType
 
- Public Types inherited from Eigen::ArrayBase< ArrayWrapper< ExpressionType > >
typedef ArrayBase StorageBaseType
 The base class for a given storage type. More...
 
typedef ArrayBase Eigen_BaseClassForSpecializationOfGlobalMathFuncImpl
 
typedef internal::traits< ArrayWrapper< ExpressionType > >::StorageKind StorageKind
 
typedef internal::traits< ArrayWrapper< ExpressionType > >::Scalar Scalar
 
typedef internal::packet_traits< Scalar >::type PacketScalar
 
typedef NumTraits< Scalar >::Real RealScalar
 
typedef DenseBase< ArrayWrapper< ExpressionType > > Base
 
typedef Base::CoeffReturnType CoeffReturnType
 
typedef Base::PlainObject PlainObject
 
typedef CwiseNullaryOp< internal::scalar_constant_op< Scalar >, PlainObjectConstantReturnType
 
- Public Types inherited from Eigen::DenseBase< ArrayWrapper< ExpressionType > >
enum  
 
enum  
 
typedef Eigen::InnerIterator< ArrayWrapper< ExpressionType > > InnerIterator
 Inner iterator type to iterate over the coefficients of a row or column. More...
 
typedef internal::traits< ArrayWrapper< ExpressionType > >::StorageKind StorageKind
 
typedef internal::traits< ArrayWrapper< ExpressionType > >::StorageIndex StorageIndex
 The type used to store indices. More...
 
typedef internal::traits< ArrayWrapper< ExpressionType > >::Scalar Scalar
 The numeric type of the expression' coefficients, e.g. More...
 
typedef Scalar value_type
 The numeric type of the expression' coefficients, e.g. More...
 
typedef NumTraits< Scalar >::Real RealScalar
 
typedef DenseCoeffsBase< ArrayWrapper< ExpressionType >, internal::accessors_level< ArrayWrapper< ExpressionType > >::valueBase
 
typedef Base::CoeffReturnType CoeffReturnType
 
typedef internal::find_best_packet< Scalar, SizeAtCompileTime >::type PacketScalar
 
typedef Matrix< typename internal::traits< ArrayWrapper< ExpressionType > >::Scalar, internal::traits< ArrayWrapper< ExpressionType > >::RowsAtCompileTime, internal::traits< ArrayWrapper< ExpressionType > >::ColsAtCompileTime, AutoAlign|(internal::traits< ArrayWrapper< ExpressionType > >::Flags &RowMajorBit ? RowMajor :ColMajor), internal::traits< ArrayWrapper< ExpressionType > >::MaxRowsAtCompileTime, internal::traits< ArrayWrapper< ExpressionType > >::MaxColsAtCompileTimePlainMatrix
 The plain matrix type corresponding to this expression. More...
 
typedef Array< typename internal::traits< ArrayWrapper< ExpressionType > >::Scalar, internal::traits< ArrayWrapper< ExpressionType > >::RowsAtCompileTime, internal::traits< ArrayWrapper< ExpressionType > >::ColsAtCompileTime, AutoAlign|(internal::traits< ArrayWrapper< ExpressionType > >::Flags &RowMajorBit ? RowMajor :ColMajor), internal::traits< ArrayWrapper< ExpressionType > >::MaxRowsAtCompileTime, internal::traits< ArrayWrapper< ExpressionType > >::MaxColsAtCompileTimePlainArray
 The plain array type corresponding to this expression. More...
 
typedef internal::conditional< internal::is_same< typenameinternal::traits< ArrayWrapper< ExpressionType > >::XprKind, MatrixXpr >::value, PlainMatrix, PlainArray >::type PlainObject
 The plain matrix or array type corresponding to this expression. More...
 
typedef CwiseNullaryOp< internal::scalar_constant_op< Scalar >, PlainObjectConstantReturnType
 
typedef CwiseNullaryOp< internal::linspaced_op< Scalar >, PlainObjectRandomAccessLinSpacedReturnType
 
typedef Matrix< typename NumTraits< typename internal::traits< ArrayWrapper< ExpressionType > >::Scalar >::Real, internal::traits< ArrayWrapper< ExpressionType > >::ColsAtCompileTime, 1 > EigenvaluesReturnType
 
typedef Transpose< ArrayWrapper< ExpressionType > > TransposeReturnType
 
typedef internal::add_const< Transpose< constDerived > >::type ConstTransposeReturnType
 
typedef internal::add_const_on_value_type< typenameinternal::eval< ArrayWrapper< ExpressionType > >::type >::type EvalReturnType
 
typedef VectorwiseOp< ArrayWrapper< ExpressionType >, Horizontal > RowwiseReturnType
 
typedef const VectorwiseOp< const ArrayWrapper< ExpressionType >, Horizontal > ConstRowwiseReturnType
 
typedef VectorwiseOp< ArrayWrapper< ExpressionType >, Vertical > ColwiseReturnType
 
typedef const VectorwiseOp< const ArrayWrapper< ExpressionType >, Vertical > ConstColwiseReturnType
 
typedef CwiseNullaryOp< internal::scalar_random_op< Scalar >, PlainObjectRandomReturnType
 
typedef Reverse< ArrayWrapper< ExpressionType >, BothDirections > ReverseReturnType
 
typedef const Reverse< const ArrayWrapper< ExpressionType >, BothDirections > ConstReverseReturnType
 
typedef internal::conditional<(Flags &DirectAccessBit)==DirectAccessBit, internal::pointer_based_stl_iterator< ArrayWrapper< ExpressionType > >, internal::generic_randaccess_stl_iterator< ArrayWrapper< ExpressionType > > >::type iterator_type
 
typedef internal::conditional<(Flags &DirectAccessBit)==DirectAccessBit, internal::pointer_based_stl_iterator< constDerived >, internal::generic_randaccess_stl_iterator< constDerived > >::type const_iterator_type
 
typedef internal::conditional< IsVectorAtCompileTime, iterator_type, void >::type iterator
 
typedef internal::conditional< IsVectorAtCompileTime, const_iterator_type, void >::type const_iterator
 

Public Member Functions

EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ArrayWrapper (ExpressionType &matrix)
 
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index rows () const EIGEN_NOEXCEPT
 
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index cols () const EIGEN_NOEXCEPT
 
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index outerStride () const EIGEN_NOEXCEPT
 
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index innerStride () const EIGEN_NOEXCEPT
 
EIGEN_DEVICE_FUNC ScalarWithConstIfNotLvaluedata ()
 
EIGEN_DEVICE_FUNC const Scalardata () const
 
EIGEN_DEVICE_FUNC const ScalarcoeffRef (Index rowId, Index colId) const
 
EIGEN_DEVICE_FUNC const ScalarcoeffRef (Index index) const
 
template<typename Dest >
EIGEN_DEVICE_FUNC void evalTo (Dest &dst) const
 
EIGEN_DEVICE_FUNC const internal::remove_all< NestedExpressionType >::typenestedExpression () const
 
EIGEN_DEVICE_FUNC void resize (Index newSize)
 Forwards the resizing request to the nested expression. More...
 
EIGEN_DEVICE_FUNC void resize (Index rows, Index cols)
 Forwards the resizing request to the nested expression. More...
 
- Public Member Functions inherited from Eigen::ArrayBase< ArrayWrapper< ExpressionType > >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ArrayWrapper< ExpressionType > & operator= (const ArrayBase &other)
 Special case of the template operator=, in order to prevent the compiler from generating a default operator= (issue hit with g++ 4.1) More...
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ArrayWrapper< ExpressionType > & operator= (const Scalar &value)
 Set all the entries to value. More...
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ArrayWrapper< ExpressionType > & operator+= (const Scalar &scalar)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ArrayWrapper< ExpressionType > & operator+= (const ArrayBase< OtherDerived > &other)
 replaces *this by *this + other. More...
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ArrayWrapper< ExpressionType > & operator-= (const Scalar &scalar)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ArrayWrapper< ExpressionType > & operator-= (const ArrayBase< OtherDerived > &other)
 replaces *this by *this - other. More...
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ArrayWrapper< ExpressionType > & operator*= (const ArrayBase< OtherDerived > &other)
 replaces *this by *this * other coefficient wise. More...
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ArrayWrapper< ExpressionType > & operator/= (const ArrayBase< OtherDerived > &other)
 replaces *this by *this / other coefficient wise. More...
 
EIGEN_DEVICE_FUNC ArrayBase< ArrayWrapper< ExpressionType > > & array ()
 
EIGEN_DEVICE_FUNC const ArrayBase< ArrayWrapper< ExpressionType > > & array () const
 
EIGEN_DEVICE_FUNC MatrixWrapper< ArrayWrapper< ExpressionType > > matrix ()
 
EIGEN_DEVICE_FUNC const MatrixWrapper< const ArrayWrapper< ExpressionType > > matrix () const
 
- Public Member Functions inherited from Eigen::DenseBase< ArrayWrapper< ExpressionType > >
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index nonZeros () const
 
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index outerSize () const
 
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index innerSize () const
 
EIGEN_DEVICE_FUNC void resize (Index newSize)
 Only plain matrices/arrays, not expressions, may be resized; therefore the only useful resize methods are Matrix::resize() and Array::resize(). More...
 
EIGEN_DEVICE_FUNC void resize (Index rows, Index cols)
 Only plain matrices/arrays, not expressions, may be resized; therefore the only useful resize methods are Matrix::resize() and Array::resize(). More...
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ArrayWrapper< ExpressionType > & operator= (const DenseBase< OtherDerived > &other)
 Copies other into *this. More...
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ArrayWrapper< ExpressionType > & operator= (const DenseBase &other)
 Special case of the template operator=, in order to prevent the compiler from generating a default operator= (issue hit with g++ 4.1) More...
 
EIGEN_DEVICE_FUNC ArrayWrapper< ExpressionType > & operator= (const EigenBase< OtherDerived > &other)
 Copies the generic expression other into *this. More...
 
EIGEN_DEVICE_FUNC ArrayWrapper< ExpressionType > & operator= (const ReturnByValue< OtherDerived > &func)
 
EIGEN_DEVICE_FUNC ArrayWrapper< ExpressionType > & operator+= (const EigenBase< OtherDerived > &other)
 
EIGEN_DEVICE_FUNC ArrayWrapper< ExpressionType > & operator-= (const EigenBase< OtherDerived > &other)
 
EIGEN_DEPRECATED EIGEN_DEVICE_FUNC ArrayWrapper< ExpressionType > & lazyAssign (const DenseBase< OtherDerived > &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ArrayWrapper< ExpressionType > & lazyAssign (const DenseBase< OtherDerived > &other)
 
EIGEN_DEVICE_FUNC CommaInitializer< ArrayWrapper< ExpressionType > > operator<< (const Scalar &s)
 Convenient operator to set the coefficients of a matrix. More...
 
EIGEN_DEVICE_FUNC CommaInitializer< ArrayWrapper< ExpressionType > > operator<< (const DenseBase< OtherDerived > &other)
 
EIGEN_DEPRECATED const ArrayWrapper< ExpressionType > & flagged () const
 
EIGEN_DEVICE_FUNC TransposeReturnType transpose ()
 
EIGEN_DEVICE_FUNC ConstTransposeReturnType transpose () const
 This is the const version of transpose(). More...
 
EIGEN_DEVICE_FUNC void transposeInPlace ()
 This is the "in place" version of transpose(): it replaces *this by its own transpose. More...
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const CwiseNullaryOp< CustomNullaryOp, typename DenseBase< ArrayWrapper< ExpressionType > >::PlainObjectNullaryExpr (Index rows, Index cols, const CustomNullaryOp &func)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const CwiseNullaryOp< CustomNullaryOp, typename DenseBase< ArrayWrapper< ExpressionType > >::PlainObjectNullaryExpr (Index size, const CustomNullaryOp &func)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const CwiseNullaryOp< CustomNullaryOp, typename DenseBase< ArrayWrapper< ExpressionType > >::PlainObjectNullaryExpr (const CustomNullaryOp &func)
 
EIGEN_DEVICE_FUNC void fill (const Scalar &value)
 Alias for setConstant(): sets all coefficients in this expression to val. More...
 
EIGEN_DEVICE_FUNC ArrayWrapper< ExpressionType > & setConstant (const Scalar &value)
 Sets all coefficients in this expression to value val. More...
 
EIGEN_DEVICE_FUNC ArrayWrapper< ExpressionType > & setLinSpaced (Index size, const Scalar &low, const Scalar &high)
 Sets a linearly spaced vector. More...
 
EIGEN_DEVICE_FUNC ArrayWrapper< ExpressionType > & setLinSpaced (const Scalar &low, const Scalar &high)
 Sets a linearly spaced vector. More...
 
EIGEN_DEVICE_FUNC ArrayWrapper< ExpressionType > & setZero ()
 Sets all coefficients in this expression to zero. More...
 
EIGEN_DEVICE_FUNC ArrayWrapper< ExpressionType > & setOnes ()
 Sets all coefficients in this expression to one. More...
 
EIGEN_DEVICE_FUNC ArrayWrapper< ExpressionType > & setRandom ()
 Sets all coefficients in this expression to random values. More...
 
EIGEN_DEVICE_FUNC bool isApprox (const DenseBase< OtherDerived > &other, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
EIGEN_DEVICE_FUNC bool isMuchSmallerThan (const RealScalar &other, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
EIGEN_DEVICE_FUNC bool isMuchSmallerThan (const DenseBase< OtherDerived > &other, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
EIGEN_DEVICE_FUNC bool isMuchSmallerThan (const typename NumTraits< Scalar >::Real &other, const RealScalar &prec) const
 
EIGEN_DEVICE_FUNC bool isApproxToConstant (const Scalar &value, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
EIGEN_DEVICE_FUNC bool isConstant (const Scalar &value, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 This is just an alias for isApproxToConstant(). More...
 
EIGEN_DEVICE_FUNC bool isZero (const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
EIGEN_DEVICE_FUNC bool isOnes (const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
bool hasNaN () const
 
bool allFinite () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ArrayWrapper< ExpressionType > & operator*= (const Scalar &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ArrayWrapper< ExpressionType > & operator/= (const Scalar &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EvalReturnType eval () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void swap (const DenseBase< OtherDerived > &other)
 swaps *this with the expression other. More...
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void swap (PlainObjectBase< OtherDerived > &other)
 swaps *this with the matrix or array other. More...
 
EIGEN_DEVICE_FUNC const NestByValue< ArrayWrapper< ExpressionType > > nestByValue () const
 
EIGEN_DEVICE_FUNC const ForceAlignedAccess< ArrayWrapper< ExpressionType > > forceAlignedAccess () const
 
EIGEN_DEVICE_FUNC ForceAlignedAccess< ArrayWrapper< ExpressionType > > forceAlignedAccess ()
 
EIGEN_DEVICE_FUNC const internal::conditional< Enable, ForceAlignedAccess< ArrayWrapper< ExpressionType > >, ArrayWrapper< ExpressionType > & >::type forceAlignedAccessIf () const
 
EIGEN_DEVICE_FUNC internal::conditional< Enable, ForceAlignedAccess< ArrayWrapper< ExpressionType > >, ArrayWrapper< ExpressionType > & >::type forceAlignedAccessIf ()
 
EIGEN_DEVICE_FUNC Scalar sum () const
 
EIGEN_DEVICE_FUNC Scalar mean () const
 
EIGEN_DEVICE_FUNC Scalar trace () const
 
EIGEN_DEVICE_FUNC Scalar prod () const
 
EIGEN_DEVICE_FUNC internal::traits< ArrayWrapper< ExpressionType > >::Scalar minCoeff () const
 
EIGEN_DEVICE_FUNC internal::traits< ArrayWrapper< ExpressionType > >::Scalar minCoeff () const
 
EIGEN_DEVICE_FUNC internal::traits< ArrayWrapper< ExpressionType > >::Scalar minCoeff (IndexType *row, IndexType *col) const
 
EIGEN_DEVICE_FUNC internal::traits< ArrayWrapper< ExpressionType > >::Scalar minCoeff (IndexType *index) const
 
EIGEN_DEVICE_FUNC internal::traits< ArrayWrapper< ExpressionType > >::Scalar minCoeff (IndexType *row, IndexType *col) const
 
EIGEN_DEVICE_FUNC internal::traits< ArrayWrapper< ExpressionType > >::Scalar minCoeff (IndexType *index) const
 
EIGEN_DEVICE_FUNC internal::traits< ArrayWrapper< ExpressionType > >::Scalar maxCoeff () const
 
EIGEN_DEVICE_FUNC internal::traits< ArrayWrapper< ExpressionType > >::Scalar maxCoeff () const
 
EIGEN_DEVICE_FUNC internal::traits< ArrayWrapper< ExpressionType > >::Scalar maxCoeff (IndexType *row, IndexType *col) const
 
EIGEN_DEVICE_FUNC internal::traits< ArrayWrapper< ExpressionType > >::Scalar maxCoeff (IndexType *index) const
 
EIGEN_DEVICE_FUNC internal::traits< ArrayWrapper< ExpressionType > >::Scalar maxCoeff (IndexType *row, IndexType *col) const
 
EIGEN_DEVICE_FUNC internal::traits< ArrayWrapper< ExpressionType > >::Scalar maxCoeff (IndexType *index) const
 
EIGEN_DEVICE_FUNC Scalar redux (const BinaryOp &func) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE internal::traits< ArrayWrapper< ExpressionType > >::Scalar redux (const Func &func) const
 
EIGEN_DEVICE_FUNC void visit (Visitor &func) const
 Applies the visitor visitor to the whole coefficients of the matrix or vector. More...
 
const WithFormat< ArrayWrapper< ExpressionType > > format (const IOFormat &fmt) const
 
EIGEN_DEVICE_FUNC CoeffReturnType value () const
 
EIGEN_DEVICE_FUNC bool all () const
 
EIGEN_DEVICE_FUNC bool any () const
 
EIGEN_DEVICE_FUNC Index count () const
 
EIGEN_DEVICE_FUNC ConstRowwiseReturnType rowwise () const
 
EIGEN_DEVICE_FUNC RowwiseReturnType rowwise ()
 
EIGEN_DEVICE_FUNC ConstColwiseReturnType colwise () const
 
EIGEN_DEVICE_FUNC ColwiseReturnType colwise ()
 
EIGEN_DEVICE_FUNC const Select< ArrayWrapper< ExpressionType >, ThenDerived, ElseDerived > select (const DenseBase< ThenDerived > &thenMatrix, const DenseBase< ElseDerived > &elseMatrix) const
 
EIGEN_DEVICE_FUNC const Select< ArrayWrapper< ExpressionType >, ThenDerived, typename ThenDerived::ConstantReturnType > select (const DenseBase< ThenDerived > &thenMatrix, const typename ThenDerived::Scalar &elseScalar) const
 Version of DenseBase::select(const DenseBase&, const DenseBase&) with the else expression being a scalar value. More...
 
EIGEN_DEVICE_FUNC const Select< ArrayWrapper< ExpressionType >, typename ElseDerived::ConstantReturnType, ElseDerived > select (const typename ElseDerived::Scalar &thenScalar, const DenseBase< ElseDerived > &elseMatrix) const
 Version of DenseBase::select(const DenseBase&, const DenseBase&) with the then expression being a scalar value. More...
 
RealScalar lpNorm () const
 
EIGEN_DEVICE_FUNC const Replicate< ArrayWrapper< ExpressionType >, RowFactor, ColFactor > replicate () const
 
EIGEN_DEVICE_FUNC const Replicate< ArrayWrapper< ExpressionType >, Dynamic, Dynamic > replicate (Index rowFactor, Index colFactor) const
 
EIGEN_DEVICE_FUNC ReverseReturnType reverse ()
 
EIGEN_DEVICE_FUNC ConstReverseReturnType reverse () const
 This is the const version of reverse(). More...
 
EIGEN_DEVICE_FUNC void reverseInPlace ()
 This is the "in place" version of reverse: it reverses *this. More...
 
iterator begin ()
 returns an iterator to the first element of the 1D vector or array \only_for_vectors More...
 
const_iterator begin () const
 const version of begin() More...
 
const_iterator cbegin () const
 returns a read-only const_iterator to the first element of the 1D vector or array \only_for_vectors More...
 
iterator end ()
 returns an iterator to the element following the last element of the 1D vector or array \only_for_vectors More...
 
const_iterator end () const
 const version of end() More...
 
const_iterator cend () const
 returns a read-only const_iterator to the element following the last element of the 1D vector or array \only_for_vectors More...
 
EIGEN_DEVICE_FUNC void evalTo (Dest &) const
 

Protected Attributes

NestedExpressionType m_expression
 

Additional Inherited Members

- Static Public Member Functions inherited from Eigen::DenseBase< ArrayWrapper< ExpressionType > >
static EIGEN_DEVICE_FUNC const ConstantReturnType Constant (Index rows, Index cols, const Scalar &value)
 
static EIGEN_DEVICE_FUNC const ConstantReturnType Constant (Index size, const Scalar &value)
 
static EIGEN_DEVICE_FUNC const ConstantReturnType Constant (const Scalar &value)
 
EIGEN_DEPRECATED static EIGEN_DEVICE_FUNC const RandomAccessLinSpacedReturnType LinSpaced (Sequential_t, Index size, const Scalar &low, const Scalar &high)
 
EIGEN_DEPRECATED static EIGEN_DEVICE_FUNC const RandomAccessLinSpacedReturnType LinSpaced (Sequential_t, const Scalar &low, const Scalar &high)
 
static EIGEN_DEVICE_FUNC const RandomAccessLinSpacedReturnType LinSpaced (Index size, const Scalar &low, const Scalar &high)
 Sets a linearly spaced vector. More...
 
static EIGEN_DEVICE_FUNC const RandomAccessLinSpacedReturnType LinSpaced (const Scalar &low, const Scalar &high)
 
static EIGEN_DEVICE_FUNC const CwiseNullaryOp< CustomNullaryOp, PlainObjectNullaryExpr (Index rows, Index cols, const CustomNullaryOp &func)
 
static EIGEN_DEVICE_FUNC const CwiseNullaryOp< CustomNullaryOp, PlainObjectNullaryExpr (Index size, const CustomNullaryOp &func)
 
static EIGEN_DEVICE_FUNC const CwiseNullaryOp< CustomNullaryOp, PlainObjectNullaryExpr (const CustomNullaryOp &func)
 
static EIGEN_DEVICE_FUNC const ConstantReturnType Zero (Index rows, Index cols)
 
static EIGEN_DEVICE_FUNC const ConstantReturnType Zero (Index size)
 
static EIGEN_DEVICE_FUNC const ConstantReturnType Zero ()
 
static EIGEN_DEVICE_FUNC const ConstantReturnType Ones (Index rows, Index cols)
 
static EIGEN_DEVICE_FUNC const ConstantReturnType Ones (Index size)
 
static EIGEN_DEVICE_FUNC const ConstantReturnType Ones ()
 
static const RandomReturnType Random (Index rows, Index cols)
 
static const RandomReturnType Random (Index size)
 
static const RandomReturnType Random ()
 
- Public Attributes inherited from Eigen::DenseBase< ArrayWrapper< ExpressionType > >
EIGEN_DEPRECATED typedef CwiseNullaryOp< internal::linspaced_op< Scalar >, PlainObjectSequentialLinSpacedReturnType
 
- Protected Member Functions inherited from Eigen::ArrayBase< ArrayWrapper< ExpressionType > >
ArrayWrapper< ExpressionType > & operator+= (const MatrixBase< OtherDerived > &)
 
ArrayWrapper< ExpressionType > & operator-= (const MatrixBase< OtherDerived > &)
 
- Protected Member Functions inherited from Eigen::DenseBase< ArrayWrapper< ExpressionType > >
EIGEN_DEVICE_FUNC DenseBase ()
 Default constructor. More...
 

Detailed Description

template<typename ExpressionType>
class Eigen::ArrayWrapper< ExpressionType >

Expression of a mathematical vector or matrix as an array object.

This class is the return type of MatrixBase::array(), and most of the time this is the only way it is use.

See also
MatrixBase::array(), class MatrixWrapper

Member Typedef Documentation

◆ Base

template<typename ExpressionType >
typedef ArrayBase<ArrayWrapper> Eigen::ArrayWrapper< ExpressionType >::Base

◆ NestedExpression

template<typename ExpressionType >
typedef internal::remove_all<ExpressionType>::type Eigen::ArrayWrapper< ExpressionType >::NestedExpression

◆ NestedExpressionType

template<typename ExpressionType >
typedef internal::ref_selector<ExpressionType>::non_const_type Eigen::ArrayWrapper< ExpressionType >::NestedExpressionType

◆ ScalarWithConstIfNotLvalue

template<typename ExpressionType >
typedef internal::conditional<internal::is_lvalue<ExpressionType>::value,Scalar,constScalar>::type Eigen::ArrayWrapper< ExpressionType >::ScalarWithConstIfNotLvalue

Constructor & Destructor Documentation

◆ ArrayWrapper()

template<typename ExpressionType >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Eigen::ArrayWrapper< ExpressionType >::ArrayWrapper ( ExpressionType &  matrix)
inlineexplicit

Member Function Documentation

◆ coeffRef() [1/2]

template<typename ExpressionType >
EIGEN_DEVICE_FUNC const Scalar & Eigen::ArrayWrapper< ExpressionType >::coeffRef ( Index  index) const
inline

◆ coeffRef() [2/2]

template<typename ExpressionType >
EIGEN_DEVICE_FUNC const Scalar & Eigen::ArrayWrapper< ExpressionType >::coeffRef ( Index  rowId,
Index  colId 
) const
inline

◆ cols()

template<typename ExpressionType >
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index Eigen::ArrayWrapper< ExpressionType >::cols ( void  ) const
inline

◆ data() [1/2]

template<typename ExpressionType >
EIGEN_DEVICE_FUNC ScalarWithConstIfNotLvalue * Eigen::ArrayWrapper< ExpressionType >::data ( )
inline

◆ data() [2/2]

template<typename ExpressionType >
EIGEN_DEVICE_FUNC const Scalar * Eigen::ArrayWrapper< ExpressionType >::data ( ) const
inline

◆ evalTo()

template<typename ExpressionType >
template<typename Dest >
EIGEN_DEVICE_FUNC void Eigen::ArrayWrapper< ExpressionType >::evalTo ( Dest &  dst) const
inline

◆ innerStride()

template<typename ExpressionType >
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index Eigen::ArrayWrapper< ExpressionType >::innerStride ( ) const
inline

◆ nestedExpression()

template<typename ExpressionType >
EIGEN_DEVICE_FUNC const internal::remove_all< NestedExpressionType >::type & Eigen::ArrayWrapper< ExpressionType >::nestedExpression ( ) const
inline

◆ outerStride()

template<typename ExpressionType >
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index Eigen::ArrayWrapper< ExpressionType >::outerStride ( ) const
inline

◆ resize() [1/2]

template<typename ExpressionType >
EIGEN_DEVICE_FUNC void Eigen::ArrayWrapper< ExpressionType >::resize ( Index  newSize)
inline

Forwards the resizing request to the nested expression.

See also
DenseBase::resize(Index)

◆ resize() [2/2]

template<typename ExpressionType >
EIGEN_DEVICE_FUNC void Eigen::ArrayWrapper< ExpressionType >::resize ( Index  rows,
Index  cols 
)
inline

Forwards the resizing request to the nested expression.

See also
DenseBase::resize(Index,Index)

◆ rows()

template<typename ExpressionType >
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index Eigen::ArrayWrapper< ExpressionType >::rows ( void  ) const
inline

Member Data Documentation

◆ m_expression

template<typename ExpressionType >
NestedExpressionType Eigen::ArrayWrapper< ExpressionType >::m_expression
protected

The documentation for this class was generated from the following file: