Public Types | Public Member Functions | Protected Attributes
MatrixWrapper< ExpressionType > Class Template Reference

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

#include <ArrayWrapper.h>

Inheritance diagram for MatrixWrapper< ExpressionType >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef MatrixBase
< MatrixWrapper
< ExpressionType > > 
Base
typedef internal::nested
< ExpressionType >::type 
NestedExpressionType
typedef internal::conditional
< internal::is_lvalue
< ExpressionType >::value,
Scalar, const Scalar >::type 
ScalarWithConstIfNotLvalue

Public Member Functions

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
Index innerStride () const
 MatrixWrapper (const ExpressionType &matrix)
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 MatrixWrapper< ExpressionType >

Expression of an array as a mathematical vector or matrix.

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

See also:
MatrixBase::matrix(), class ArrayWrapper

Definition at line 156 of file ArrayWrapper.h.


Member Typedef Documentation

template<typename ExpressionType>
typedef MatrixBase<MatrixWrapper<ExpressionType> > MatrixWrapper< ExpressionType >::Base

Reimplemented from MatrixBase< MatrixWrapper< ExpressionType > >.

Definition at line 159 of file ArrayWrapper.h.

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

Definition at line 169 of file ArrayWrapper.h.

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

Definition at line 167 of file ArrayWrapper.h.


Constructor & Destructor Documentation

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

Definition at line 171 of file ArrayWrapper.h.


Member Function Documentation

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

Definition at line 181 of file ArrayWrapper.h.

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

Definition at line 196 of file ArrayWrapper.h.

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

Definition at line 186 of file ArrayWrapper.h.

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

Definition at line 191 of file ArrayWrapper.h.

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

Definition at line 201 of file ArrayWrapper.h.

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

Definition at line 206 of file ArrayWrapper.h.

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

Definition at line 174 of file ArrayWrapper.h.

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

Definition at line 178 of file ArrayWrapper.h.

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

Definition at line 179 of file ArrayWrapper.h.

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

Definition at line 176 of file ArrayWrapper.h.

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

Definition at line 175 of file ArrayWrapper.h.

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

Definition at line 212 of file ArrayWrapper.h.

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

Definition at line 224 of file ArrayWrapper.h.

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

Definition at line 173 of file ArrayWrapper.h.

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

Definition at line 218 of file ArrayWrapper.h.

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

Definition at line 230 of file ArrayWrapper.h.


Member Data Documentation

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

Definition at line 236 of file ArrayWrapper.h.


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


libicr
Author(s): Robert Krug
autogenerated on Mon Jan 6 2014 11:34:23