Logo Search packages:      
Sourcecode: feel++ 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  
typedef ArrayBase< ArrayWrapperBase
typedef Base::CoeffReturnType CoeffReturnType
typedef Block< ArrayWrapper
< ExpressionType >, ei_traits
< ArrayWrapper< ExpressionType >
>::RowsAtCompileTime, Dynamic,!IsRowMajor > 
ColsBlockXpr
typedef Block< ArrayWrapper
< ExpressionType >, ei_traits
< ArrayWrapper< ExpressionType >
>::RowsAtCompileTime,
1,!IsRowMajor > 
ColXpr
typedef ei_meta_if< NumTraits
< Scalar >::IsComplex, const
CwiseUnaryOp
< ei_scalar_conjugate_op
< Scalar >, ArrayWrapper
< ExpressionType > >, const
ArrayWrapper< ExpressionType >
& >::ret 
ConjugateReturnType
typedef CwiseNullaryOp
< ei_scalar_constant_op
< Scalar >, ArrayWrapper
< ExpressionType > > 
ConstantReturnType
typedef ArrayBase Eigen_BaseClassForSpecializationOfGlobalMathFuncImpl
typedef Matrix< typename
NumTraits< typename ei_traits
< ArrayWrapper< ExpressionType >
>::Scalar >::Real, ei_traits
< ArrayWrapper< ExpressionType >
>::ColsAtCompileTime, 1 > 
EigenvaluesReturnType
typedef CwiseUnaryOp
< ei_scalar_imag_op< Scalar >
, ArrayWrapper< ExpressionType > > 
ImagReturnType
typedef ei_traits
< ArrayWrapper< ExpressionType >
>::Index 
Index
typedef ei_nested
< ExpressionType >::type 
NestedExpressionType
typedef CwiseUnaryView
< ei_scalar_imag_ref_op
< Scalar >, ArrayWrapper
< ExpressionType > > 
NonConstImagReturnType
typedef ei_meta_if< NumTraits
< Scalar >::IsComplex,
CwiseUnaryView
< ei_scalar_real_ref_op
< Scalar >, ArrayWrapper
< ExpressionType >
>, ArrayWrapper
< ExpressionType > & >::ret 
NonConstRealReturnType
typedef ei_packet_traits
< Scalar >::type 
PacketScalar
typedef Array< typename
ei_traits< ArrayWrapper
< ExpressionType > >::Scalar,
ei_traits< ArrayWrapper
< ExpressionType >
>::RowsAtCompileTime,
ei_traits< ArrayWrapper
< ExpressionType >
>::ColsAtCompileTime,
AutoAlign|(ei_traits
< ArrayWrapper< ExpressionType >
>::Flags &RowMajorBit?RowMajor:ColMajor),
ei_traits< ArrayWrapper
< ExpressionType >
>::MaxRowsAtCompileTime,
ei_traits< ArrayWrapper
< ExpressionType >
>::MaxColsAtCompileTime > 
PlainObject
typedef CwiseNullaryOp
< ei_linspaced_op< Scalar,
true >, ArrayWrapper
< ExpressionType > > 
RandomAccessLinSpacedReturnType
typedef ei_meta_if< NumTraits
< Scalar >::IsComplex, const
CwiseUnaryOp
< ei_scalar_real_op< Scalar >
, ArrayWrapper< ExpressionType >
>, const ArrayWrapper
< ExpressionType > & >::ret 
RealReturnType
typedef NumTraits< Scalar >::Real RealScalar
typedef Block< ArrayWrapper
< ExpressionType >, Dynamic,
ei_traits< ArrayWrapper
< ExpressionType >
>::ColsAtCompileTime,
IsRowMajor > 
RowsBlockXpr
typedef Block< ArrayWrapper
< ExpressionType >
, 1, ei_traits< ArrayWrapper
< ExpressionType >
>::ColsAtCompileTime,
IsRowMajor > 
RowXpr
typedef ei_traits
< ArrayWrapper< ExpressionType >
>::Scalar 
Scalar
typedef CwiseUnaryOp
< ei_scalar_multiple_op
< Scalar >, ArrayWrapper
< ExpressionType > > 
ScalarMultipleReturnType
typedef CwiseUnaryOp
< ei_scalar_quotient1_op
< Scalar >, ArrayWrapper
< ExpressionType > > 
ScalarQuotient1ReturnType
typedef CwiseNullaryOp
< ei_linspaced_op< Scalar,
false >, ArrayWrapper
< ExpressionType > > 
SequentialLinSpacedReturnType
typedef ArrayBase StorageBaseType
typedef ei_traits
< ArrayWrapper< ExpressionType >
>::StorageKind 
StorageKind

