Public Types | Public Member Functions | Protected Attributes | List of all members
Eigen::NoAlias< ExpressionType, StorageBase > Class Template Reference

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

#include <NoAlias.h>

Public Types

typedef ExpressionType::Scalar Scalar
 

Public Member Functions

EIGEN_DEVICE_FUNC ExpressionType & expression () const
 
 NoAlias (ExpressionType &expression)
 
template<typename OtherDerived >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ExpressionType & operator+= (const StorageBase< OtherDerived > &other)
 
template<typename OtherDerived >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ExpressionType & operator-= (const StorageBase< OtherDerived > &other)
 
template<typename OtherDerived >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE 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.

Template 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 Typedef Documentation

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

Definition at line 34 of file NoAlias.h.

Constructor & Destructor Documentation

template<typename ExpressionType, template< typename > class StorageBase>
Eigen::NoAlias< ExpressionType, StorageBase >::NoAlias ( ExpressionType &  expression)
inlineexplicit

Definition at line 36 of file NoAlias.h.

Member Function Documentation

template<typename ExpressionType, template< typename > class StorageBase>
EIGEN_DEVICE_FUNC ExpressionType& Eigen::NoAlias< ExpressionType, StorageBase >::expression ( ) const
inline

Definition at line 63 of file NoAlias.h.

template<typename ExpressionType, template< typename > class StorageBase>
template<typename OtherDerived >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ExpressionType& Eigen::NoAlias< ExpressionType, StorageBase >::operator+= ( const StorageBase< OtherDerived > &  other)
inline

Definition at line 48 of file NoAlias.h.

template<typename ExpressionType, template< typename > class StorageBase>
template<typename OtherDerived >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ExpressionType& Eigen::NoAlias< ExpressionType, StorageBase >::operator-= ( const StorageBase< OtherDerived > &  other)
inline

Definition at line 56 of file NoAlias.h.

template<typename ExpressionType, template< typename > class StorageBase>
template<typename OtherDerived >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ExpressionType& Eigen::NoAlias< ExpressionType, StorageBase >::operator= ( const StorageBase< OtherDerived > &  other)
inline

Definition at line 40 of file NoAlias.h.

Member Data Documentation

template<typename ExpressionType, template< typename > class StorageBase>
ExpressionType& Eigen::NoAlias< ExpressionType, StorageBase >::m_expression
protected

Definition at line 69 of file NoAlias.h.


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


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:53:23