NestByValue< ExpressionType > Class Template Reference

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

#include <NestByValue.h>

Inheritance diagram for NestByValue< ExpressionType >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

const Scalar coeff (int index) const
const Scalar coeff (int row, int col) const
ScalarcoeffRef (int index)
ScalarcoeffRef (int row, int col)
int cols () const
 NestByValue (const ExpressionType &matrix)
template<int LoadMode>
const PacketScalar packet (int index) const
template<int LoadMode>
const PacketScalar packet (int row, int col) const
int rows () const
int stride () const
template<int LoadMode>
void writePacket (int index, const PacketScalar &x)
template<int LoadMode>
void writePacket (int row, int col, const PacketScalar &x)

Protected Attributes

const ExpressionType m_expression

Private Member Functions

NestByValueoperator= (const NestByValue &)

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()

Definition at line 44 of file NestByValue.h.


Constructor & Destructor Documentation

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

Definition at line 51 of file NestByValue.h.


Member Function Documentation

template<typename ExpressionType>
const Scalar NestByValue< ExpressionType >::coeff ( int  index  )  const [inline]

Reimplemented from MatrixBase< NestByValue< ExpressionType > >.

Definition at line 67 of file NestByValue.h.

template<typename ExpressionType>
const Scalar NestByValue< ExpressionType >::coeff ( int  row,
int  col 
) const [inline]

Reimplemented from MatrixBase< NestByValue< ExpressionType > >.

Definition at line 57 of file NestByValue.h.

template<typename ExpressionType>
Scalar& NestByValue< ExpressionType >::coeffRef ( int  index  )  [inline]

Reimplemented from MatrixBase< NestByValue< ExpressionType > >.

Definition at line 72 of file NestByValue.h.

template<typename ExpressionType>
Scalar& NestByValue< ExpressionType >::coeffRef ( int  row,
int  col 
) [inline]

Reimplemented from MatrixBase< NestByValue< ExpressionType > >.

Definition at line 62 of file NestByValue.h.

template<typename ExpressionType>
int NestByValue< ExpressionType >::cols ( void   )  const [inline]
Returns:
the number of columns.
See also:
rows(), ColsAtCompileTime

Reimplemented from MatrixBase< NestByValue< ExpressionType > >.

Definition at line 54 of file NestByValue.h.

template<typename ExpressionType>
NestByValue& NestByValue< ExpressionType >::operator= ( const NestByValue< ExpressionType > &   )  [private]
template<typename ExpressionType>
template<int LoadMode>
const PacketScalar NestByValue< ExpressionType >::packet ( int  index  )  const [inline]

Reimplemented from MatrixBase< NestByValue< ExpressionType > >.

Definition at line 90 of file NestByValue.h.

template<typename ExpressionType>
template<int LoadMode>
const PacketScalar NestByValue< ExpressionType >::packet ( int  row,
int  col 
) const [inline]

Reimplemented from MatrixBase< NestByValue< ExpressionType > >.

Definition at line 78 of file NestByValue.h.

template<typename ExpressionType>
int NestByValue< ExpressionType >::rows ( void   )  const [inline]
Returns:
the number of rows.
See also:
cols(), RowsAtCompileTime

Reimplemented from MatrixBase< NestByValue< ExpressionType > >.

Definition at line 53 of file NestByValue.h.

template<typename ExpressionType>
int NestByValue< ExpressionType >::stride ( void   )  const [inline]
Returns:
number of elements to skip to pass from one row (resp. column) to another for a row-major (resp. column-major) matrix. Combined with coeffRef() and the flags flags, it allows a direct access to the data of the underlying matrix.

Reimplemented from MatrixBase< NestByValue< ExpressionType > >.

Definition at line 55 of file NestByValue.h.

template<typename ExpressionType>
template<int LoadMode>
void NestByValue< ExpressionType >::writePacket ( int  index,
const PacketScalar x 
) [inline]

Reimplemented from MatrixBase< NestByValue< ExpressionType > >.

Definition at line 96 of file NestByValue.h.

template<typename ExpressionType>
template<int LoadMode>
void NestByValue< ExpressionType >::writePacket ( int  row,
int  col,
const PacketScalar x 
) [inline]

Reimplemented from MatrixBase< NestByValue< ExpressionType > >.

Definition at line 84 of file NestByValue.h.


Member Data Documentation

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

Definition at line 102 of file NestByValue.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:22:17 2013