11 #ifndef EIGEN_RETURNBYVALUE_H 12 #define EIGEN_RETURNBYVALUE_H 23 template<
typename Derived>
25 :
public traits<typename traits<Derived>::ReturnType>
42 template<
typename Derived,
int n,
typename PlainObject>
59 template<typename Dest>
60 inline
void evalTo(Dest& dst)
const 61 {
static_cast<const Derived*
>(
this)->evalTo(dst); }
62 inline Index
rows()
const {
return static_cast<const Derived*
>(
this)->
rows(); }
63 inline Index
cols()
const {
return static_cast<const Derived*
>(
this)->
cols(); }
65 #ifndef EIGEN_PARSED_BY_DOXYGEN 66 #define Unusable YOU_ARE_TRYING_TO_ACCESS_A_SINGLE_COEFFICIENT_IN_A_SPECIAL_EXPRESSION_WHERE_THAT_IS_NOT_ALLOWED_BECAUSE_THAT_WOULD_BE_INEFFICIENT 78 template<
typename Derived>
79 template<
typename OtherDerived>
88 #endif // EIGEN_RETURNBYVALUE_H const unsigned int DirectAccessBit
Unusable & operator=(const Unusable &)
const Unusable & coeff(Index) const
Unusable & coeffRef(Index)
traits< Derived >::ReturnType type
const Unusable & coeff(Index, Index) const
Unusable & coeffRef(Index, Index)
#define EIGEN_DENSE_PUBLIC_INTERFACE(Derived)
internal::dense_xpr_base< ReturnByValue >::type Base
Derived & operator=(const DenseBase< OtherDerived > &other)
const unsigned int EvalBeforeNestingBit
void evalTo(Dest &dst) const
internal::traits< Derived >::ReturnType ReturnType
Unusable(const Unusable &)