Public Types | Public Member Functions | Protected Attributes

NestByValue< ExpressionType > Class Template Reference

Expression which must be nested by value. More...

#include <NestByValue.h>

List of all members.

Public Types

typedef
internal::dense_xpr_base
< NestByValue >::type 
Base

Public Member Functions

 NestByValue (const ExpressionType &matrix)
Index rows () const
Index cols () const
Index outerStride () const
Index innerStride () const
const CoeffReturnType coeff (Index row, Index col) const
Scalar & coeffRef (Index row, Index col)
const CoeffReturnType coeff (Index index) const
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)
 operator const ExpressionType & () const

Protected Attributes

const ExpressionType m_expression

Detailed Description

template<typename ExpressionType>
class NestByValue< ExpressionType >

Expression which must be nested by value.

Parameters:
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.

See also:
MatrixBase::nestByValue()

Member Typedef Documentation

template<typename ExpressionType>
typedef internal::dense_xpr_base<NestByValue>::type NestByValue< ExpressionType >::Base

Constructor & Destructor Documentation

template<typename ExpressionType>
NestByValue< ExpressionType >::NestByValue ( const ExpressionType &  matrix  )  [inline]

Member Function Documentation

template<typename ExpressionType>
const CoeffReturnType NestByValue< ExpressionType >::coeff ( Index  row,
Index  col 
) const [inline]
template<typename ExpressionType>
const CoeffReturnType NestByValue< ExpressionType >::coeff ( Index  index  )  const [inline]
template<typename ExpressionType>
Scalar& NestByValue< ExpressionType >::coeffRef ( Index  index  )  [inline]
template<typename ExpressionType>
Scalar& NestByValue< ExpressionType >::coeffRef ( Index  row,
Index  col 
) [inline]
template<typename ExpressionType>
Index NestByValue< ExpressionType >::cols ( void   )  const [inline]
template<typename ExpressionType>
Index NestByValue< ExpressionType >::innerStride (  )  const [inline]
template<typename ExpressionType>
NestByValue< ExpressionType >::operator const ExpressionType & (  )  const [inline]
template<typename ExpressionType>
Index NestByValue< ExpressionType >::outerStride (  )  const [inline]
template<typename ExpressionType>
template<int LoadMode>
const PacketScalar NestByValue< ExpressionType >::packet ( Index  row,
Index  col 
) const [inline]
template<typename ExpressionType>
template<int LoadMode>
const PacketScalar NestByValue< ExpressionType >::packet ( Index  index  )  const [inline]
template<typename ExpressionType>
Index NestByValue< ExpressionType >::rows ( void   )  const [inline]
template<typename ExpressionType>
template<int LoadMode>
void NestByValue< ExpressionType >::writePacket ( Index  row,
Index  col,
const PacketScalar &  x 
) [inline]
template<typename ExpressionType>
template<int LoadMode>
void NestByValue< ExpressionType >::writePacket ( Index  index,
const PacketScalar &  x 
) [inline]

Member Data Documentation

template<typename ExpressionType>
const ExpressionType NestByValue< ExpressionType >::m_expression [protected]

The documentation for this class was generated from the following file: