Go to the documentation of this file.
10 #ifndef EIGEN_REPLICATE_H
11 #define EIGEN_REPLICATE_H
16 template<
typename MatrixType,
int RowFactor,
int ColFactor>
28 : RowFactor * MatrixType::RowsAtCompileTime,
31 : ColFactor * MatrixType::ColsAtCompileTime,
33 MaxRowsAtCompileTime = RowsAtCompileTime,
34 MaxColsAtCompileTime = ColsAtCompileTime,
35 IsRowMajor = MaxRowsAtCompileTime==1 && MaxColsAtCompileTime!=1 ? 1
36 : MaxColsAtCompileTime==1 && MaxRowsAtCompileTime!=1 ? 0
61 template<
typename MatrixType,
int RowFactor,
int ColFactor>
class Replicate
72 template<typename OriginalMatrixType>
78 THE_MATRIX_OR_EXPRESSION_THAT_YOU_PASSED_DOES_NOT_HAVE_THE_EXPECTED_TYPE)
82 template<
typename OriginalMatrixType>
88 THE_MATRIX_OR_EXPRESSION_THAT_YOU_PASSED_DOES_NOT_HAVE_THE_EXPECTED_TYPE)
116 template<
typename Derived>
117 template<
int RowFactor,
int ColFactor>
132 template<
typename ExpressionType,
int Direction>
142 #endif // EIGEN_REPLICATE_H
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE T value()
MatrixType::Scalar Scalar
EIGEN_DEVICE_FUNC Replicate(const OriginalMatrixType &matrix, Index rowFactor, Index colFactor)
const EIGEN_DEVICE_FUNC _MatrixTypeNested & nestedExpression() const
EIGEN_DEVICE_FUNC Index cols() const
const unsigned int RowMajorBit
#define EIGEN_DENSE_PUBLIC_INTERFACE(Derived)
internal::traits< Replicate >::MatrixTypeNested MatrixTypeNested
Map< Matrix< T, Dynamic, Dynamic, ColMajor >, 0, OuterStride<> > matrix(T *data, int rows, int cols, int stride)
EIGEN_DEVICE_FUNC Index rows() const
traits< MatrixType >::XprKind XprKind
const internal::variable_if_dynamic< Index, RowFactor > m_rowFactor
Replicate< ExpressionType,(isVertical?Dynamic:1),(isHorizontal?Dynamic:1)> ReplicateReturnType
Expression of the multiple replication of a matrix or vector.
MatrixTypeNested m_matrix
const EIGEN_DEVICE_FUNC Replicate< Derived, RowFactor, ColFactor > replicate() const
internal::dense_xpr_base< Replicate >::type Base
internal::remove_all< MatrixType >::type NestedExpression
#define EIGEN_STATIC_ASSERT(CONDITION, MSG)
const internal::variable_if_dynamic< Index, ColFactor > m_colFactor
ref_selector< MatrixType >::type MatrixTypeNested
remove_reference< MatrixTypeNested >::type _MatrixTypeNested
traits< MatrixType >::StorageKind StorageKind
internal::traits< Replicate >::_MatrixTypeNested _MatrixTypeNested
const EIGEN_DEVICE_FUNC ReplicateReturnType replicate(Index factor) const
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
control_box_rst
Author(s): Christoph Rösmann
autogenerated on Wed Mar 2 2022 00:06:09