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
MatrixType::Scalar Scalar
#define EIGEN_DEVICE_FUNC
EIGEN_DEVICE_FUNC Replicate(const OriginalMatrixType &matrix, Index rowFactor, Index colFactor)
Namespace containing all symbols from the Eigen library.
const EIGEN_DEVICE_FUNC Replicate< Derived, RowFactor, ColFactor > replicate() const
const EIGEN_DEVICE_FUNC _MatrixTypeNested & nestedExpression() const
const unsigned int RowMajorBit
#define EIGEN_DENSE_PUBLIC_INTERFACE(Derived)
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index rows() const
internal::traits< Replicate >::MatrixTypeNested MatrixTypeNested
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index cols() const
traits< MatrixType >::XprKind XprKind
const internal::variable_if_dynamic< Index, RowFactor > m_rowFactor
Replicate< ExpressionType,(isVertical?Dynamic:1),(isHorizontal?Dynamic:1)> ReplicateReturnType
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR T value()
Expression of the multiple replication of a matrix or vector.
MatrixTypeNested m_matrix
Map< Matrix< T, Dynamic, Dynamic, ColMajor >, 0, OuterStride<> > matrix(T *data, int rows, int cols, int stride)
internal::dense_xpr_base< Replicate >::type Base
#define EIGEN_STATIC_ASSERT(CONDITION, MSG)
const internal::variable_if_dynamic< Index, ColFactor > m_colFactor
const EIGEN_DEVICE_FUNC ReplicateReturnType replicate(Index factor) const
ref_selector< MatrixType >::type MatrixTypeNested
remove_reference< MatrixTypeNested >::type _MatrixTypeNested
traits< MatrixType >::StorageKind StorageKind
internal::traits< Replicate >::_MatrixTypeNested _MatrixTypeNested
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:03:59