26 #ifndef EIGEN_NESTBYVALUE_H
27 #define EIGEN_NESTBYVALUE_H
45 template<
typename ExpressionType>
46 struct traits<NestByValue<ExpressionType> > :
public traits<ExpressionType>
51 :
public internal::dense_xpr_base< NestByValue<ExpressionType> >::type
55 typedef typename internal::dense_xpr_base<NestByValue>::type
Base;
65 inline const CoeffReturnType
coeff(Index
row, Index
col)
const
72 return m_expression.const_cast_derived().coeffRef(row, col);
75 inline const CoeffReturnType
coeff(Index index)
const
82 return m_expression.const_cast_derived().coeffRef(index);
85 template<
int LoadMode>
91 template<
int LoadMode>
97 template<
int LoadMode>
98 inline const PacketScalar
packet(Index index)
const
103 template<
int LoadMode>
106 m_expression.const_cast_derived().template writePacket<LoadMode>(index, x);
117 template<
typename Derived>
126 #endif // EIGEN_NESTBYVALUE_H