Expression of the multiple replication of a matrix or vector. More...
#include <Replicate.h>
Public Types | |
typedef internal::dense_xpr_base < Replicate >::type | Base |
Public Member Functions | |
Scalar | coeff (Index rowId, Index colId) const |
Index | cols () const |
const _MatrixTypeNested & | nestedExpression () const |
template<int LoadMode> | |
PacketScalar | packet (Index rowId, Index colId) const |
template<typename OriginalMatrixType > | |
Replicate (const OriginalMatrixType &a_matrix) | |
template<typename OriginalMatrixType > | |
Replicate (const OriginalMatrixType &a_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 |
Private Types | |
typedef internal::traits < Replicate > ::_MatrixTypeNested | _MatrixTypeNested |
typedef internal::traits < Replicate > ::MatrixTypeNested | MatrixTypeNested |
Expression of the multiple replication of a matrix or vector.
MatrixType | the 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.
Definition at line 62 of file Replicate.h.
typedef internal::traits<Replicate>::_MatrixTypeNested Eigen::Replicate< MatrixType, RowFactor, ColFactor >::_MatrixTypeNested [private] |
Definition at line 66 of file Replicate.h.
typedef internal::dense_xpr_base<Replicate>::type Eigen::Replicate< MatrixType, RowFactor, ColFactor >::Base |
Definition at line 69 of file Replicate.h.
typedef internal::traits<Replicate>::MatrixTypeNested Eigen::Replicate< MatrixType, RowFactor, ColFactor >::MatrixTypeNested [private] |
Definition at line 65 of file Replicate.h.
Eigen::Replicate< MatrixType, RowFactor, ColFactor >::Replicate | ( | const OriginalMatrixType & | a_matrix | ) | [inline, explicit] |
Definition at line 73 of file Replicate.h.
Eigen::Replicate< MatrixType, RowFactor, ColFactor >::Replicate | ( | const OriginalMatrixType & | a_matrix, |
Index | rowFactor, | ||
Index | colFactor | ||
) | [inline] |
Definition at line 82 of file Replicate.h.
Scalar Eigen::Replicate< MatrixType, RowFactor, ColFactor >::coeff | ( | Index | rowId, |
Index | colId | ||
) | const [inline] |
Definition at line 92 of file Replicate.h.
Index Eigen::Replicate< MatrixType, RowFactor, ColFactor >::cols | ( | void | ) | const [inline] |
Definition at line 90 of file Replicate.h.
const _MatrixTypeNested& Eigen::Replicate< MatrixType, RowFactor, ColFactor >::nestedExpression | ( | ) | const [inline] |
Definition at line 117 of file Replicate.h.
PacketScalar Eigen::Replicate< MatrixType, RowFactor, ColFactor >::packet | ( | Index | rowId, |
Index | colId | ||
) | const [inline] |
Definition at line 105 of file Replicate.h.
Index Eigen::Replicate< MatrixType, RowFactor, ColFactor >::rows | ( | void | ) | const [inline] |
Definition at line 89 of file Replicate.h.
const internal::variable_if_dynamic<Index, ColFactor> Eigen::Replicate< MatrixType, RowFactor, ColFactor >::m_colFactor [protected] |
Definition at line 125 of file Replicate.h.
MatrixTypeNested Eigen::Replicate< MatrixType, RowFactor, ColFactor >::m_matrix [protected] |
Definition at line 123 of file Replicate.h.
const internal::variable_if_dynamic<Index, RowFactor> Eigen::Replicate< MatrixType, RowFactor, ColFactor >::m_rowFactor [protected] |
Definition at line 124 of file Replicate.h.