Expression which must be nested by value. More...
#include <NestByValue.h>
Inherits type< NestByValue< ExpressionType > >.
Public Types | |
typedef internal::dense_xpr_base < NestByValue >::type | Base |
Public Member Functions | |
const CoeffReturnType | coeff (Index row, Index col) const |
const CoeffReturnType | coeff (Index index) const |
Scalar & | coeffRef (Index row, Index col) |
Scalar & | coeffRef (Index index) |
Index | cols () const |
Index | innerStride () const |
NestByValue (const ExpressionType &matrix) | |
operator const ExpressionType & () const | |
Index | outerStride () const |
template<int LoadMode> | |
const PacketScalar | packet (Index row, Index col) const |
template<int LoadMode> | |
const PacketScalar | packet (Index index) const |
Index | rows () const |
template<int LoadMode> | |
void | writePacket (Index row, Index col, const PacketScalar &x) |
template<int LoadMode> | |
void | writePacket (Index index, const PacketScalar &x) |
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.
typedef internal::dense_xpr_base<NestByValue>::type Base |
NestByValue | ( | const ExpressionType & | matrix | ) | [inline] |
const CoeffReturnType coeff | ( | Index | row, |
Index | col | ||
) | const [inline] |
References NestByValue< ExpressionType >::m_expression.
const CoeffReturnType coeff | ( | Index | index | ) | const [inline] |
References NestByValue< ExpressionType >::m_expression.
Scalar& coeffRef | ( | Index | row, |
Index | col | ||
) | [inline] |
References NestByValue< ExpressionType >::m_expression.
Scalar& coeffRef | ( | Index | index | ) | [inline] |
References NestByValue< ExpressionType >::m_expression.
Index cols | ( | void | ) | const [inline] |
References NestByValue< ExpressionType >::m_expression.
Index innerStride | ( | ) | const [inline] |
References NestByValue< ExpressionType >::m_expression.
operator const ExpressionType & | ( | ) | const [inline] |
References NestByValue< ExpressionType >::m_expression.
Index outerStride | ( | ) | const [inline] |
References NestByValue< ExpressionType >::m_expression.
const PacketScalar packet | ( | Index | row, |
Index | col | ||
) | const [inline] |
References col(), NestByValue< ExpressionType >::m_expression, and row().
const PacketScalar packet | ( | Index | index | ) | const [inline] |
References NestByValue< ExpressionType >::m_expression.
Index rows | ( | void | ) | const [inline] |
References NestByValue< ExpressionType >::m_expression.
void writePacket | ( | Index | row, |
Index | col, | ||
const PacketScalar & | x | ||
) | [inline] |
References col(), NestByValue< ExpressionType >::m_expression, and row().
void writePacket | ( | Index | index, |
const PacketScalar & | x | ||
) | [inline] |
References NestByValue< ExpressionType >::m_expression.
const ExpressionType m_expression [protected] |
Referenced by NestByValue< ExpressionType >::coeff(), NestByValue< ExpressionType >::coeffRef(), NestByValue< ExpressionType >::cols(), NestByValue< ExpressionType >::innerStride(), NestByValue< ExpressionType >::operator const ExpressionType &(), NestByValue< ExpressionType >::outerStride(), NestByValue< ExpressionType >::packet(), NestByValue< ExpressionType >::rows(), and NestByValue< ExpressionType >::writePacket().