11 #ifndef EIGEN_NESTBYVALUE_H 12 #define EIGEN_NESTBYVALUE_H 30 template<
typename ExpressionType>
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);
57 return m_expression.const_cast_derived().coeffRef(row, col);
60 inline const CoeffReturnType
coeff(Index index)
const 62 return m_expression.coeff(index);
67 return m_expression.const_cast_derived().coeffRef(index);
70 template<
int LoadMode>
73 return m_expression.template packet<LoadMode>(
row,
col);
76 template<
int LoadMode>
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>
91 m_expression.const_cast_derived().template writePacket<LoadMode>(index, x);
102 template<
typename Derived>
111 #endif // EIGEN_NESTBYVALUE_H const CoeffReturnType coeff(Index row, Index col) const
internal::dense_xpr_base< NestByValue >::type Base
Scalar & coeffRef(Index index)
iterative scaling algorithm to equilibrate rows and column norms in matrices
Index innerStride() const
const PacketScalar packet(Index row, Index col) const
const ExpressionType m_expression
void writePacket(Index index, const PacketScalar &x)
Expression which must be nested by value.
#define EIGEN_DENSE_PUBLIC_INTERFACE(Derived)
const NestByValue< Derived > nestByValue() const
Scalar & coeffRef(Index row, Index col)
const CoeffReturnType coeff(Index index) const
void writePacket(Index row, Index col, const PacketScalar &x)
Index outerStride() const
const PacketScalar packet(Index index) const