Eigne Matrix Class Library

Dependents:   Eigen_test Odometry_test AttitudeEstimation_usingTicker MPU9250_Quaternion_Binary_Serial ... more

Embed: (wiki syntax)

« Back to documentation index

NoAlias< ExpressionType, StorageBase > Class Template Reference

NoAlias< ExpressionType, StorageBase > Class Template Reference
[Core module]

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

#include <NoAlias.h>

Public Member Functions

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)

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

Definition at line 31 of file NoAlias.h.


Member Function Documentation

EIGEN_STRONG_INLINE ExpressionType& operator+= ( const StorageBase< OtherDerived > &  other )
See also:
MatrixBase::operator+=

Definition at line 45 of file NoAlias.h.

EIGEN_STRONG_INLINE ExpressionType& operator-= ( const StorageBase< OtherDerived > &  other )
See also:
MatrixBase::operator-=

Definition at line 57 of file NoAlias.h.

EIGEN_STRONG_INLINE ExpressionType& operator= ( const StorageBase< OtherDerived > &  other )

Behaves like MatrixBase::lazyAssign(other)

See also:
MatrixBase::lazyAssign()

Definition at line 40 of file NoAlias.h.