Main MRPT website > C++ reference
MRPT logo
Public Member Functions | Protected Attributes | Private Types
Eigen::NoAlias Class Reference

Detailed Description

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()

List of all members.

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

Member Typedef Documentation

typedef ExpressionType::Scalar Eigen::NoAlias::Scalar [private]

Definition at line 47 of file Core.


Constructor & Destructor Documentation

Eigen::NoAlias::NoAlias ( ExpressionType &  expression) [inline]

Definition at line 49 of file Core.


Member Function Documentation

template<typename OtherDerived >
EIGEN_STRONG_INLINE ExpressionType& Eigen::NoAlias::operator+= ( const StorageBase< OtherDerived > &  other) [inline]
See also:
MatrixBase::operator+=

Definition at line 59 of file Core.

template<typename OtherDerived >
EIGEN_STRONG_INLINE ExpressionType& Eigen::NoAlias::operator-= ( const StorageBase< OtherDerived > &  other) [inline]
See also:
MatrixBase::operator-=

Definition at line 71 of file Core.

template<typename OtherDerived >
EIGEN_STRONG_INLINE ExpressionType& Eigen::NoAlias::operator= ( const StorageBase< OtherDerived > &  other) [inline]

Behaves like MatrixBase::lazyAssign(other)

See also:
MatrixBase::lazyAssign()

Definition at line 54 of file Core.


Member Data Documentation

ExpressionType& Eigen::NoAlias::m_expression [protected]

Definition at line 100 of file Core.




Page generated by Doxygen 1.7.5 for MRPT 0.9.5 SVN: at Thu Oct 13 21:25:36 UTC 2011