WPILibC++ 2023.4.3
Eigen::NoAlias< ExpressionType, StorageBase > Class Template Reference

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

#include </home/runner/work/allwpilib/allwpilib/wpimath/src/main/native/thirdparty/eigen/include/Eigen/src/Core/NoAlias.h>

Public Types

typedef ExpressionType::Scalar Scalar
 

Public Member Functions

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)
 
EIGEN_DEVICE_FUNC ExpressionType & expression () const
 

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

Member Typedef Documentation

◆ Scalar

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

Constructor & Destructor Documentation

◆ NoAlias()

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

Member Function Documentation

◆ expression()

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

◆ 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

◆ 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

◆ 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

Member Data Documentation

◆ m_expression

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

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