![]() |
|
Expression of the multiple replication of a matrix or vector. More...
#include <Replicate.h>
Public Types | |
typedef internal::dense_xpr_base< Replicate >::type | Base |
typedef internal::remove_all_t< MatrixType > | NestedExpression |
Public Member Functions | |
template<typename OriginalMatrixType > | |
EIGEN_DEVICE_FUNC | Replicate (const OriginalMatrixType &matrix) |
template<typename OriginalMatrixType > | |
EIGEN_DEVICE_FUNC | Replicate (const OriginalMatrixType &matrix, Index rowFactor, Index colFactor) |
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index | rows () const |
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index | cols () const |
EIGEN_DEVICE_FUNC const MatrixTypeNested_ & | nestedExpression () const |
Protected Attributes | |
MatrixTypeNested | m_matrix |
const internal::variable_if_dynamic< Index, RowFactor > | m_rowFactor |
const internal::variable_if_dynamic< Index, ColFactor > | m_colFactor |
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.
typedef internal::dense_xpr_base<Replicate>::type Eigen::Replicate< MatrixType, RowFactor, ColFactor >::Base |
|
private |
|
private |
typedef internal::remove_all_t<MatrixType> Eigen::Replicate< MatrixType, RowFactor, ColFactor >::NestedExpression |
|
inlineexplicit |
References Eigen::Dynamic, eigen_assert, EIGEN_STATIC_ASSERT, and Eigen::value.
|
inline |
References EIGEN_STATIC_ASSERT, and Eigen::value.
|
inline |
References Eigen::Replicate< MatrixType, RowFactor, ColFactor >::m_colFactor, Eigen::Replicate< MatrixType, RowFactor, ColFactor >::m_matrix, and Eigen::internal::variable_if_dynamic< T, Value >::value().
Referenced by gdb.printers._MatrixEntryIterator::__next__(), gdb.printers.EigenMatrixPrinter::children(), gdb.printers.EigenSparseMatrixPrinter::children(), gdb.printers.EigenMatrixPrinter::to_string(), and gdb.printers.EigenSparseMatrixPrinter::to_string().
|
inline |
|
inline |
References Eigen::Replicate< MatrixType, RowFactor, ColFactor >::m_matrix, Eigen::Replicate< MatrixType, RowFactor, ColFactor >::m_rowFactor, and Eigen::internal::variable_if_dynamic< T, Value >::value().
Referenced by gdb.printers._MatrixEntryIterator::__next__(), gdb.printers.EigenMatrixPrinter::children(), gdb.printers.EigenSparseMatrixPrinter::children(), gdb.printers.EigenMatrixPrinter::to_string(), and gdb.printers.EigenSparseMatrixPrinter::to_string().
|
protected |
Referenced by Eigen::Replicate< MatrixType, RowFactor, ColFactor >::cols().
|
protected |
|
protected |
Referenced by Eigen::Replicate< MatrixType, RowFactor, ColFactor >::rows().