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 >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef ArrayBase< ArrayWrapperBase
typedef internal::nested
< ExpressionType >::type 
NestedExpressionType
typedef internal::conditional
< internal::is_lvalue
< ExpressionType >::value,
Scalar, const Scalar >::type 
ScalarWithConstIfNotLvalue

Public Member Functions

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

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

Definition at line 49 of file ArrayWrapper.h.


Member Typedef Documentation

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

Reimplemented from ArrayBase< ArrayWrapper< ExpressionType > >.

Definition at line 52 of file ArrayWrapper.h.

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

Definition at line 62 of file ArrayWrapper.h.

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

Definition at line 60 of file ArrayWrapper.h.


Constructor & Destructor Documentation

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

Definition at line 64 of file ArrayWrapper.h.


Member Function Documentation

template<typename ExpressionType>
const CoeffReturnType ArrayWrapper< ExpressionType >::coeff ( Index  row,
Index  col 
) const [inline]

Definition at line 74 of file ArrayWrapper.h.

template<typename ExpressionType>
const CoeffReturnType ArrayWrapper< ExpressionType >::coeff ( Index  index) const [inline]

Definition at line 89 of file ArrayWrapper.h.

template<typename ExpressionType>
Scalar& ArrayWrapper< ExpressionType >::coeffRef ( Index  row,
Index  col 
) [inline]

Definition at line 79 of file ArrayWrapper.h.

template<typename ExpressionType>
const Scalar& ArrayWrapper< ExpressionType >::coeffRef ( Index  row,
Index  col 
) const [inline]

Definition at line 84 of file ArrayWrapper.h.

template<typename ExpressionType>
Scalar& ArrayWrapper< ExpressionType >::coeffRef ( Index  index) [inline]

Definition at line 94 of file ArrayWrapper.h.

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

Definition at line 99 of file ArrayWrapper.h.

template<typename ExpressionType>
Index ArrayWrapper< ExpressionType >::cols ( ) const [inline]

Definition at line 67 of file ArrayWrapper.h.

template<typename ExpressionType>
ScalarWithConstIfNotLvalue* ArrayWrapper< ExpressionType >::data ( ) [inline]

Definition at line 71 of file ArrayWrapper.h.

template<typename ExpressionType>
const Scalar* ArrayWrapper< ExpressionType >::data ( ) const [inline]

Definition at line 72 of file ArrayWrapper.h.

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

Reimplemented from DenseBase< ArrayWrapper< ExpressionType > >.

Definition at line 129 of file ArrayWrapper.h.

template<typename ExpressionType>
Index ArrayWrapper< ExpressionType >::innerStride ( ) const [inline]

Definition at line 69 of file ArrayWrapper.h.

template<typename ExpressionType>
Index ArrayWrapper< ExpressionType >::outerStride ( ) const [inline]

Definition at line 68 of file ArrayWrapper.h.

template<typename ExpressionType>
template<int LoadMode>
const PacketScalar ArrayWrapper< ExpressionType >::packet ( Index  row,
Index  col 
) const [inline]

Definition at line 105 of file ArrayWrapper.h.

template<typename ExpressionType>
template<int LoadMode>
const PacketScalar ArrayWrapper< ExpressionType >::packet ( Index  index) const [inline]

Definition at line 117 of file ArrayWrapper.h.

template<typename ExpressionType>
Index ArrayWrapper< ExpressionType >::rows ( ) const [inline]

Definition at line 66 of file ArrayWrapper.h.

template<typename ExpressionType>
template<int LoadMode>
void ArrayWrapper< ExpressionType >::writePacket ( Index  row,
Index  col,
const PacketScalar x 
) [inline]

Definition at line 111 of file ArrayWrapper.h.

template<typename ExpressionType>
template<int LoadMode>
void ArrayWrapper< ExpressionType >::writePacket ( Index  index,
const PacketScalar x 
) [inline]

Definition at line 123 of file ArrayWrapper.h.


Member Data Documentation

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

Definition at line 132 of file ArrayWrapper.h.


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


re_vision
Author(s): Dorian Galvez-Lopez
autogenerated on Sun Jan 5 2014 11:33:53