10 #ifndef EIGEN_NOALIAS_H 11 #define EIGEN_NOALIAS_H 30 template<
typename ExpressionType,
template <
typename>
class StorageBase>
35 NoAlias(ExpressionType& expression) : m_expression(expression) {}
39 template<
typename OtherDerived>
40 EIGEN_STRONG_INLINE ExpressionType&
operator=(
const StorageBase<OtherDerived>& other)
44 template<
typename OtherDerived>
45 EIGEN_STRONG_INLINE ExpressionType&
operator+=(
const StorageBase<OtherDerived>& other)
48 SelfAdder tmp(m_expression);
56 template<
typename OtherDerived>
57 EIGEN_STRONG_INLINE ExpressionType&
operator-=(
const StorageBase<OtherDerived>& other)
60 SelfAdder tmp(m_expression);
67 #ifndef EIGEN_PARSED_BY_DOXYGEN 68 template<
typename ProductDerived,
typename Lhs,
typename Rhs>
70 { other.derived().addTo(m_expression);
return m_expression; }
72 template<
typename ProductDerived,
typename Lhs,
typename Rhs>
74 { other.derived().subTo(m_expression);
return m_expression; }
76 template<
typename Lhs,
typename Rhs,
int NestingFlags>
80 template<
typename Lhs,
typename Rhs,
int NestingFlags>
84 template<
typename OtherDerived>
86 {
return m_expression = func; }
89 ExpressionType& expression()
const 95 ExpressionType& m_expression;
126 template<
typename Derived>
134 #endif // EIGEN_NOALIAS_H Pseudo expression providing an operator = assuming no aliasing.
Definition: NoAlias.h:31
Definition: ProductBase.h:63
iterative scaling algorithm to equilibrate rows and column norms in matrices
Definition: TestIMU_Common.h:87
EIGEN_STRONG_INLINE ExpressionType & operator=(const StorageBase< OtherDerived > &other)
Behaves like MatrixBase::lazyAssign(other)
Definition: NoAlias.h:40
Definition: ReturnByValue.h:50
Definition: SelfCwiseBinaryOp.h:45
EIGEN_STRONG_INLINE ExpressionType & operator+=(const StorageBase< OtherDerived > &other)
Definition: NoAlias.h:45
EIGEN_STRONG_INLINE ExpressionType & operator-=(const StorageBase< OtherDerived > &other)
Definition: NoAlias.h:57
Definition: CoeffBasedProduct.h:114
Definition: benchGeometry.cpp:23
NoAlias< Derived, Eigen::MatrixBase > noalias()
Definition: NoAlias.h:127
double Scalar
Common scalar type.
Definition: FlexibleKalmanBase.h:48