Expression with modified flags. More...
#include <Flagged.h>
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 |
Private Member Functions | |
Flagged & | operator= (const Flagged &) |
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.
Definition at line 48 of file Flagged.h.
typedef ei_meta_if<ei_must_nest_by_value<ExpressionType>::ret, ExpressionType, const ExpressionType&>::ret Flagged< ExpressionType, Added, Removed >::ExpressionTypeNested |
typedef ExpressionType::InnerIterator Flagged< ExpressionType, Added, Removed >::InnerIterator |
const ExpressionType& Flagged< ExpressionType, Added, Removed >::_expression | ( | ) | const [inline] |
const Scalar Flagged< ExpressionType, Added, Removed >::coeff | ( | int | index | ) | const [inline] |
Reimplemented from MatrixBase< Flagged< ExpressionType, Added, Removed > >.
const Scalar Flagged< ExpressionType, Added, Removed >::coeff | ( | int | row, | |
int | col | |||
) | const [inline] |
Reimplemented from MatrixBase< Flagged< ExpressionType, Added, Removed > >.
Scalar& Flagged< ExpressionType, Added, Removed >::coeffRef | ( | int | index | ) | [inline] |
Reimplemented from MatrixBase< Flagged< ExpressionType, Added, Removed > >.
Scalar& Flagged< ExpressionType, Added, Removed >::coeffRef | ( | int | row, | |
int | col | |||
) | [inline] |
Reimplemented from MatrixBase< Flagged< ExpressionType, Added, Removed > >.
int Flagged< ExpressionType, Added, Removed >::cols | ( | ) | const [inline] |
Reimplemented from MatrixBase< Flagged< ExpressionType, Added, Removed > >.
Flagged& Flagged< ExpressionType, Added, Removed >::operator= | ( | const Flagged< ExpressionType, Added, Removed > & | ) | [private] |
const PacketScalar Flagged< ExpressionType, Added, Removed >::packet | ( | int | index | ) | const [inline] |
Reimplemented from MatrixBase< Flagged< ExpressionType, Added, Removed > >.
const PacketScalar Flagged< ExpressionType, Added, Removed >::packet | ( | int | row, | |
int | col | |||
) | const [inline] |
Reimplemented from MatrixBase< Flagged< ExpressionType, Added, Removed > >.
int Flagged< ExpressionType, Added, Removed >::rows | ( | ) | const [inline] |
Reimplemented from MatrixBase< Flagged< ExpressionType, Added, Removed > >.
int Flagged< ExpressionType, Added, Removed >::stride | ( | void | ) | const [inline] |
Reimplemented from MatrixBase< Flagged< ExpressionType, Added, Removed > >.
void Flagged< ExpressionType, Added, Removed >::writePacket | ( | int | index, | |
const PacketScalar & | x | |||
) | [inline] |
Reimplemented from MatrixBase< Flagged< ExpressionType, Added, Removed > >.
void Flagged< ExpressionType, Added, Removed >::writePacket | ( | int | row, | |
int | col, | |||
const PacketScalar & | x | |||
) | [inline] |
Reimplemented from MatrixBase< Flagged< ExpressionType, Added, Removed > >.
ExpressionTypeNested Flagged< ExpressionType, Added, Removed >::m_matrix [protected] |