Main MRPT website > C++ reference
MRPT logo
Public Types | Public Member Functions | Protected Attributes
Eigen::ArrayWrapper Class Reference

Detailed Description

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
Inheritance diagram for Eigen::ArrayWrapper:
Inheritance graph
[legend]

List of all members.

Public Types

typedef ArrayBase< ArrayWrapper > Base
typedef internal::conditional
< internal::is_lvalue
< ExpressionType >::value,
Scalar, const Scalar >::type 
ScalarWithConstIfNotLvalue
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
ScalarWithConstIfNotLvalue * data ()
const Scalar * data () const
const CoeffReturnType coeff (Index row, Index col) const
Scalar & coeffRef (Index row, Index col)
const Scalar & coeffRef (Index row, Index col) const
const CoeffReturnType coeff (Index index) const
Scalar & coeffRef (Index index)
const Scalar & coeffRef (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
const internal::remove_all
< NestedExpressionType >::type & 
nestedExpression () const

Protected Attributes

const NestedExpressionType m_expression

Member Typedef Documentation

Definition at line 53 of file Core.

Definition at line 63 of file Core.

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

Definition at line 61 of file Core.


Constructor & Destructor Documentation

Eigen::ArrayWrapper::ArrayWrapper ( const ExpressionType &  matrix) [inline]

Definition at line 65 of file Core.


Member Function Documentation

const CoeffReturnType Eigen::ArrayWrapper::coeff ( Index  row,
Index  col 
) const [inline]

Definition at line 75 of file Core.

const CoeffReturnType Eigen::ArrayWrapper::coeff ( Index  index) const [inline]

Definition at line 90 of file Core.

Scalar& Eigen::ArrayWrapper::coeffRef ( Index  row,
Index  col 
) [inline]

Definition at line 80 of file Core.

const Scalar& Eigen::ArrayWrapper::coeffRef ( Index  row,
Index  col 
) const [inline]

Definition at line 85 of file Core.

Scalar& Eigen::ArrayWrapper::coeffRef ( Index  index) [inline]

Definition at line 95 of file Core.

const Scalar& Eigen::ArrayWrapper::coeffRef ( Index  index) const [inline]

Definition at line 100 of file Core.

Index Eigen::ArrayWrapper::cols ( void  ) const [inline]

Definition at line 68 of file Core.

ScalarWithConstIfNotLvalue* Eigen::ArrayWrapper::data ( ) [inline]

Definition at line 72 of file Core.

const Scalar* Eigen::ArrayWrapper::data ( ) const [inline]

Definition at line 73 of file Core.

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

Definition at line 130 of file Core.

Index Eigen::ArrayWrapper::innerStride ( ) const [inline]

Definition at line 70 of file Core.

const internal::remove_all<NestedExpressionType>::type& Eigen::ArrayWrapper::nestedExpression ( ) const [inline]

Definition at line 133 of file Core.

Index Eigen::ArrayWrapper::outerStride ( ) const [inline]

Definition at line 69 of file Core.

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

Definition at line 106 of file Core.

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

Definition at line 118 of file Core.

Index Eigen::ArrayWrapper::rows ( void  ) const [inline]

Definition at line 67 of file Core.

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

Definition at line 112 of file Core.

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

Definition at line 124 of file Core.


Member Data Documentation

Definition at line 139 of file Core.




Page generated by Doxygen 1.7.5 for MRPT 0.9.5 SVN: at Sun Oct 16 12:16:33 UTC 2011