Public Member Functions | Protected Attributes
NoAlias< ExpressionType, StorageBase > Class Template Reference

Pseudo expression providing an operator = assuming no aliasing. More...

#include <NoAlias.h>

List of all members.

Public Member Functions

 NoAlias (ExpressionType &expression)
template<typename OtherDerived >
ExpressionType & operator+= (const StorageBase< OtherDerived > &other)
template<typename OtherDerived >
ExpressionType & operator-= (const StorageBase< OtherDerived > &other)
template<typename OtherDerived >
ExpressionType & operator= (const StorageBase< OtherDerived > &other)

Protected Attributes

ExpressionType & m_expression

Detailed Description

template<typename ExpressionType, template< typename > class StorageBase>
class Eigen::NoAlias< ExpressionType, StorageBase >

Pseudo expression providing an operator = assuming no aliasing.

Parameters:
ExpressionTypethe type of the object on which to do the lazy assignment

This class represents an expression with special assignment operators assuming no aliasing between the target expression and the source expression. More precisely it alloas to bypass the EvalBeforeAssignBit flag of the source expression. It is the return type of MatrixBase::noalias() and most of the time this is the only way it is used.

See also:
MatrixBase::noalias()

Constructor & Destructor Documentation

NoAlias ( ExpressionType &  expression)
inline

Member Function Documentation

ExpressionType& operator+= ( const StorageBase< OtherDerived > &  other)
inline
ExpressionType& operator-= ( const StorageBase< OtherDerived > &  other)
inline
ExpressionType& operator= ( const StorageBase< OtherDerived > &  other)
inline

Behaves like MatrixBase::lazyAssign(other)

See also:
MatrixBase::lazyAssign()

References NoAlias< ExpressionType, StorageBase >::m_expression.


Member Data Documentation

ExpressionType& m_expression
protected

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