Public Types | Public Member Functions | Protected Attributes

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 >:
ArrayBase< ArrayWrapper< ExpressionType > > DenseBase< ArrayWrapper< ExpressionType > > internal::special_scalar_op_base< Derived, Scalar, OtherScalar, EnableIt > DenseCoeffsBase

List of all members.

Public Types

typedef ArrayBase< ArrayWrapperBase
typedef internal::nested
< ExpressionType >::type 
NestedExpressionType

Public Member Functions

 ArrayWrapper (const ExpressionType &matrix)
Index rows () const
Index cols () const
Index outerStride () const
Index innerStride () const
const CoeffReturnType coeff (Index row, Index col) const
ScalarcoeffRef (Index row, Index col)
const ScalarcoeffRef (Index row, Index col) const
const CoeffReturnType coeff (Index index) const
ScalarcoeffRef (Index index)
const ScalarcoeffRef (Index index) const
template<int LoadMode>
const PacketScalar packet (Index row, Index col) const
template<int LoadMode>
void writePacket (Index row, Index col, const PacketScalar &x)
template<int LoadMode>
const PacketScalar packet (Index index) const
template<int LoadMode>
void writePacket (Index index, const PacketScalar &x)
template<typename Dest >
void evalTo (Dest &dst) const

Protected Attributes

const NestedExpressionType m_expression

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

Member Typedef Documentation

template<typename ExpressionType >
typedef ArrayBase<ArrayWrapper> ArrayWrapper< ExpressionType >::Base
template<typename ExpressionType >
typedef internal::nested<ExpressionType>::type ArrayWrapper< ExpressionType >::NestedExpressionType

Constructor & Destructor Documentation

template<typename ExpressionType >
ArrayWrapper< ExpressionType >::ArrayWrapper ( const ExpressionType &  matrix  )  [inline]

Member Function Documentation

template<typename ExpressionType >
const CoeffReturnType ArrayWrapper< ExpressionType >::coeff ( Index  row,
Index  col 
) const [inline]
template<typename ExpressionType >
const CoeffReturnType ArrayWrapper< ExpressionType >::coeff ( Index  index  )  const [inline]
template<typename ExpressionType >
Scalar& ArrayWrapper< ExpressionType >::coeffRef ( Index  index  )  [inline]
template<typename ExpressionType >
const Scalar& ArrayWrapper< ExpressionType >::coeffRef ( Index  index  )  const [inline]
template<typename ExpressionType >
Scalar& ArrayWrapper< ExpressionType >::coeffRef ( Index  row,
Index  col 
) [inline]
template<typename ExpressionType >
const Scalar& ArrayWrapper< ExpressionType >::coeffRef ( Index  row,
Index  col 
) const [inline]
template<typename ExpressionType >
Index ArrayWrapper< ExpressionType >::cols (  )  const [inline]
template<typename ExpressionType >
template<typename Dest >
void ArrayWrapper< ExpressionType >::evalTo ( Dest &  dst  )  const [inline]
template<typename ExpressionType >
Index ArrayWrapper< ExpressionType >::innerStride (  )  const [inline]
template<typename ExpressionType >
Index ArrayWrapper< ExpressionType >::outerStride (  )  const [inline]
template<typename ExpressionType >
template<int LoadMode>
const PacketScalar ArrayWrapper< ExpressionType >::packet ( Index  index  )  const [inline]
template<typename ExpressionType >
template<int LoadMode>
const PacketScalar ArrayWrapper< ExpressionType >::packet ( Index  row,
Index  col 
) const [inline]
template<typename ExpressionType >
Index ArrayWrapper< ExpressionType >::rows (  )  const [inline]
template<typename ExpressionType >
template<int LoadMode>
void ArrayWrapper< ExpressionType >::writePacket ( Index  index,
const PacketScalar x 
) [inline]
template<typename ExpressionType >
template<int LoadMode>
void ArrayWrapper< ExpressionType >::writePacket ( Index  row,
Index  col,
const PacketScalar x 
) [inline]

Member Data Documentation

template<typename ExpressionType >
const NestedExpressionType ArrayWrapper< ExpressionType >::m_expression [protected]

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