11 #ifndef EIGEN_RETURNBYVALUE_H 12 #define EIGEN_RETURNBYVALUE_H 18 template<
typename Derived>
20 :
public traits<typename traits<Derived>::ReturnType>
38 template<
typename Derived,
int n,
typename PlainObject>
59 template<typename Dest>
61 inline
void evalTo(Dest& dst)
const 62 {
static_cast<const Derived*
>(
this)->evalTo(dst); }
63 EIGEN_DEVICE_FUNC
inline Index rows()
const {
return static_cast<const Derived*
>(
this)->
rows(); }
64 EIGEN_DEVICE_FUNC
inline Index cols()
const {
return static_cast<const Derived*
>(
this)->
cols(); }
66 #ifndef EIGEN_PARSED_BY_DOXYGEN 67 #define Unusable YOU_ARE_TRYING_TO_ACCESS_A_SINGLE_COEFFICIENT_IN_A_SPECIAL_EXPRESSION_WHERE_THAT_IS_NOT_ALLOWED_BECAUSE_THAT_WOULD_BE_INEFFICIENT 80 template<
typename Derived>
81 template<
typename OtherDerived>
94 template<
typename Derived>
96 :
public evaluator<typename internal::traits<Derived>::ReturnType>
102 EIGEN_DEVICE_FUNC
explicit evaluator(
const XprType& xpr)
105 ::new (static_cast<Base*>(
this)) Base(m_result);
117 #endif // EIGEN_RETURNBYVALUE_H ReturnByValue< Derived > XprType
traits< Derived >::ReturnType type
EIGEN_DEVICE_FUNC Index rows() const
const unsigned int DirectAccessBit
Namespace containing all symbols from the Eigen library.
EIGEN_DEVICE_FUNC void evalTo(Dest &dst) const
internal::traits< Derived >::ReturnType PlainObject
Unusable & operator=(const Unusable &)
EIGEN_DEVICE_FUNC evaluator(const XprType &xpr)
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
const Unusable & coeff(Index) const
Unusable & coeffRef(Index)
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & operator=(const DenseBase< OtherDerived > &other)
const Unusable & coeff(Index, Index) const
Unusable & coeffRef(Index, Index)
internal::dense_xpr_base< ReturnByValue >::type Base
#define EIGEN_DENSE_PUBLIC_INTERFACE(Derived)
EIGEN_DEVICE_FUNC Index cols() const
const unsigned int EvalBeforeNestingBit
evaluator< PlainObject > Base
internal::traits< Derived >::ReturnType ReturnType
Unusable(const Unusable &)