11 #ifndef EIGEN_NESTBYVALUE_H 12 #define EIGEN_NESTBYVALUE_H 30 template<
typename ExpressionType>
43 inline NestByValue(
const ExpressionType& matrix) : m_expression(matrix) {}
45 inline Index rows()
const {
return m_expression.rows(); }
46 inline Index cols()
const {
return m_expression.cols(); }
47 inline Index outerStride()
const {
return m_expression.outerStride(); }
48 inline Index innerStride()
const {
return m_expression.innerStride(); }
50 inline const CoeffReturnType coeff(Index row, Index col)
const 52 return m_expression.coeff(row, col);
55 inline Scalar& coeffRef(Index row, Index col)
57 return m_expression.const_cast_derived().coeffRef(row, col);
60 inline const CoeffReturnType coeff(Index index)
const 62 return m_expression.coeff(index);
65 inline Scalar& coeffRef(Index index)
67 return m_expression.const_cast_derived().coeffRef(index);
70 template<
int LoadMode>
71 inline const PacketScalar packet(Index row, Index col)
const 73 return m_expression.template packet<LoadMode>(row, col);
76 template<
int LoadMode>
77 inline void writePacket(Index row, Index col,
const PacketScalar& x)
79 m_expression.const_cast_derived().template writePacket<LoadMode>(row, col, x);
82 template<
int LoadMode>
83 inline const PacketScalar packet(Index index)
const 85 return m_expression.template packet<LoadMode>(index);
88 template<
int LoadMode>
89 inline void writePacket(Index index,
const PacketScalar& x)
91 m_expression.const_cast_derived().template writePacket<LoadMode>(index, x);
94 operator const ExpressionType&()
const {
return m_expression; }
97 const ExpressionType m_expression;
102 template<
typename Derived>
111 #endif // EIGEN_NESTBYVALUE_H Definition: gtest_unittest.cc:5031
iterative scaling algorithm to equilibrate rows and column norms in matrices
Definition: TestIMU_Common.h:87
const NestByValue< Derived > nestByValue() const
Definition: NestByValue.h:104
Definition: XprHelper.h:350
Expression which must be nested by value.
Definition: NestByValue.h:35
Definition: BandTriangularSolver.h:13
Definition: ForwardDeclarations.h:17