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 71 const Unusable& coeff(Index)
const {
return *
reinterpret_cast<const Unusable*
>(
this); }
72 const Unusable& coeff(Index,Index)
const {
return *
reinterpret_cast<const Unusable*
>(
this); }
74 Unusable& coeffRef(Index,Index) {
return *
reinterpret_cast<Unusable*
>(
this); }
75 template<
int LoadMode>
Unusable& packet(Index)
const;
76 template<
int LoadMode>
Unusable& packet(Index, Index)
const;
80 template<
typename Derived>
81 template<
typename OtherDerived>
84 other.evalTo(derived());
88 template<
typename Derived>
89 template<
typename OtherDerived>
92 other.evalTo(derived());
99 #endif // EIGEN_RETURNBYVALUE_H Definition: gtest_unittest.cc:5031
const unsigned int DirectAccessBit
Means that the underlying array of coefficients can be directly accessed as a plain strided array...
Definition: Constants.h:142
iterative scaling algorithm to equilibrate rows and column norms in matrices
Definition: TestIMU_Common.h:87
Base class for all dense matrices, vectors, and arrays.
Definition: DenseBase.h:41
Definition: XprHelper.h:32
Definition: XprHelper.h:350
Definition: ReturnByValue.h:50
Definition: ReturnByValue.h:67
Definition: BandTriangularSolver.h:13
Derived & operator=(const DenseBase< OtherDerived > &other)
Copies other into *this.
Definition: XprHelper.h:316
const unsigned int EvalBeforeNestingBit
means the expression should be evaluated by the calling expression
Definition: Constants.h:58
Definition: ForwardDeclarations.h:17