Public Member Functions

EIGEN_STRONG_INLINE const
CwiseUnaryOp< ei_scalar_abs_op
< Scalar >, ArrayWrapper
< ExpressionType > > 
abs () const
EIGEN_STRONG_INLINE const
CwiseUnaryOp
< ei_scalar_abs2_op< Scalar >
, ArrayWrapper< ExpressionType > > 
abs2 () const
bool all (void) const
bool any (void) const
ArrayBase< ArrayWrapper
< ExpressionType > > & 
array ()
const ArrayBase< ArrayWrapper
< ExpressionType > > & 
array () const
 ArrayWrapper (const ExpressionType &matrix)
EIGEN_STRONG_INLINE const
CwiseBinaryOp< CustomBinaryOp,
ArrayWrapper< ExpressionType >
, 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< ArrayWrapper
< ExpressionType > > 
block (Index startRow, Index startCol, Index blockRows, Index blockCols) const
Block< ArrayWrapper
< ExpressionType >, BlockRows,
BlockCols > 
block (Index startRow, Index startCol)
const Block< ArrayWrapper
< ExpressionType >, BlockRows,
BlockCols > 
block (Index startRow, Index startCol) const
Block< ArrayWrapper
< ExpressionType > > 
bottomLeftCorner (Index cRows, Index cCols)
const Block< ArrayWrapper
< ExpressionType > > 
bottomLeftCorner (Index cRows, Index cCols) const
Block< ArrayWrapper
< ExpressionType >, CRows,
CCols > 
bottomLeftCorner ()
const Block< ArrayWrapper
< ExpressionType >, CRows,
CCols > 
bottomLeftCorner () const
const Block< ArrayWrapper
< ExpressionType > > 
bottomRightCorner (Index cRows, Index cCols) const
Block< ArrayWrapper
< ExpressionType > > 
bottomRightCorner (Index cRows, Index cCols)
Block< ArrayWrapper
< ExpressionType >, CRows,
CCols > 
bottomRightCorner ()
const Block< ArrayWrapper
< ExpressionType >, CRows,
CCols > 
bottomRightCorner () const
RowsBlockXpr bottomRows (Index n)
const RowsBlockXpr bottomRows (Index n) const
NRowsBlockXpr< N >::Type bottomRows ()
const NRowsBlockXpr< N >::Type bottomRows () const
ei_cast_return_type
< ArrayWrapper< ExpressionType >
, const CwiseUnaryOp
< ei_scalar_cast_op< typename
ei_traits< ArrayWrapper
< ExpressionType > >::Scalar,
NewType >, ArrayWrapper
< ExpressionType > > >::type 
cast () const
const CoeffReturnType coeff (Index index) const
const CoeffReturnType coeff (Index row, Index col) const
Scalar & coeffRef (Index index)
Scalar & coeffRef (Index row, Index col)
ColXpr col (Index i)
const ColXpr col (Index i) const
Index cols () const
const VectorwiseOp
< ArrayWrapper< ExpressionType >
, Vertical > 
colwise () const
VectorwiseOp< ArrayWrapper
< ExpressionType >, Vertical > 
colwise ()
ConjugateReturnType conjugate () const
const CwiseUnaryOp
< ei_scalar_cos_op< Scalar >
, ArrayWrapper< ExpressionType > > 
cos () const
Index count () const
const CwiseUnaryOp
< ei_scalar_cube_op< Scalar >
, ArrayWrapper< ExpressionType > > 
cube () const
EIGEN_STRONG_INLINE const
CwiseUnaryOp< ei_scalar_abs_op
< Scalar >, ArrayWrapper
< ExpressionType > > 
cwiseAbs () const
EIGEN_STRONG_INLINE const
CwiseUnaryOp
< ei_scalar_abs2_op< Scalar >
, ArrayWrapper< ExpressionType > > 
cwiseAbs2 () const
const CwiseUnaryOp
< std::binder1st
< std::equal_to< Scalar >
>, ArrayWrapper
< ExpressionType > > 
cwiseEqual (const Scalar &s) const
const CwiseBinaryOp
< std::equal_to< Scalar >
, ArrayWrapper< ExpressionType >
, OtherDerived > 
cwiseEqual (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
const CwiseUnaryOp
< ei_scalar_inverse_op< Scalar >
, ArrayWrapper< ExpressionType > > 
cwiseInverse () const
EIGEN_STRONG_INLINE const
CwiseBinaryOp
< ei_scalar_max_op< Scalar >
, ArrayWrapper< ExpressionType >
, OtherDerived > 
cwiseMax (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
EIGEN_STRONG_INLINE const
CwiseBinaryOp
< ei_scalar_min_op< Scalar >
, ArrayWrapper< ExpressionType >
, OtherDerived > 
cwiseMin (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
const CwiseBinaryOp
< std::not_equal_to< Scalar >
, ArrayWrapper< ExpressionType >
, OtherDerived > 
cwiseNotEqual (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
EIGEN_STRONG_INLINE const
CwiseBinaryOp
< ei_scalar_quotient_op
< Scalar >, ArrayWrapper
< ExpressionType >
, OtherDerived > 
cwiseQuotient (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
const CwiseUnaryOp
< ei_scalar_sqrt_op< Scalar >
, ArrayWrapper< ExpressionType > > 
cwiseSqrt () const
const Diagonal< ArrayWrapper
< ExpressionType >, Dynamic > 
diagonal (Index index) const
Diagonal< ArrayWrapper
< ExpressionType >, 0 > 
diagonal ()
const Diagonal< ArrayWrapper
< ExpressionType >, 0 > 
diagonal () const
Diagonal< ArrayWrapper
< ExpressionType >, Index
diagonal ()
Diagonal< ArrayWrapper
< ExpressionType >, Dynamic > 
diagonal (Index index)
const Diagonal< ArrayWrapper
< ExpressionType >, Index
diagonal () 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 EIGEN_CWISE_PRODUCT_RETURN_TYPE (ArrayWrapper< ExpressionType >, OtherDerived) cwiseProduct(const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
EIGEN_STRONG_INLINE const
ei_eval< ArrayWrapper
< ExpressionType > >::type 
eval () const
template<typename Dest >
void evalTo (Dest &dst) const
const CwiseUnaryOp
< ei_scalar_exp_op< Scalar >
, 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 ei_meta_if< Enable,
ForceAlignedAccess
< ArrayWrapper< ExpressionType >
>, ArrayWrapper
< ExpressionType > & >::ret 
forceAlignedAccessIf () const
ei_meta_if< Enable,
ForceAlignedAccess
< ArrayWrapper< ExpressionType >
>, ArrayWrapper
< ExpressionType > & >::ret 
forceAlignedAccessIf ()
const WithFormat< ArrayWrapper
< ExpressionType > > 
format (const IOFormat &fmt) const
VectorBlock< ArrayWrapper
< ExpressionType > > 
head (Index size)
const VectorBlock
< ArrayWrapper< ExpressionType > > 
head (Index size) const
VectorBlock< ArrayWrapper
< ExpressionType >, Size > 
head (void)
const VectorBlock
< ArrayWrapper< ExpressionType >
, Size > 
head () const
const ImagReturnType imag () const
NonConstImagReturnType imag ()
Index innerSize () const
Index innerStride () const
const CwiseUnaryOp
< ei_scalar_inverse_op< Scalar >
, 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)
const NColsBlockXpr< N >::Type leftCols () const
const ColsBlockXpr leftCols (Index n) const
NColsBlockXpr< N >::Type leftCols ()
ColsBlockXpr leftCols (Index n)
const CwiseUnaryOp
< ei_scalar_log_op< Scalar >
, ArrayWrapper< ExpressionType > > 
log () const
RealScalar lpNorm () const
MatrixWrapper< ArrayWrapper
< ExpressionType > > 
matrix ()
const MatrixWrapper
< ArrayWrapper< ExpressionType > > 
matrix () const
ei_traits< ArrayWrapper
< ExpressionType > >::Scalar 
maxCoeff () const
ei_traits< ArrayWrapper
< ExpressionType > >::Scalar 
maxCoeff (Index *row, Index *col) const
ei_traits< ArrayWrapper
< ExpressionType > >::Scalar 
maxCoeff (Index *index) const
Scalar mean () const
ColsBlockXpr middleCols (Index startCol, Index numCols)
const ColsBlockXpr middleCols (Index startCol, Index numCols) const
const NColsBlockXpr< N >::Type middleCols (Index startCol) const
NColsBlockXpr< N >::Type middleCols (Index startCol)
const NRowsBlockXpr< N >::Type middleRows (Index startRow) const
const RowsBlockXpr middleRows (Index startRow, Index numRows) const
RowsBlockXpr middleRows (Index startRow, Index numRows)
NRowsBlockXpr< N >::Type middleRows (Index startRow)
ei_traits< ArrayWrapper
< ExpressionType > >::Scalar 
minCoeff () const
ei_traits< ArrayWrapper
< ExpressionType > >::Scalar 
minCoeff (Index *row, Index *col) const
ei_traits< ArrayWrapper
< ExpressionType > >::Scalar 
minCoeff (Index *index) const
const NestByValue
< ArrayWrapper< ExpressionType > > 
nestByValue () const
Index nonZeros () const
const CwiseUnaryOp
< ei_scalar_multiple2_op
< Scalar, std::complex< Scalar >
>, ArrayWrapper
< ExpressionType > > 
operator* (const std::complex< Scalar > &scalar) const
void operator* () const
const ScalarMultipleReturnType operator* (const Scalar &scalar) const
ArrayWrapper< ExpressionType > & operator*= (const ArrayBase< OtherDerived > &other)
ArrayWrapper< ExpressionType > & operator*= (const Scalar &other)
const CwiseUnaryOp
< ei_scalar_add_op< Scalar >
, 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
< ei_scalar_add_op< Scalar >
, ArrayWrapper< ExpressionType > > 
operator- (const Scalar &scalar) const
const CwiseUnaryOp
< ei_scalar_opposite_op
< typename ei_traits
< ArrayWrapper< ExpressionType >
>::Scalar >, ArrayWrapper
< ExpressionType > > 
operator- () 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
< ei_scalar_quotient_op
< Scalar >, ArrayWrapper
< ExpressionType >
, OtherDerived > 
operator/ (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
const CwiseUnaryOp
< ei_scalar_quotient1_op
< typename ei_traits
< ArrayWrapper< ExpressionType >
>::Scalar >, ArrayWrapper
< ExpressionType > > 
operator/ (const Scalar &scalar) const
ArrayWrapper< ExpressionType > & operator/= (const Scalar &other)
ArrayWrapper< ExpressionType > & operator/= (const ArrayBase< OtherDerived > &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
TriangularView< ArrayWrapper
< ExpressionType >, Mode > 
part ()
const TriangularView
< ArrayWrapper< ExpressionType >
, Mode > 
part () const
const CwiseUnaryOp
< ei_scalar_pow_op< Scalar >
, ArrayWrapper< ExpressionType > > 
pow (const Scalar &exponent) const
Scalar prod () const
RealReturnType real () const
NonConstRealReturnType real ()
const Replicate< ArrayWrapper
< ExpressionType >, RowFactor,
ColFactor > 
replicate () const
const Replicate< ArrayWrapper
< ExpressionType >, Dynamic,
Dynamic > 
replicate (Index rowFacor, Index colFactor) const
void resize (Index size)
void resize (Index rows, Index cols)
Eigen::Reverse< ArrayWrapper
< ExpressionType >
, BothDirections > 
reverse ()
const Eigen::Reverse
< ArrayWrapper< ExpressionType >
, BothDirections > 
reverse () const
void reverseInPlace ()
NColsBlockXpr< N >::Type rightCols ()
const NColsBlockXpr< N >::Type rightCols () const
const ColsBlockXpr rightCols (Index n) const
ColsBlockXpr rightCols (Index n)
const RowXpr row (Index i) const
RowXpr row (Index i)
Index rows () const
const VectorwiseOp
< ArrayWrapper< ExpressionType >
, Horizontal > 
rowwise () const
VectorwiseOp< ArrayWrapper
< ExpressionType >, Horizontal > 
rowwise ()
VectorBlock< ArrayWrapper
< ExpressionType > > 
segment (Index start, Index size)
const VectorBlock
< ArrayWrapper< ExpressionType > > 
segment (Index start, Index size) const
const VectorBlock
< ArrayWrapper< ExpressionType >
, Size > 
segment (Index start) const
VectorBlock< ArrayWrapper
< ExpressionType >, Size > 
segment (Index start)
const Select< ArrayWrapper
< ExpressionType >, typename
ElseDerived::ConstantReturnType,
ElseDerived > 
select (typename ElseDerived::Scalar thenScalar, const DenseBase< ElseDerived > &elseMatrix) const
const Select< ArrayWrapper
< ExpressionType >
, ThenDerived, ElseDerived > 
select (const DenseBase< ThenDerived > &thenMatrix, const DenseBase< ElseDerived > &elseMatrix) const
const Select< ArrayWrapper
< ExpressionType >
, ThenDerived, typename
ThenDerived::ConstantReturnType > 
select (const DenseBase< ThenDerived > &thenMatrix, typename ThenDerived::Scalar elseScalar) const
SelfAdjointView< ArrayWrapper
< ExpressionType >, UpLo > 
selfadjointView ()
const SelfAdjointView
< ArrayWrapper< ExpressionType >
, UpLo > 
selfadjointView () 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
< ei_scalar_sin_op< Scalar >
, ArrayWrapper< ExpressionType > > 
sin () const
const CwiseUnaryOp
< ei_scalar_sqrt_op< Scalar >
, ArrayWrapper< ExpressionType > > 
sqrt () const
const CwiseUnaryOp
< ei_scalar_square_op< Scalar >
, ArrayWrapper< ExpressionType > > 
square () const
Scalar sum () const
void swap (DenseBase< OtherDerived > EIGEN_REF_TO_TEMPORARY other)
const VectorBlock
< ArrayWrapper< ExpressionType > > 
tail (Index size) const
VectorBlock< ArrayWrapper
< ExpressionType >, Size > 
tail ()
const VectorBlock
< ArrayWrapper< ExpressionType >
, Size > 
tail () const
VectorBlock< ArrayWrapper
< ExpressionType > > 
tail (Index size)
const Block< ArrayWrapper
< ExpressionType > > 
topLeftCorner (Index cRows, Index cCols) const
Block< ArrayWrapper
< ExpressionType >, CRows,
CCols > 
topLeftCorner ()
Block< ArrayWrapper
< ExpressionType > > 
topLeftCorner (Index cRows, Index cCols)
const Block< ArrayWrapper
< ExpressionType >, CRows,
CCols > 
topLeftCorner () const
const Block< ArrayWrapper
< ExpressionType > > 
topRightCorner (Index cRows, Index cCols) const
Block< ArrayWrapper
< ExpressionType > > 
topRightCorner (Index cRows, Index cCols)
const Block< ArrayWrapper
< ExpressionType >, CRows,
CCols > 
topRightCorner () const
Block< ArrayWrapper
< ExpressionType >, CRows,
CCols > 
topRightCorner ()
RowsBlockXpr topRows (Index n)
const RowsBlockXpr topRows (Index n) const
NRowsBlockXpr< N >::Type topRows ()
const NRowsBlockXpr< N >::Type topRows () const
Scalar trace () const
Eigen::Transpose< ArrayWrapper
< ExpressionType > > 
transpose ()
const Eigen::Transpose
< ArrayWrapper< ExpressionType > > 
transpose () const
void transposeInPlace ()
TriangularView< ArrayWrapper
< ExpressionType >, Mode > 
triangularView ()
const TriangularView
< ArrayWrapper< ExpressionType >
, Mode > 
triangularView () const
const CwiseUnaryOp
< CustomUnaryOp, ArrayWrapper
< ExpressionType > > 
unaryExpr (const CustomUnaryOp &func=CustomUnaryOp()) const
const CwiseUnaryView
< CustomViewOp, ArrayWrapper
< ExpressionType > > 
unaryViewExpr (const CustomViewOp &func=CustomViewOp()) 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
< ei_scalar_random_op< Scalar >
, ArrayWrapper< ExpressionType > > 
Random ()
static const CwiseNullaryOp
< ei_scalar_random_op< Scalar >
, ArrayWrapper< ExpressionType > > 
Random (Index rows, Index cols)
static const CwiseNullaryOp
< ei_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 > &mat)
ArrayWrapper< ExpressionType > & operator-= (const MatrixBase< OtherDerived > &mat)

Protected Attributes

const NestedExpressionType m_expression

Friends

const ScalarMultipleReturnType operator* (const Scalar &scalar, const StorageBaseType &matrix)
const CwiseUnaryOp
< ei_scalar_multiple2_op
< Scalar, std::complex< Scalar >
>, ArrayWrapper
< ExpressionType > > 
operator* (const std::complex< Scalar > &scalar, const StorageBaseType &matrix)
const CwiseUnaryOp
< ei_scalar_add_op< Scalar >
, ArrayWrapper< ExpressionType > > 
operator+ (const Scalar &scalar, const EIGEN_CURRENT_STORAGE_BASE_CLASS< ArrayWrapper< ExpressionType > > &other)
const CwiseUnaryOp
< ei_scalar_add_op< Scalar >
, CwiseUnaryOp
< ei_scalar_opposite_op
< Scalar >, 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 46 of file ArrayWrapper.h.


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

Generated by  Doxygen 1.6.0   Back to index