Expression of the multiple replication of a matrix or vector. More...
Inherits internal::dense_xpr_base::type.
Public Types | |
typedef internal::dense_xpr_base< Replicate >::type | Base |
typedef internal::remove_all_t< MatrixType > | NestedExpression |
Public Member Functions | |
EIGEN_CONSTEXPR Index | cols () const |
const MatrixTypeNested_ & | nestedExpression () const |
template<typename OriginalMatrixType > | |
Replicate (const OriginalMatrixType &matrix) | |
template<typename OriginalMatrixType > | |
Replicate (const OriginalMatrixType &matrix, Index rowFactor, Index colFactor) | |
EIGEN_CONSTEXPR 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 |
RowFactor | number of repetitions at compile time along the vertical direction, can be Dynamic. |
ColFactor | number of repetitions at compile time along the horizontal direction, can be Dynamic. |
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 63 of file Replicate.h.
typedef internal::dense_xpr_base<Replicate>::type Eigen::Replicate< MatrixType, RowFactor, ColFactor >::Base |
Definition at line 70 of file Replicate.h.
|
private |
Definition at line 66 of file Replicate.h.
|
private |
Definition at line 67 of file Replicate.h.
typedef internal::remove_all_t<MatrixType> Eigen::Replicate< MatrixType, RowFactor, ColFactor >::NestedExpression |
Definition at line 72 of file Replicate.h.
|
inlineexplicit |
Definition at line 76 of file Replicate.h.
|
inline |
Definition at line 86 of file Replicate.h.
|
inline |
Definition at line 96 of file Replicate.h.
|
inline |
Definition at line 99 of file Replicate.h.
|
inline |
Definition at line 94 of file Replicate.h.
|
protected |
Definition at line 107 of file Replicate.h.
|
protected |
Definition at line 105 of file Replicate.h.
|
protected |
Definition at line 106 of file Replicate.h.