compbio
Public Types | Public Member Functions | Protected Attributes | List of all members
Eigen::Replicate< MatrixType, RowFactor, ColFactor > Class Template Reference

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

#include <Replicate.h>

Inheritance diagram for Eigen::Replicate< MatrixType, RowFactor, ColFactor >:

Public Types

typedef internal::dense_xpr_base< Replicate >::type Base
 
typedef internal::remove_all< MatrixType >::type NestedExpression
 

Public Member Functions

template<typename OriginalMatrixType >
EIGEN_DEVICE_FUNC Replicate (const OriginalMatrixType &matrix)
 
template<typename OriginalMatrixType >
EIGEN_DEVICE_FUNC Replicate (const OriginalMatrixType &matrix, Index rowFactor, Index colFactor)
 
EIGEN_DEVICE_FUNC Index rows () const
 
EIGEN_DEVICE_FUNC Index cols () const
 
EIGEN_DEVICE_FUNC const _MatrixTypeNested & nestedExpression () const
 

Protected Attributes

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

Detailed Description

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

Expression of the multiple replication of a matrix or vector.

Template Parameters
MatrixTypethe type of the object we are replicating
RowFactornumber of repetitions at compile time along the vertical direction, can be Dynamic.
ColFactornumber of repetitions at compile time along the horizontal direction, can be Dynamic.

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

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