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>

Inherits type< Replicate< MatrixType, RowFactor, ColFactor > >.

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
const _MatrixTypeNested & nestedExpression () 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, Index rowFactor, Index colFactor)
Index rows () const

Protected Attributes

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

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.

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

Member Typedef Documentation

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

Constructor & Destructor Documentation

Replicate ( const OriginalMatrixType &  matrix) [inline, explicit]
Replicate ( const OriginalMatrixType &  matrix,
Index  rowFactor,
Index  colFactor 
) [inline]

References EIGEN_STATIC_ASSERT.


Member Function Documentation

Scalar coeff ( Index  row,
Index  col 
) const [inline]
Index cols ( void  ) const [inline]
const _MatrixTypeNested& nestedExpression ( ) const [inline]
PacketScalar packet ( Index  row,
Index  col 
) const [inline]
Index rows ( void  ) const [inline]

Member Data Documentation

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

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