Logo Search packages:      
Sourcecode: eigen3 version File versions  Download package

Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Friends

ArrayWrapper< ExpressionType > Class Template Reference

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

#include <ArrayWrapper.h>

Inheritance diagram for ArrayWrapper< ExpressionType >:
Inheritance graph
[legend]
Collaboration diagram for ArrayWrapper< ExpressionType >:
Collaboration graph
[legend]

List of all members.

Public Types

enum  
enum  
typedef ArrayBase< ArrayWrapperBase
typedef Base::CoeffReturnType CoeffReturnType
typedef Block< ArrayWrapper
< ExpressionType >
, internal::traits
< ArrayWrapper< ExpressionType >
>::RowsAtCompileTime, Dynamic,!IsRowMajor > 
ColsBlockXpr
typedef VectorwiseOp
< ArrayWrapper< ExpressionType >
, Vertical > 
ColwiseReturnType
typedef Block< ArrayWrapper
< ExpressionType >
, internal::traits
< ArrayWrapper< ExpressionType >
>::RowsAtCompileTime,
1,!IsRowMajor > 
ColXpr
typedef internal::conditional
< NumTraits< Scalar >
::IsComplex, const
CwiseUnaryOp
< internal::scalar_conjugate_op
< Scalar >, const ArrayWrapper
< ExpressionType > >, const
ArrayWrapper< ExpressionType >
& >::type 
ConjugateReturnType
typedef CwiseNullaryOp
< internal::scalar_constant_op
< Scalar >, ArrayWrapper
< ExpressionType > > 
ConstantReturnType
typedef const Block< const
ArrayWrapper< ExpressionType >
, internal::traits
< ArrayWrapper< ExpressionType >
>::RowsAtCompileTime, Dynamic,!IsRowMajor > 
ConstColsBlockXpr
typedef const VectorwiseOp
< const ArrayWrapper
< ExpressionType >, Vertical > 
ConstColwiseReturnType
typedef const Block< const
ArrayWrapper< ExpressionType >
, internal::traits
< ArrayWrapper< ExpressionType >
>::RowsAtCompileTime,
1,!IsRowMajor > 
ConstColXpr
typedef const Reverse< const
ArrayWrapper< ExpressionType >
, BothDirections > 
ConstReverseReturnType
typedef const Block< const
ArrayWrapper< ExpressionType >
, Dynamic, internal::traits
< ArrayWrapper< ExpressionType >
>::ColsAtCompileTime,
IsRowMajor > 
ConstRowsBlockXpr
typedef const VectorwiseOp
< const ArrayWrapper
< ExpressionType >, Horizontal > 
ConstRowwiseReturnType
typedef const Block< const
ArrayWrapper< ExpressionType >
, 1, internal::traits
< ArrayWrapper< ExpressionType >
>::ColsAtCompileTime,
IsRowMajor > 
ConstRowXpr
typedef const VectorBlock
< const ArrayWrapper
< ExpressionType > > 
ConstSegmentReturnType
typedef const Transpose< const
ArrayWrapper< ExpressionType > > 
ConstTransposeReturnType
typedef ArrayBase Eigen_BaseClassForSpecializationOfGlobalMathFuncImpl
typedef Matrix< typename
NumTraits< typename
internal::traits< ArrayWrapper
< ExpressionType > >::Scalar >
::Real, internal::traits
< ArrayWrapper< ExpressionType >
>::ColsAtCompileTime, 1 > 
EigenvaluesReturnType
typedef CwiseUnaryOp
< internal::scalar_imag_op
< Scalar >, const ArrayWrapper
< ExpressionType > > 
ImagReturnType
typedef internal::traits
< ArrayWrapper< ExpressionType >
>::Index 
Index
 The type of indices.
