Public Types | Public Member Functions | Protected Attributes
Replicate< MatrixType, RowFactor, ColFactor > Class Template Reference

Expression of the multiple replication of a matrix or vector. More...

#include <Replicate.h>

Inheritance diagram for Replicate< MatrixType, RowFactor, ColFactor >:
Inheritance graph
[legend]

List of all members.

Public Types

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

Public Member Functions

Scalar coeff (Index row, Index col) const
Index cols () const
template<int LoadMode>
PacketScalar packet (Index row, Index col) const
template<typename OriginalMatrixType >
 Replicate (const OriginalMatrixType &matrix)
template<typename OriginalMatrixType >
 Replicate (const OriginalMatrixType &matrix, int rowFactor, int colFactor)
Index rows () const

Protected Attributes

const
internal::variable_if_dynamic
< Index, ColFactor > 
m_colFactor
const MatrixType::Nested m_matrix
const
internal::variable_if_dynamic
< Index, RowFactor > 
m_rowFactor

Detailed Description

template<typename MatrixType, int RowFactor, int ColFactor>
class Replicate< MatrixType, RowFactor, ColFactor >

Expression of the multiple replication of a matrix or vector.

Parameters:
MatrixTypethe type of the object we are replicating

This class represents an expression of the multiple replication of a matrix or vector. It is the return type of DenseBase::replicate() and most of the time this is the only way it is used.

See also:
DenseBase::replicate()

Definition at line 72 of file Replicate.h.


Member Typedef Documentation

template<typename MatrixType, int RowFactor, int ColFactor>
typedef internal::dense_xpr_base<Replicate>::type Replicate< MatrixType, RowFactor, ColFactor >::Base

Definition at line 77 of file Replicate.h.


Constructor & Destructor Documentation

template<typename MatrixType, int RowFactor, int ColFactor>
template<typename OriginalMatrixType >
Replicate< MatrixType, RowFactor, ColFactor >::Replicate ( const OriginalMatrixType &  matrix) [inline, explicit]

Definition at line 81 of file Replicate.h.

template<typename MatrixType, int RowFactor, int ColFactor>
template<typename OriginalMatrixType >
Replicate< MatrixType, RowFactor, ColFactor >::Replicate ( const OriginalMatrixType &  matrix,
int  rowFactor,
int  colFactor 
) [inline]

Definition at line 90 of file Replicate.h.


Member Function Documentation

template<typename MatrixType, int RowFactor, int ColFactor>
Scalar Replicate< MatrixType, RowFactor, ColFactor >::coeff ( Index  row,
Index  col 
) const [inline]

Definition at line 100 of file Replicate.h.

template<typename MatrixType, int RowFactor, int ColFactor>
Index Replicate< MatrixType, RowFactor, ColFactor >::cols ( void  ) const [inline]

Definition at line 98 of file Replicate.h.

template<typename MatrixType, int RowFactor, int ColFactor>
template<int LoadMode>
PacketScalar Replicate< MatrixType, RowFactor, ColFactor >::packet ( Index  row,
Index  col 
) const [inline]

Definition at line 113 of file Replicate.h.

template<typename MatrixType, int RowFactor, int ColFactor>
Index Replicate< MatrixType, RowFactor, ColFactor >::rows ( void  ) const [inline]

Definition at line 97 of file Replicate.h.


Member Data Documentation

template<typename MatrixType, int RowFactor, int ColFactor>
const internal::variable_if_dynamic<Index, ColFactor> Replicate< MatrixType, RowFactor, ColFactor >::m_colFactor [protected]

Definition at line 129 of file Replicate.h.

template<typename MatrixType, int RowFactor, int ColFactor>
const MatrixType::Nested Replicate< MatrixType, RowFactor, ColFactor >::m_matrix [protected]

Definition at line 127 of file Replicate.h.

template<typename MatrixType, int RowFactor, int ColFactor>
const internal::variable_if_dynamic<Index, RowFactor> Replicate< MatrixType, RowFactor, ColFactor >::m_rowFactor [protected]

Definition at line 128 of file Replicate.h.


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


re_vision
Author(s): Dorian Galvez-Lopez
autogenerated on Sun Jan 5 2014 11:34:18