Main MRPT website > C++ reference
MRPT logo
Public Types | Public Member Functions | Protected Attributes
Eigen::Replicate Class Reference

Detailed Description

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

List of all members.

Public Types

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

Public Member Functions

template<typename OriginalMatrixType >
 Replicate (const OriginalMatrixType &matrix)
template<typename OriginalMatrixType >
 Replicate (const OriginalMatrixType &matrix, int rowFactor, int colFactor)
Index rows () const
Index cols () const
Scalar coeff (Index row, Index col) const
template<int LoadMode>
PacketScalar packet (Index row, Index col) const
const internal::remove_all
< typename MatrixType::Nested >
::type & 
nestedExpression () const

Protected Attributes

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

Member Typedef Documentation

Definition at line 78 of file Core.


Constructor & Destructor Documentation

template<typename OriginalMatrixType >
Eigen::Replicate::Replicate ( const OriginalMatrixType &  matrix) [inline, explicit]

Definition at line 82 of file Core.

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

Definition at line 91 of file Core.


Member Function Documentation

Scalar Eigen::Replicate::coeff ( Index  row,
Index  col 
) const [inline]

Definition at line 101 of file Core.

Index Eigen::Replicate::cols ( void  ) const [inline]

Definition at line 99 of file Core.

const internal::remove_all<typename MatrixType::Nested>::type& Eigen::Replicate::nestedExpression ( ) const [inline]

Definition at line 126 of file Core.

template<int LoadMode>
PacketScalar Eigen::Replicate::packet ( Index  row,
Index  col 
) const [inline]

Definition at line 114 of file Core.

Index Eigen::Replicate::rows ( void  ) const [inline]

Definition at line 98 of file Core.


Member Data Documentation

const internal::variable_if_dynamic<Index, ColFactor> Eigen::Replicate::m_colFactor [protected]

Definition at line 134 of file Core.

const MatrixType::Nested Eigen::Replicate::m_matrix [protected]

Definition at line 132 of file Core.

const internal::variable_if_dynamic<Index, RowFactor> Eigen::Replicate::m_rowFactor [protected]

Definition at line 133 of file Core.




Page generated by Doxygen 1.7.5 for MRPT 0.9.5 SVN: at Thu Oct 13 21:25:36 UTC 2011