typedef internal::nested
< ExpressionType >::type 
NestedExpressionType
typedef CwiseUnaryView
< internal::scalar_imag_ref_op
< Scalar >, ArrayWrapper
< ExpressionType > > 
NonConstImagReturnType
typedef internal::conditional
< NumTraits< Scalar >
::IsComplex, CwiseUnaryView
< internal::scalar_real_ref_op
< Scalar >, ArrayWrapper
< ExpressionType >
>, ArrayWrapper
< ExpressionType > & >::type 
NonConstRealReturnType
typedef
internal::packet_traits
< Scalar >::type 
PacketScalar
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 >
>::MaxColsAtCompileTime > 
PlainObject
typedef CwiseNullaryOp
< internal::linspaced_op
< Scalar, true >, ArrayWrapper
< ExpressionType > > 
RandomAccessLinSpacedReturnType
typedef internal::conditional
< NumTraits< Scalar >
::IsComplex, const
CwiseUnaryOp
< internal::scalar_real_op
< Scalar >, const ArrayWrapper
< ExpressionType > >, const
ArrayWrapper< ExpressionType >
& >::type 
RealReturnType
typedef NumTraits< Scalar >::Real RealScalar
typedef Reverse< ArrayWrapper
< ExpressionType >
, BothDirections > 
ReverseReturnType
typedef Block< ArrayWrapper
< ExpressionType >, Dynamic,
internal::traits< ArrayWrapper
< ExpressionType >
>::ColsAtCompileTime,
IsRowMajor > 
RowsBlockXpr
typedef VectorwiseOp
< ArrayWrapper< ExpressionType >
, Horizontal > 
RowwiseReturnType
typedef Block< ArrayWrapper
< ExpressionType >
, 1, internal::traits
< ArrayWrapper< ExpressionType >
>::ColsAtCompileTime,
IsRowMajor > 
RowXpr
typedef internal::traits
< ArrayWrapper< ExpressionType >
>::Scalar 
Scalar
typedef CwiseUnaryOp
< internal::scalar_multiple_op
< Scalar >, const ArrayWrapper
< ExpressionType > > 
ScalarMultipleReturnType
typedef CwiseUnaryOp
< internal::scalar_quotient1_op
< Scalar >, const ArrayWrapper
< ExpressionType > > 
ScalarQuotient1ReturnType
typedef VectorBlock
< ArrayWrapper< ExpressionType > > 
SegmentReturnType
typedef CwiseNullaryOp
< internal::linspaced_op
< Scalar, false >
, ArrayWrapper< ExpressionType > > 
SequentialLinSpacedReturnType
typedef ArrayBase StorageBaseType
typedef internal::traits
< ArrayWrapper< ExpressionType >
>::StorageKind 
StorageKind

Public Member Functions

EIGEN_STRONG_INLINE const
CwiseUnaryOp
< internal::scalar_abs_op
< Scalar >, const ArrayWrapper
< ExpressionType > > 
abs () const
EIGEN_STRONG_INLINE const
CwiseUnaryOp
< internal::scalar_abs2_op
< Scalar >, const ArrayWrapper
< ExpressionType > > 
abs2 () const
const CwiseUnaryOp
< internal::scalar_acos_op
< Scalar >, const ArrayWrapper
< ExpressionType > > 
acos () const
bool all (void) const
bool any (void) const
ArrayBase< ArrayWrapper
< ExpressionType > > & 
array ()
const ArrayBase< ArrayWrapper
< ExpressionType > > & 
array () const
 ArrayWrapper (const ExpressionType &matrix)
