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

Expression which must be nested by value. More...

List of all members.

Public Member Functions

const Scalar coeff (int row, int col) const
const Scalar coeff (int index) const
Scalar & coeffRef (int index)
Scalar & coeffRef (int row, int col)
int cols () const
 NestByValue (const ExpressionType &matrix)
template<int LoadMode>
const PacketScalar packet (int row, int col) const
template<int LoadMode>
const PacketScalar packet (int index) const
int rows () const
int stride () const
template<int LoadMode>
void writePacket (int row, int col, const PacketScalar &x)
template<int LoadMode>
void writePacket (int index, const PacketScalar &x)

Protected Attributes

const ExpressionType m_expression

Detailed Description

template<typename ExpressionType>
class Eigen::NestByValue< ExpressionType >

Expression which must be nested by value.

Parameters:
ExpressionTypethe type of the object of which we are requiring nesting-by-value

This class is the return type of MatrixBase::nestByValue() and most of the time this is the only way it is used.

See also:
MatrixBase::nestByValue()

Member Function Documentation

int cols ( void  ) const [inline]
Returns:
the number of columns.
See also:
rows(), ColsAtCompileTime

Reimplemented from MatrixBase< NestByValue< ExpressionType > >.

int rows ( void  ) const [inline]
Returns:
the number of rows.
See also:
cols(), RowsAtCompileTime

Reimplemented from MatrixBase< NestByValue< ExpressionType > >.

int stride ( void  ) const [inline]
Returns:
number of elements to skip to pass from one row (resp. column) to another for a row-major (resp. column-major) matrix. Combined with coeffRef() and the flags flags, it allows a direct access to the data of the underlying matrix.

Reimplemented from MatrixBase< NestByValue< ExpressionType > >.


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