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 row, Index col) const |
| Index | cols () 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 |
| const 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.
Definition at line 72 of file Replicate.h.
| typedef internal::dense_xpr_base<Replicate>::type Replicate< MatrixType, RowFactor, ColFactor >::Base |
Definition at line 77 of file Replicate.h.
| Replicate< MatrixType, RowFactor, ColFactor >::Replicate | ( | const OriginalMatrixType & | matrix | ) | [inline, explicit] |
Definition at line 81 of file Replicate.h.
| Replicate< MatrixType, RowFactor, ColFactor >::Replicate | ( | const OriginalMatrixType & | matrix, |
| int | rowFactor, | ||
| int | colFactor | ||
| ) | [inline] |
Definition at line 90 of file Replicate.h.
| Scalar Replicate< MatrixType, RowFactor, ColFactor >::coeff | ( | Index | row, |
| Index | col | ||
| ) | const [inline] |
Definition at line 100 of file Replicate.h.
| Index Replicate< MatrixType, RowFactor, ColFactor >::cols | ( | void | ) | const [inline] |
Definition at line 98 of file Replicate.h.
| PacketScalar Replicate< MatrixType, RowFactor, ColFactor >::packet | ( | Index | row, |
| Index | col | ||
| ) | const [inline] |
Definition at line 113 of file Replicate.h.
| Index Replicate< MatrixType, RowFactor, ColFactor >::rows | ( | void | ) | const [inline] |
Definition at line 97 of file Replicate.h.
const internal::variable_if_dynamic<Index, ColFactor> Replicate< MatrixType, RowFactor, ColFactor >::m_colFactor [protected] |
Definition at line 129 of file Replicate.h.
const MatrixType::Nested Replicate< MatrixType, RowFactor, ColFactor >::m_matrix [protected] |
Definition at line 127 of file Replicate.h.
const internal::variable_if_dynamic<Index, RowFactor> Replicate< MatrixType, RowFactor, ColFactor >::m_rowFactor [protected] |
Definition at line 128 of file Replicate.h.