Expression with modified flags. More...
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 |
Expression with modified flags.
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.
int cols | ( | void | ) | const [inline] |
Reimplemented from MatrixBase< Flagged< ExpressionType, Added, Removed > >.
int rows | ( | void | ) | const [inline] |
Reimplemented from MatrixBase< Flagged< ExpressionType, Added, Removed > >.
int stride | ( | void | ) | const [inline] |
Reimplemented from MatrixBase< Flagged< ExpressionType, Added, Removed > >.