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>
62 {
static_cast<const Derived*
>(
this)->evalTo(dst); }
68 #ifndef EIGEN_PARSED_BY_DOXYGEN 69 #define Unusable YOU_ARE_TRYING_TO_ACCESS_A_SINGLE_COEFFICIENT_IN_A_SPECIAL_EXPRESSION_WHERE_THAT_IS_NOT_ALLOWED_BECAUSE_THAT_WOULD_BE_INEFFICIENT 82 template<
typename Derived>
83 template<
typename OtherDerived>
96 template<
typename Derived>
98 :
public evaluator<typename internal::traits<Derived>::ReturnType>
107 ::new (static_cast<Base*>(
this)) Base(m_result);
119 #endif // EIGEN_RETURNBYVALUE_H EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index rows() const EIGEN_NOEXCEPT
ReturnByValue< Derived > XprType
traits< Derived >::ReturnType type
const unsigned int DirectAccessBit
Namespace containing all symbols from the Eigen library.
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.
Unusable & coeffRef(Index)
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & operator=(const DenseBase< OtherDerived > &other)
EIGEN_DEVICE_FUNC void evalTo(Dest &dst) const
#define EIGEN_DEVICE_FUNC
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index cols() const EIGEN_NOEXCEPT
Unusable & coeffRef(Index, Index)
const Unusable & coeff(Index) const
internal::dense_xpr_base< ReturnByValue >::type Base
#define EIGEN_DENSE_PUBLIC_INTERFACE(Derived)
const unsigned int EvalBeforeNestingBit
evaluator< PlainObject > Base
internal::traits< Derived >::ReturnType ReturnType
const Unusable & coeff(Index, Index) const
Unusable(const Unusable &)