Flagged< ExpressionType, Added, Removed > Class Template Reference

Expression with modified flags. More...

List of all members.

Public Types

typedef ei_meta_if
< ei_must_nest_by_value
< ExpressionType >::ret,
ExpressionType, const
ExpressionType & >::ret 
ExpressionTypeNested
typedef
ExpressionType::InnerIterator 
InnerIterator

Public Member Functions

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

Protected Attributes

ExpressionTypeNested m_matrix

Detailed Description

template<typename ExpressionType, unsigned int Added, unsigned int Removed>
class Eigen::Flagged< ExpressionType, Added, Removed >

Expression with modified flags.

Parameters:
ExpressionType the type of the object of which we are modifying the flags
Added the flags added to the expression
Removed the flags removed from the expression (has priority over Added).

This class represents an expression whose flags have been modified. It is the return type of MatrixBase::flagged() and most of the time this is the only way it is used.

See also:
MatrixBase::flagged()

Member Function Documentation

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

Reimplemented from MatrixBase< Flagged< ExpressionType, Added, Removed > >.

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

Reimplemented from MatrixBase< Flagged< ExpressionType, Added, Removed > >.

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< Flagged< ExpressionType, Added, Removed > >.


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

Generated on Mon Aug 31 17:48:40 2009 for Eigen by  doxygen 1.6.1