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
 
EIGEN_DEVICE_FUNC 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

◆ Scalar

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

◆ NoAlias()

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

Definition at line 37 of file NoAlias.h.

Member Function Documentation

◆ expression()

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

Definition at line 64 of file NoAlias.h.

◆ operator+=()

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 49 of file NoAlias.h.

◆ operator-=()

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 57 of file NoAlias.h.

◆ operator=()

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 41 of file NoAlias.h.

Member Data Documentation

◆ m_expression

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

Definition at line 70 of file NoAlias.h.


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


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:11:18