11 #ifndef EIGEN_NESTBYVALUE_H
12 #define EIGEN_NESTBYVALUE_H
17 template<
typename ExpressionType>
46 EIGEN_DEVICE_FUNC
explicit inline NestByValue(
const ExpressionType& matrix) : m_expression(matrix) {}
48 EIGEN_DEVICE_FUNC
inline Index rows()
const {
return m_expression.rows(); }
49 EIGEN_DEVICE_FUNC
inline Index cols()
const {
return m_expression.cols(); }
51 EIGEN_DEVICE_FUNC
operator const ExpressionType&()
const {
return m_expression; }
53 EIGEN_DEVICE_FUNC
const ExpressionType& nestedExpression()
const {
return m_expression; }
56 const ExpressionType m_expression;
61 template<
typename Derived>
71 template<
typename ArgType>
78 :
Base(xpr.nestedExpression())
85 #endif // EIGEN_NESTBYVALUE_H
Namespace containing all symbols from the Eigen library.
Definition: LDLT.h:16
Definition: XprHelper.h:492
EIGEN_DEVICE_FUNC const NestByValue< Derived > nestByValue() const
Definition: NestByValue.h:63
Definition: CoreEvaluators.h:91
Definition: ForwardDeclarations.h:17
Expression which must be nested by value.
Definition: NestByValue.h:40
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition: Meta.h:42