11#ifndef EIGEN_NESTBYVALUE_H
12#define EIGEN_NESTBYVALUE_H
17template<
typename ExpressionType>
46 EIGEN_DEVICE_FUNC
explicit inline NestByValue(
const ExpressionType& matrix) : m_expression(matrix) {}
48 EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR
inline Index rows()
const EIGEN_NOEXCEPT {
return m_expression.rows(); }
49 EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR
inline Index cols()
const EIGEN_NOEXCEPT {
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;
61template<
typename Derived>
71template<
typename ArgType>
Base class for all dense matrices, vectors, and arrays.
Definition DenseBase.h:47
Base class for all dense matrices, vectors, and expressions.
Definition MatrixBase.h:50
Expression which must be nested by value.
Definition NestByValue.h:40
Namespace containing all symbols from the Eigen library.
Definition LDLT.h:16
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition Meta.h:74
Definition XprHelper.h:484
Definition CoreEvaluators.h:91
Definition ForwardDeclarations.h:17