MOAB
4.9.3pre
|
Expression which must be nested by value. More...
#include <NestByValue.h>
Public Types | |
typedef internal::dense_xpr_base < NestByValue >::type | Base |
Public Member Functions | |
EIGEN_DEVICE_FUNC | NestByValue (const ExpressionType &matrix) |
EIGEN_DEVICE_FUNC Index | rows () const |
EIGEN_DEVICE_FUNC Index | cols () const |
EIGEN_DEVICE_FUNC Index | outerStride () const |
EIGEN_DEVICE_FUNC Index | innerStride () const |
EIGEN_DEVICE_FUNC const CoeffReturnType | coeff (Index row, Index col) const |
EIGEN_DEVICE_FUNC Scalar & | coeffRef (Index row, Index col) |
EIGEN_DEVICE_FUNC const CoeffReturnType | coeff (Index index) const |
EIGEN_DEVICE_FUNC Scalar & | coeffRef (Index index) |
template<int LoadMode> | |
const PacketScalar | packet (Index row, Index col) const |
template<int LoadMode> | |
void | writePacket (Index row, Index col, const PacketScalar &x) |
template<int LoadMode> | |
const PacketScalar | packet (Index index) const |
template<int LoadMode> | |
void | writePacket (Index index, const PacketScalar &x) |
EIGEN_DEVICE_FUNC | operator const ExpressionType & () const |
Protected Attributes | |
const ExpressionType | m_expression |
Expression which must be nested by value.
ExpressionType | the type of the object of which we are requiring nesting-by-value |
This class is the return type of MatrixBase::nestByValue() and most of the time this is the only way it is used.
Definition at line 34 of file NestByValue.h.
typedef internal::dense_xpr_base<NestByValue>::type Eigen::NestByValue< ExpressionType >::Base |
Definition at line 39 of file NestByValue.h.
EIGEN_DEVICE_FUNC Eigen::NestByValue< ExpressionType >::NestByValue | ( | const ExpressionType & | matrix | ) | [inline, explicit] |
Definition at line 42 of file NestByValue.h.
: m_expression(matrix) {}
EIGEN_DEVICE_FUNC const CoeffReturnType Eigen::NestByValue< ExpressionType >::coeff | ( | Index | row, |
Index | col | ||
) | const [inline] |
Definition at line 49 of file NestByValue.h.
{ return m_expression.coeff(row, col); }
EIGEN_DEVICE_FUNC const CoeffReturnType Eigen::NestByValue< ExpressionType >::coeff | ( | Index | index | ) | const [inline] |
Definition at line 59 of file NestByValue.h.
{ return m_expression.coeff(index); }
EIGEN_DEVICE_FUNC Scalar& Eigen::NestByValue< ExpressionType >::coeffRef | ( | Index | row, |
Index | col | ||
) | [inline] |
Definition at line 54 of file NestByValue.h.
{ return m_expression.const_cast_derived().coeffRef(row, col); }
EIGEN_DEVICE_FUNC Scalar& Eigen::NestByValue< ExpressionType >::coeffRef | ( | Index | index | ) | [inline] |
Definition at line 64 of file NestByValue.h.
{ return m_expression.const_cast_derived().coeffRef(index); }
EIGEN_DEVICE_FUNC Index Eigen::NestByValue< ExpressionType >::cols | ( | void | ) | const [inline] |
Definition at line 45 of file NestByValue.h.
{ return m_expression.cols(); }
EIGEN_DEVICE_FUNC Index Eigen::NestByValue< ExpressionType >::innerStride | ( | ) | const [inline] |
Definition at line 47 of file NestByValue.h.
{ return m_expression.innerStride(); }
EIGEN_DEVICE_FUNC Eigen::NestByValue< ExpressionType >::operator const ExpressionType & | ( | ) | const [inline] |
Definition at line 93 of file NestByValue.h.
{ return m_expression; }
EIGEN_DEVICE_FUNC Index Eigen::NestByValue< ExpressionType >::outerStride | ( | ) | const [inline] |
Definition at line 46 of file NestByValue.h.
{ return m_expression.outerStride(); }
const PacketScalar Eigen::NestByValue< ExpressionType >::packet | ( | Index | row, |
Index | col | ||
) | const [inline] |
Definition at line 70 of file NestByValue.h.
{ return m_expression.template packet<LoadMode>(row, col); }
const PacketScalar Eigen::NestByValue< ExpressionType >::packet | ( | Index | index | ) | const [inline] |
Definition at line 82 of file NestByValue.h.
{ return m_expression.template packet<LoadMode>(index); }
EIGEN_DEVICE_FUNC Index Eigen::NestByValue< ExpressionType >::rows | ( | void | ) | const [inline] |
Definition at line 44 of file NestByValue.h.
{ return m_expression.rows(); }
void Eigen::NestByValue< ExpressionType >::writePacket | ( | Index | row, |
Index | col, | ||
const PacketScalar & | x | ||
) | [inline] |
Definition at line 76 of file NestByValue.h.
{ m_expression.const_cast_derived().template writePacket<LoadMode>(row, col, x); }
void Eigen::NestByValue< ExpressionType >::writePacket | ( | Index | index, |
const PacketScalar & | x | ||
) | [inline] |
Definition at line 88 of file NestByValue.h.
{ m_expression.const_cast_derived().template writePacket<LoadMode>(index, x); }
const ExpressionType Eigen::NestByValue< ExpressionType >::m_expression [protected] |
Definition at line 96 of file NestByValue.h.