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

Detailed Description

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

List of all members.

Public Types

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

Public Member Functions

 MatrixWrapper (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)
const internal::remove_all
< NestedExpressionType >::type & 
nestedExpression () const

Protected Attributes

const NestedExpressionType m_expression

Member Typedef Documentation

Definition at line 166 of file Core.

Definition at line 176 of file Core.

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

Definition at line 174 of file Core.


Constructor & Destructor Documentation

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

Definition at line 178 of file Core.


Member Function Documentation

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

Definition at line 188 of file Core.

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

Definition at line 203 of file Core.

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

Definition at line 193 of file Core.

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

Definition at line 198 of file Core.

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

Definition at line 208 of file Core.

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

Definition at line 213 of file Core.

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

Definition at line 181 of file Core.

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

Definition at line 185 of file Core.

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

Definition at line 186 of file Core.

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

Definition at line 183 of file Core.

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

Definition at line 243 of file Core.

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

Definition at line 182 of file Core.

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

Definition at line 219 of file Core.

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

Definition at line 231 of file Core.

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

Definition at line 180 of file Core.

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

Definition at line 225 of file Core.

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

Definition at line 237 of file Core.


Member Data Documentation

Definition at line 249 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