const CwiseUnaryOp
< internal::scalar_asin_op
< Scalar >, const ArrayWrapper
< ExpressionType > > 
asin () const
EIGEN_STRONG_INLINE const
CwiseBinaryOp< CustomBinaryOp,
const ArrayWrapper
< ExpressionType >, const
OtherDerived > 
binaryExpr (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other, const CustomBinaryOp &func=CustomBinaryOp()) const
Block< ArrayWrapper
< ExpressionType > > 
block (Index startRow, Index startCol, Index blockRows, Index blockCols)
const Block< const
ArrayWrapper< ExpressionType > > 
block (Index startRow, Index startCol, Index blockRows, Index blockCols) const
Block< ArrayWrapper
< ExpressionType >, BlockRows,
BlockCols > 
block (Index startRow, Index startCol)
const Block< const
ArrayWrapper< ExpressionType >
, BlockRows, BlockCols > 
block (Index startRow, Index startCol) const
Block< ArrayWrapper
< ExpressionType > > 
bottomLeftCorner (Index cRows, Index cCols)
const Block< const
ArrayWrapper< ExpressionType > > 
bottomLeftCorner (Index cRows, Index cCols) const
Block< ArrayWrapper
< ExpressionType >, CRows,
CCols > 
bottomLeftCorner ()
const Block< const
ArrayWrapper< ExpressionType >
, CRows, CCols > 
bottomLeftCorner () const
Block< ArrayWrapper
< ExpressionType >, CRows,
CCols > 
bottomRightCorner ()
const Block< const
ArrayWrapper< ExpressionType >
, CRows, CCols > 
bottomRightCorner () const
Block< ArrayWrapper
< ExpressionType > > 
bottomRightCorner (Index cRows, Index cCols)
const Block< const
ArrayWrapper< ExpressionType > > 
bottomRightCorner (Index cRows, Index cCols) const
RowsBlockXpr bottomRows (Index n)
ConstRowsBlockXpr bottomRows (Index n) const
NRowsBlockXpr< N >::Type bottomRows ()
ConstNRowsBlockXpr< N >::Type bottomRows () const
internal::cast_return_type
< ArrayWrapper< ExpressionType >
, const CwiseUnaryOp
< internal::scalar_cast_op
< typename internal::traits
< ArrayWrapper< ExpressionType >
>::Scalar, NewType >, const
ArrayWrapper< ExpressionType >
> >::type 
cast () const
const CoeffReturnType coeff (Index index) const
const CoeffReturnType coeff (Index row, Index col) const
const Scalar & coeffRef (Index row, Index col) const
const Scalar & coeffRef (Index index) const
Scalar & coeffRef (Index index)
Scalar & coeffRef (Index row, Index col)
ColXpr col (Index i)
ConstColXpr col (Index i) const
Index cols () const
ConstColwiseReturnType colwise () const
ColwiseReturnType colwise ()
ConjugateReturnType conjugate () const
const CwiseUnaryOp
< internal::scalar_cos_op
< Scalar >, const ArrayWrapper
< ExpressionType > > 
cos () const
Index count () const
const CwiseUnaryOp
< internal::scalar_cube_op
< Scalar >, const ArrayWrapper
< ExpressionType > > 
cube () const
EIGEN_STRONG_INLINE const
CwiseUnaryOp
< internal::scalar_abs_op
< Scalar >, const ArrayWrapper
< ExpressionType > > 
cwiseAbs () const
EIGEN_STRONG_INLINE const
CwiseUnaryOp
< internal::scalar_abs2_op
< Scalar >, const ArrayWrapper
< ExpressionType > > 
cwiseAbs2 () const
const CwiseBinaryOp
< std::equal_to< Scalar >
, const ArrayWrapper
< ExpressionType >, const
OtherDerived > 
cwiseEqual (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
const CwiseUnaryOp
< std::binder1st
< std::equal_to< Scalar >
>, const ArrayWrapper
< ExpressionType > > 
cwiseEqual (const Scalar &s) const
const CwiseUnaryOp
< internal::scalar_inverse_op
< Scalar >, const ArrayWrapper
< ExpressionType > > 
cwiseInverse () const
EIGEN_STRONG_INLINE const
CwiseBinaryOp
< internal::scalar_max_op
< Scalar >, const ArrayWrapper
< ExpressionType >, const
OtherDerived > 
cwiseMax (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
EIGEN_STRONG_INLINE const
CwiseBinaryOp
< internal::scalar_min_op
< Scalar >, const ArrayWrapper
< ExpressionType >, const
OtherDerived > 
cwiseMin (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
const CwiseBinaryOp
< std::not_equal_to< Scalar >
, const ArrayWrapper
< ExpressionType >, const
OtherDerived > 
cwiseNotEqual (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
EIGEN_STRONG_INLINE const
CwiseBinaryOp
< internal::scalar_quotient_op
< Scalar >, const ArrayWrapper
< ExpressionType >, const
OtherDerived > 
cwiseQuotient (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
const CwiseUnaryOp
< internal::scalar_sqrt_op
< Scalar >, const ArrayWrapper
< ExpressionType > > 
cwiseSqrt () const
EIGEN_STRONG_INLINE const EIGEN_CWISE_PRODUCT_RETURN_TYPE (ArrayWrapper< ExpressionType >, OtherDerived) cwiseProduct(const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
EIGEN_STRONG_INLINE const EIGEN_CWISE_PRODUCT_RETURN_TYPE (ArrayWrapper< ExpressionType >, OtherDerived) operator*(const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
EIGEN_STRONG_INLINE const
internal::eval< ArrayWrapper
< ExpressionType > >::type 
eval () const
template<typename Dest >
void evalTo (Dest &dst) const
const CwiseUnaryOp
< internal::scalar_exp_op
< Scalar >, const ArrayWrapper
< ExpressionType > > 
exp () const
void fill (const Scalar &value)
const Flagged< ArrayWrapper
< ExpressionType >, Added,
Removed > 
flagged () const
const ForceAlignedAccess
< ArrayWrapper< ExpressionType > > 
forceAlignedAccess () const
ForceAlignedAccess
< ArrayWrapper< ExpressionType > > 
forceAlignedAccess ()
const internal::conditional
< Enable, ForceAlignedAccess
< ArrayWrapper< ExpressionType >
>, ArrayWrapper
< ExpressionType > & >::type 
forceAlignedAccessIf () const
internal::conditional< Enable,
ForceAlignedAccess
< ArrayWrapper< ExpressionType >
>, ArrayWrapper
< ExpressionType > & >::type 
forceAlignedAccessIf ()
const WithFormat< ArrayWrapper
< ExpressionType > > 
format (const IOFormat &fmt) const
SegmentReturnType head (Index size)
DenseBase::ConstSegmentReturnType head (Index size) const
FixedSegmentReturnType< Size >
::Type 
head ()
ConstFixedSegmentReturnType
< Size >::Type 
head () const
const ImagReturnType imag () const
NonConstImagReturnType imag ()
Index innerSize () const
Index innerStride () const
const CwiseUnaryOp
< internal::scalar_inverse_op
< Scalar >, const ArrayWrapper
< ExpressionType > > 
inverse () const
bool isApprox (const DenseBase< OtherDerived > &other, RealScalar prec=NumTraits< Scalar >::dummy_precision()) const
bool isApproxToConstant (const Scalar &value, RealScalar prec=NumTraits< Scalar >::dummy_precision()) const
bool isConstant (const Scalar &value, RealScalar prec=NumTraits< Scalar >::dummy_precision()) const
bool isMuchSmallerThan (const RealScalar &other, RealScalar prec=NumTraits< Scalar >::dummy_precision()) const
bool isMuchSmallerThan (const DenseBase< OtherDerived > &other, RealScalar prec=NumTraits< Scalar >::dummy_precision()) const
bool isOnes (RealScalar prec=NumTraits< Scalar >::dummy_precision()) const
bool isZero (RealScalar prec=NumTraits< Scalar >::dummy_precision()) const
ArrayWrapper< ExpressionType > & lazyAssign (const DenseBase< OtherDerived > &other)
ConstColsBlockXpr leftCols (Index n) const
NColsBlockXpr< N >::Type leftCols ()
ColsBlockXpr leftCols (Index n)
ConstNColsBlockXpr< N >::Type leftCols () const
const CwiseUnaryOp
< internal::scalar_log_op
< Scalar >, const ArrayWrapper
< ExpressionType > > 
log () const
RealScalar lpNorm () const
MatrixWrapper< ArrayWrapper
< ExpressionType > > 
matrix ()
const MatrixWrapper
< ArrayWrapper< ExpressionType > > 
matrix () const
internal::traits< ArrayWrapper
< ExpressionType > >::Scalar 
maxCoeff (IndexType *index) const
internal::traits< ArrayWrapper
< ExpressionType > >::Scalar 
maxCoeff (IndexType *row, IndexType *col) const
internal::traits< ArrayWrapper
< ExpressionType > >::Scalar 
maxCoeff () const
Scalar mean () const
NColsBlockXpr< N >::Type middleCols (Index startCol)
ColsBlockXpr middleCols (Index startCol, Index numCols)
ConstColsBlockXpr middleCols (Index startCol, Index numCols) const
ConstNColsBlockXpr< N >::Type middleCols (Index startCol) const
NRowsBlockXpr< N >::Type middleRows (Index startRow)
ConstNRowsBlockXpr< N >::Type middleRows (Index startRow) const
RowsBlockXpr middleRows (Index startRow, Index numRows)
ConstRowsBlockXpr middleRows (Index startRow, Index numRows) const
internal::traits< ArrayWrapper
< ExpressionType > >::Scalar 
minCoeff (IndexType *index) const
internal::traits< ArrayWrapper
< ExpressionType > >::Scalar 
minCoeff (IndexType *row, IndexType *col) const
internal::traits< ArrayWrapper
< ExpressionType > >::Scalar 
minCoeff () const
const NestByValue
< ArrayWrapper< ExpressionType > > 
nestByValue () const
Index nonZeros () const
const ScalarMultipleReturnType operator* (const Scalar &scalar) const
void operator* () const
const CwiseUnaryOp
< internal::scalar_multiple2_op
< Scalar, std::complex< Scalar >
>, const ArrayWrapper
< ExpressionType > > 
operator* (const std::complex< Scalar > &scalar) const
ArrayWrapper< ExpressionType > & operator*= (const ArrayBase< OtherDerived > &other)
ArrayWrapper< ExpressionType > & operator*= (const Scalar &other)
const CwiseUnaryOp
< internal::scalar_add_op
< Scalar >, const ArrayWrapper
< ExpressionType > > 
operator+ (const Scalar &scalar) const
ArrayWrapper< ExpressionType > & operator+= (const Scalar &scalar)
ArrayWrapper< ExpressionType > & operator+= (const ArrayBase< OtherDerived > &other)
ArrayWrapper< ExpressionType > & operator+= (const EigenBase< OtherDerived > &other)
const CwiseUnaryOp
< internal::scalar_opposite_op
< typename internal::traits
< ArrayWrapper< ExpressionType >
>::Scalar >, const
ArrayWrapper< ExpressionType > > 
operator- () const
const CwiseUnaryOp
< internal::scalar_add_op
< Scalar >, const ArrayWrapper
< ExpressionType > > 
operator- (const Scalar &scalar) const
ArrayWrapper< ExpressionType > & operator-= (const Scalar &scalar)
ArrayWrapper< ExpressionType > & operator-= (const ArrayBase< OtherDerived > &other)
ArrayWrapper< ExpressionType > & operator-= (const EigenBase< OtherDerived > &other)
EIGEN_STRONG_INLINE const
CwiseBinaryOp
< internal::scalar_quotient_op
< Scalar >, const ArrayWrapper
< ExpressionType >, const
OtherDerived > 
operator/ (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
const CwiseUnaryOp
< internal::scalar_quotient1_op
< typename internal::traits
< ArrayWrapper< ExpressionType >
>::Scalar >, const
ArrayWrapper< ExpressionType > > 
operator/ (const Scalar &scalar) const
ArrayWrapper< ExpressionType > & operator/= (const ArrayBase< OtherDerived > &other)
ArrayWrapper< ExpressionType > & operator/= (const Scalar &other)
CommaInitializer< ArrayWrapper
< ExpressionType > > 
operator<< (const Scalar &s)
CommaInitializer< ArrayWrapper
< ExpressionType > > 
operator<< (const DenseBase< OtherDerived > &other)
Index outerSize () const
Index outerStride () const
template<int LoadMode>
const PacketScalar packet (Index row, Index col) const
template<int LoadMode>
const PacketScalar packet (Index index) const
const CwiseUnaryOp
< internal::scalar_pow_op
< Scalar >, const ArrayWrapper
< ExpressionType > > 
pow (const Scalar &exponent) const
Scalar prod () const
RealReturnType real () const
NonConstRealReturnType real ()
const Replicate< ArrayWrapper
< ExpressionType >, Dynamic,
Dynamic > 
replicate (Index rowFacor, Index colFactor) const
const Replicate< ArrayWrapper
< ExpressionType >, RowFactor,
ColFactor > 
replicate () const
void resize (Index size)
void resize (Index rows, Index cols)
ReverseReturnType reverse ()
ConstReverseReturnType reverse () const
void reverseInPlace ()
ColsBlockXpr rightCols (Index n)
NColsBlockXpr< N >::Type rightCols ()
ConstNColsBlockXpr< N >::Type rightCols () const
ConstColsBlockXpr rightCols (Index n) const
ConstRowXpr row (Index i) const
RowXpr row (Index i)
Index rows () const
ConstRowwiseReturnType rowwise () const
RowwiseReturnType rowwise ()
FixedSegmentReturnType< Size >
::Type 
segment (Index start)
DenseBase::ConstSegmentReturnType segment (Index start, Index size) const
SegmentReturnType segment (Index start, Index size)
ConstFixedSegmentReturnType
< Size >::Type 
segment (Index start) const
const Select< ArrayWrapper
< ExpressionType >
, ThenDerived, ElseDerived > 
select (const DenseBase< ThenDerived > &thenMatrix, const DenseBase< ElseDerived > &elseMatrix) const
const Select< ArrayWrapper
< ExpressionType >, typename
ElseDerived::ConstantReturnType,
ElseDerived > 
select (typename ElseDerived::Scalar thenScalar, const DenseBase< ElseDerived > &elseMatrix) const
const Select< ArrayWrapper
< ExpressionType >
, ThenDerived, typename
ThenDerived::ConstantReturnType > 
select (const DenseBase< ThenDerived > &thenMatrix, typename ThenDerived::Scalar elseScalar) const
ArrayWrapper< ExpressionType > & setConstant (const Scalar &value)
ArrayWrapper< ExpressionType > & setLinSpaced (Index size, const Scalar &low, const Scalar &high)
ArrayWrapper< ExpressionType > & setLinSpaced (const Scalar &low, const Scalar &high)
ArrayWrapper< ExpressionType > & setOnes ()
ArrayWrapper< ExpressionType > & setRandom ()
ArrayWrapper< ExpressionType > & setZero ()
const CwiseUnaryOp
< internal::scalar_sin_op
< Scalar >, const ArrayWrapper
< ExpressionType > > 
sin () const
const CwiseUnaryOp
< internal::scalar_sqrt_op
< Scalar >, const ArrayWrapper
< ExpressionType > > 
sqrt () const
const CwiseUnaryOp
< internal::scalar_square_op
< Scalar >, const ArrayWrapper
< ExpressionType > > 
square () const
Scalar sum () const
void swap (PlainObjectBase< OtherDerived > &other)
void swap (const DenseBase< OtherDerived > &other, int=OtherDerived::ThisConstantIsPrivateInPlainObjectBase)
FixedSegmentReturnType< Size >
::Type 
tail ()
DenseBase::ConstSegmentReturnType tail (Index size) const
ConstFixedSegmentReturnType
< Size >::Type 
tail () const
SegmentReturnType tail (Index size)
const CwiseUnaryOp
< internal::scalar_tan_op
< Scalar >, ArrayWrapper
< ExpressionType > > 
tan () const
const Block< const
ArrayWrapper< ExpressionType >
, CRows, CCols > 
topLeftCorner () const
const Block< const
ArrayWrapper< ExpressionType > > 
topLeftCorner (Index cRows, Index cCols) const
Block< ArrayWrapper
< ExpressionType >, CRows,
CCols > 
topLeftCorner ()
Block< ArrayWrapper
< ExpressionType > > 
topLeftCorner (Index cRows, Index cCols)
Block< ArrayWrapper
< ExpressionType >, CRows,
CCols > 
topRightCorner ()
const Block< const
ArrayWrapper< ExpressionType > > 
topRightCorner (Index cRows, Index cCols) const
const Block< const
ArrayWrapper< ExpressionType >
, CRows, CCols > 
topRightCorner () const
Block< ArrayWrapper
< ExpressionType > > 
topRightCorner (Index cRows, Index cCols)
NRowsBlockXpr< N >::Type topRows ()
ConstRowsBlockXpr topRows (Index n) const
ConstNRowsBlockXpr< N >::Type topRows () const
RowsBlockXpr topRows (Index n)
Scalar trace () const
Eigen::Transpose< ArrayWrapper
< ExpressionType > > 
transpose ()
ConstTransposeReturnType transpose () const
void transposeInPlace ()
const CwiseUnaryOp
< CustomUnaryOp, const
ArrayWrapper< ExpressionType > > 
unaryExpr (const CustomUnaryOp &func=CustomUnaryOp()) const
 Apply a unary operator coefficient-wise.
const CwiseUnaryView
< CustomViewOp, const
ArrayWrapper< ExpressionType > > 
unaryViewExpr (const CustomViewOp &func=CustomViewOp()) const
CoeffReturnType value () const
void visit (Visitor &func) const
template<int LoadMode>
void writePacket (Index row, Index col, const PacketScalar &x)
template<int LoadMode>
void writePacket (Index index, const PacketScalar &x)

Static Public Member Functions

static const ConstantReturnType Constant (Index rows, Index cols, const Scalar &value)
static const ConstantReturnType Constant (Index size, const Scalar &value)
static const ConstantReturnType Constant (const Scalar &value)
static const
SequentialLinSpacedReturnType 
LinSpaced (Sequential_t, Index size, const Scalar &low, const Scalar &high)
static const
RandomAccessLinSpacedReturnType 
LinSpaced (Index size, const Scalar &low, const Scalar &high)
static const
SequentialLinSpacedReturnType 
LinSpaced (Sequential_t, const Scalar &low, const Scalar &high)
static const
RandomAccessLinSpacedReturnType 
LinSpaced (const Scalar &low, const Scalar &high)
static const CwiseNullaryOp
< CustomNullaryOp,
ArrayWrapper< ExpressionType > > 
NullaryExpr (Index rows, Index cols, const CustomNullaryOp &func)
static const CwiseNullaryOp
< CustomNullaryOp,
ArrayWrapper< ExpressionType > > 
NullaryExpr (Index size, const CustomNullaryOp &func)
static const CwiseNullaryOp
< CustomNullaryOp,
ArrayWrapper< ExpressionType > > 
NullaryExpr (const CustomNullaryOp &func)
static const ConstantReturnType Ones ()
static const ConstantReturnType Ones (Index rows, Index cols)
static const ConstantReturnType Ones (Index size)
static const CwiseNullaryOp
< internal::scalar_random_op
< Scalar >, ArrayWrapper
< ExpressionType > > 
Random ()
static const CwiseNullaryOp
< internal::scalar_random_op
< Scalar >, ArrayWrapper
< ExpressionType > > 
Random (Index rows, Index cols)
static const CwiseNullaryOp
< internal::scalar_random_op
< Scalar >, ArrayWrapper
< ExpressionType > > 
Random (Index size)
static const ConstantReturnType Zero (Index size)
static const ConstantReturnType Zero (Index rows, Index cols)
static const ConstantReturnType Zero ()

Protected Member Functions

void checkTransposeAliasing (const OtherDerived &other) const
ArrayWrapper< ExpressionType > & operator+= (const MatrixBase< OtherDerived > &)
ArrayWrapper< ExpressionType > & operator-= (const MatrixBase< OtherDerived > &)

Protected Attributes

const NestedExpressionType m_expression

Friends

const ScalarMultipleReturnType operator* (const Scalar &scalar, const StorageBaseType &matrix)
const CwiseUnaryOp
< internal::scalar_multiple2_op
< Scalar, std::complex< Scalar >
>, const ArrayWrapper
< ExpressionType > > 
operator* (const std::complex< Scalar > &scalar, const StorageBaseType &matrix)
const CwiseUnaryOp
< internal::scalar_add_op
< Scalar >, const ArrayWrapper
< ExpressionType > > 
operator+ (const Scalar &scalar, const EIGEN_CURRENT_STORAGE_BASE_CLASS< ArrayWrapper< ExpressionType > > &other)
const CwiseUnaryOp
< internal::scalar_add_op
< Scalar >, const CwiseUnaryOp
< internal::scalar_opposite_op
< Scalar >, const ArrayWrapper
< ExpressionType > > > 
operator- (const Scalar &scalar, const EIGEN_CURRENT_STORAGE_BASE_CLASS< ArrayWrapper< ExpressionType > > &other)

Detailed Description

template<typename ExpressionType>
class 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

Definition at line 49 of file ArrayWrapper.h.


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

Generated by  Doxygen 1.6.0   Back to index