Public Types | Public Member Functions | Protected Attributes

Flagged< ExpressionType, Added, Removed > Class Template Reference

Expression with modified flags. More...

#include <Flagged.h>

Inheritance diagram for Flagged< ExpressionType, Added, Removed >:
MatrixBase< Flagged< ExpressionType, Added, Removed > > DenseBase< Flagged< ExpressionType, Added, Removed > > internal::special_scalar_op_base< Derived, Scalar, OtherScalar, EnableIt > DenseCoeffsBase

List of all members.

Public Types

typedef MatrixBase< FlaggedBase
typedef internal::conditional
< internal::must_nest_by_value
< ExpressionType >::ret,
ExpressionType, const
ExpressionType & >::type 
ExpressionTypeNested
typedef
ExpressionType::InnerIterator 
InnerIterator

Public Member Functions

 Flagged (const ExpressionType &matrix)
Index rows () const
Index cols () const
Index outerStride () const
Index innerStride () const
CoeffReturnType coeff (Index row, Index col) const
CoeffReturnType coeff (Index index) const
const ScalarcoeffRef (Index row, Index col) const
const ScalarcoeffRef (Index index) const
ScalarcoeffRef (Index row, Index col)
ScalarcoeffRef (Index index)
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 ExpressionType & _expression () const
template<typename OtherDerived >
ExpressionType::PlainObject solveTriangular (const MatrixBase< OtherDerived > &other) const
template<typename OtherDerived >
void solveTriangularInPlace (const MatrixBase< OtherDerived > &other) const

Protected Attributes

ExpressionTypeNested m_matrix

Detailed Description

template<typename ExpressionType, unsigned int Added, unsigned int Removed>
class 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 Typedef Documentation

template<typename ExpressionType, unsigned int Added, unsigned int Removed>
typedef MatrixBase<Flagged> Flagged< ExpressionType, Added, Removed >::Base
template<typename ExpressionType, unsigned int Added, unsigned int Removed>
typedef internal::conditional<internal::must_nest_by_value<ExpressionType>::ret, ExpressionType, const ExpressionType&>::type Flagged< ExpressionType, Added, Removed >::ExpressionTypeNested
template<typename ExpressionType, unsigned int Added, unsigned int Removed>
typedef ExpressionType::InnerIterator Flagged< ExpressionType, Added, Removed >::InnerIterator

Constructor & Destructor Documentation

template<typename ExpressionType, unsigned int Added, unsigned int Removed>
Flagged< ExpressionType, Added, Removed >::Flagged ( const ExpressionType &  matrix  )  [inline]

Member Function Documentation

template<typename ExpressionType, unsigned int Added, unsigned int Removed>
const ExpressionType& Flagged< ExpressionType, Added, Removed >::_expression (  )  const [inline]
template<typename ExpressionType, unsigned int Added, unsigned int Removed>
CoeffReturnType Flagged< ExpressionType, Added, Removed >::coeff ( Index  row,
Index  col 
) const [inline]
template<typename ExpressionType, unsigned int Added, unsigned int Removed>
CoeffReturnType Flagged< ExpressionType, Added, Removed >::coeff ( Index  index  )  const [inline]
template<typename ExpressionType, unsigned int Added, unsigned int Removed>
const Scalar& Flagged< ExpressionType, Added, Removed >::coeffRef ( Index  index  )  const [inline]
template<typename ExpressionType, unsigned int Added, unsigned int Removed>
Scalar& Flagged< ExpressionType, Added, Removed >::coeffRef ( Index  row,
Index  col 
) [inline]
template<typename ExpressionType, unsigned int Added, unsigned int Removed>
Scalar& Flagged< ExpressionType, Added, Removed >::coeffRef ( Index  index  )  [inline]
template<typename ExpressionType, unsigned int Added, unsigned int Removed>
const Scalar& Flagged< ExpressionType, Added, Removed >::coeffRef ( Index  row,
Index  col 
) const [inline]
template<typename ExpressionType, unsigned int Added, unsigned int Removed>
Index Flagged< ExpressionType, Added, Removed >::cols ( void   )  const [inline]
template<typename ExpressionType, unsigned int Added, unsigned int Removed>
Index Flagged< ExpressionType, Added, Removed >::innerStride (  )  const [inline]
template<typename ExpressionType, unsigned int Added, unsigned int Removed>
Index Flagged< ExpressionType, Added, Removed >::outerStride (  )  const [inline]
template<typename ExpressionType, unsigned int Added, unsigned int Removed>
template<int LoadMode>
const PacketScalar Flagged< ExpressionType, Added, Removed >::packet ( Index  index  )  const [inline]
template<typename ExpressionType, unsigned int Added, unsigned int Removed>
template<int LoadMode>
const PacketScalar Flagged< ExpressionType, Added, Removed >::packet ( Index  row,
Index  col 
) const [inline]
template<typename ExpressionType, unsigned int Added, unsigned int Removed>
Index Flagged< ExpressionType, Added, Removed >::rows ( void   )  const [inline]
template<typename ExpressionType , unsigned int Added, unsigned int Removed>
template<typename OtherDerived >
ExpressionType::PlainObject Flagged< ExpressionType, Added, Removed >::solveTriangular ( const MatrixBase< OtherDerived > &  other  )  const
template<typename ExpressionType , unsigned int Added, unsigned int Removed>
template<typename OtherDerived >
void Flagged< ExpressionType, Added, Removed >::solveTriangularInPlace ( const MatrixBase< OtherDerived > &  other  )  const
template<typename ExpressionType, unsigned int Added, unsigned int Removed>
template<int LoadMode>
void Flagged< ExpressionType, Added, Removed >::writePacket ( Index  index,
const PacketScalar x 
) [inline]
template<typename ExpressionType, unsigned int Added, unsigned int Removed>
template<int LoadMode>
void Flagged< ExpressionType, Added, Removed >::writePacket ( Index  row,
Index  col,
const PacketScalar x 
) [inline]

Member Data Documentation

template<typename ExpressionType, unsigned int Added, unsigned int Removed>
ExpressionTypeNested Flagged< ExpressionType, Added, Removed >::m_matrix [protected]

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