Expression of the multiple replication of a matrix or vector. More...
Inherits type< Replicate< MatrixType, RowFactor, ColFactor > >.
Public Types | |
| typedef internal::dense_xpr_base < Replicate >::type | Base |
Public Member Functions | |
| Scalar | coeff (Index row, Index col) const |
| Index | cols () const |
| const internal::remove_all < typename MatrixType::Nested > ::type & | 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, int rowFactor, int colFactor) | |
| Index | rows () const |
Protected Attributes | |
| const internal::variable_if_dynamic < Index, ColFactor > | m_colFactor |
| MatrixType::Nested | m_matrix |
| const internal::variable_if_dynamic < Index, RowFactor > | m_rowFactor |
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.
| Replicate | ( | const OriginalMatrixType & | matrix | ) | [inline, explicit] |
| Index cols | ( | void | ) | const [inline] |
| const internal::remove_all<typename MatrixType::Nested>::type& nestedExpression | ( | ) | const [inline] |
| Index rows | ( | void | ) | const [inline] |
const internal::variable_if_dynamic<Index, ColFactor> m_colFactor [protected] |
MatrixType::Nested m_matrix [protected] |
const internal::variable_if_dynamic<Index, RowFactor> m_rowFactor [protected] |
1.7.5.1