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

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

#include <NoAlias.h>

Public Member Functions

ExpressionTypeexpression () const
 
 NoAlias (ExpressionType &expression)
 
template<typename OtherDerived >
EIGEN_STRONG_INLINE ExpressionTypeoperator+= (const StorageBase< OtherDerived > &other)
 
template<typename ProductDerived , typename Lhs , typename Rhs >
EIGEN_STRONG_INLINE ExpressionTypeoperator+= (const ProductBase< ProductDerived, Lhs, Rhs > &other)
 
template<typename Lhs , typename Rhs , int NestingFlags>
EIGEN_STRONG_INLINE ExpressionTypeoperator+= (const CoeffBasedProduct< Lhs, Rhs, NestingFlags > &other)
 
template<typename OtherDerived >
EIGEN_STRONG_INLINE ExpressionTypeoperator-= (const StorageBase< OtherDerived > &other)
 
template<typename ProductDerived , typename Lhs , typename Rhs >
EIGEN_STRONG_INLINE ExpressionTypeoperator-= (const ProductBase< ProductDerived, Lhs, Rhs > &other)
 
template<typename Lhs , typename Rhs , int NestingFlags>
EIGEN_STRONG_INLINE ExpressionTypeoperator-= (const CoeffBasedProduct< Lhs, Rhs, NestingFlags > &other)
 
template<typename OtherDerived >
EIGEN_STRONG_INLINE ExpressionTypeoperator= (const StorageBase< OtherDerived > &other)
 
template<typename OtherDerived >
ExpressionTypeoperator= (const ReturnByValue< OtherDerived > &func)
 

Protected Attributes

ExpressionTypem_expression
 

Private Types

typedef ExpressionType::Scalar Scalar
 

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

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

Definition at line 33 of file NoAlias.h.

Constructor & Destructor Documentation

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

Definition at line 35 of file NoAlias.h.

Member Function Documentation

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

Definition at line 89 of file NoAlias.h.

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

Definition at line 45 of file NoAlias.h.

template<typename ExpressionType, template< typename > class StorageBase>
template<typename ProductDerived , typename Lhs , typename Rhs >
EIGEN_STRONG_INLINE ExpressionType& Eigen::NoAlias< ExpressionType, StorageBase >::operator+= ( const ProductBase< ProductDerived, Lhs, Rhs > &  other)
inline

Definition at line 69 of file NoAlias.h.

template<typename ExpressionType, template< typename > class StorageBase>
template<typename Lhs , typename Rhs , int NestingFlags>
EIGEN_STRONG_INLINE ExpressionType& Eigen::NoAlias< ExpressionType, StorageBase >::operator+= ( const CoeffBasedProduct< Lhs, Rhs, NestingFlags > &  other)
inline

Definition at line 77 of file NoAlias.h.

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

Definition at line 57 of file NoAlias.h.

template<typename ExpressionType, template< typename > class StorageBase>
template<typename ProductDerived , typename Lhs , typename Rhs >
EIGEN_STRONG_INLINE ExpressionType& Eigen::NoAlias< ExpressionType, StorageBase >::operator-= ( const ProductBase< ProductDerived, Lhs, Rhs > &  other)
inline

Definition at line 73 of file NoAlias.h.

template<typename ExpressionType, template< typename > class StorageBase>
template<typename Lhs , typename Rhs , int NestingFlags>
EIGEN_STRONG_INLINE ExpressionType& Eigen::NoAlias< ExpressionType, StorageBase >::operator-= ( const CoeffBasedProduct< Lhs, Rhs, NestingFlags > &  other)
inline

Definition at line 81 of file NoAlias.h.

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

Behaves like MatrixBase::lazyAssign(other)

See also
MatrixBase::lazyAssign()

Definition at line 40 of file NoAlias.h.

template<typename ExpressionType, template< typename > class StorageBase>
template<typename OtherDerived >
ExpressionType& Eigen::NoAlias< ExpressionType, StorageBase >::operator= ( const ReturnByValue< OtherDerived > &  func)
inline

Definition at line 85 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 95 of file NoAlias.h.


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


acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Mon Jun 10 2019 12:35:37