Pseudo expression providing an operator = assuming no aliasing.
ExpressionType | the 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.
#include <src/Core/NoAlias.h>
Public Member Functions | |
NoAlias (ExpressionType &expression) | |
template<typename OtherDerived > | |
EIGEN_STRONG_INLINE ExpressionType & | operator= (const StorageBase< OtherDerived > &other) |
Behaves like MatrixBase::lazyAssign(other) | |
template<typename OtherDerived > | |
EIGEN_STRONG_INLINE ExpressionType & | operator+= (const StorageBase< OtherDerived > &other) |
template<typename OtherDerived > | |
EIGEN_STRONG_INLINE ExpressionType & | operator-= (const StorageBase< OtherDerived > &other) |
Protected Attributes | |
ExpressionType & | m_expression |
Private Types | |
typedef ExpressionType::Scalar | Scalar |
EIGEN_STRONG_INLINE ExpressionType& NoAlias< ExpressionType, StorageBase >::operator+= | ( | const StorageBase< OtherDerived > & | other | ) | [inline] |
Definition at line 58 of file NoAlias.h.
References NoAlias< ExpressionType, StorageBase >::m_expression.
EIGEN_STRONG_INLINE ExpressionType& NoAlias< ExpressionType, StorageBase >::operator-= | ( | const StorageBase< OtherDerived > & | other | ) | [inline] |
Definition at line 70 of file NoAlias.h.
References NoAlias< ExpressionType, StorageBase >::m_expression.
EIGEN_STRONG_INLINE ExpressionType& NoAlias< ExpressionType, StorageBase >::operator= | ( | const StorageBase< OtherDerived > & | other | ) | [inline] |
Behaves like MatrixBase::lazyAssign(other)
Definition at line 53 of file NoAlias.h.
References NoAlias< ExpressionType, StorageBase >::m_expression.
ExpressionType& NoAlias< ExpressionType, StorageBase >::m_expression [protected] |
Definition at line 99 of file NoAlias.h.
Referenced by NoAlias< ExpressionType, StorageBase >::operator+=(), NoAlias< ExpressionType, StorageBase >::operator-=(), and NoAlias< ExpressionType, StorageBase >::operator=().
Page generated by Doxygen 1.7.3 for MRPT 0.9.4 SVN:exported at Tue Jan 25 21:56:31 UTC 2011 |