Go to the documentation of this file.
10 #ifndef EIGEN_TRANSPOSITIONS_H
11 #define EIGEN_TRANSPOSITIONS_H
15 template<
typename Derived>
26 Derived&
derived() {
return *
static_cast<Derived*
>(
this); }
27 const Derived&
derived()
const {
return *
static_cast<const Derived*
>(
this); }
30 template<
typename OtherDerived>
37 #ifndef EIGEN_PARSED_BY_DOXYGEN
119 template<
int SizeAtCompileTime,
int MaxSizeAtCompileTime,
typename _StorageIndex>
121 :
traits<PermutationMatrix<SizeAtCompileTime,MaxSizeAtCompileTime,_StorageIndex> >
157 template<
int SizeAtCompileTime,
int MaxSizeAtCompileTime,
typename _StorageIndex>
170 template<
typename OtherDerived>
174 #ifndef EIGEN_PARSED_BY_DOXYGEN
181 template<
typename Other>
186 template<
typename OtherDerived>
192 #ifndef EIGEN_PARSED_BY_DOXYGEN
220 template<
int SizeAtCompileTime,
int MaxSizeAtCompileTime,
typename _StorageIndex,
int _PacketAccess>
222 :
traits<PermutationMatrix<SizeAtCompileTime,MaxSizeAtCompileTime,_StorageIndex> >
230 template<
int SizeAtCompileTime,
int MaxSizeAtCompileTime,
typename _StorageIndex,
int PacketAccess>
232 :
public TranspositionsBase<Map<Transpositions<SizeAtCompileTime,MaxSizeAtCompileTime,_StorageIndex>,PacketAccess> >
242 : m_indices(indicesPtr)
246 : m_indices(indicesPtr,
size)
250 template<
typename OtherDerived>
253 return Base::operator=(other);
256 #ifndef EIGEN_PARSED_BY_DOXYGEN
262 m_indices = other.m_indices;
279 template<
typename _IndicesType>
281 :
traits<PermutationWrapper<_IndicesType> >
287 template<
typename _IndicesType>
303 template<
typename OtherDerived>
309 #ifndef EIGEN_PARSED_BY_DOXYGEN
335 template<
typename MatrixDerived,
typename TranspositionsDerived>
347 template<
typename TranspositionsDerived,
typename MatrixDerived>
349 const Product<TranspositionsDerived, MatrixDerived, AliasFreeProduct>
361 template<
typename Derived>
368 template<
typename TranspositionsDerived>
383 template<
typename OtherDerived>
friend
392 template<
typename OtherDerived>
407 #endif // EIGEN_TRANSPOSITIONS_H
Traits::IndicesType IndicesType
TranspositionsStorage StorageKind
Transpose< TranspositionsBase > inverse() const
const IndicesType & indices() const
const StorageIndex & operator()(Index i) const
TranspositionsWrapper(IndicesType &indices)
Map< const Matrix< _StorageIndex, SizeAtCompileTime, 1, 0, MaxSizeAtCompileTime, 1 >, _PacketAccess > IndicesType
StorageIndex & operator[](Index i)
const IndicesType & indices() const
internal::traits< Transpositions > Traits
Transpose(const TranspositionType &t)
const StorageIndex & coeff(Index i) const
Map & operator=(const Map &other)
Transpositions & operator=(const Transpositions &other)
TranspositionsWrapper & operator=(const TranspositionsBase< OtherDerived > &other)
Transpose< TranspositionsBase > transpose() const
const TranspositionType & nestedExpression() const
internal::traits< Derived > Traits
Represents a sequence of transpositions (row/column interchange)
Map< Matrix< T, Dynamic, Dynamic, ColMajor >, 0, OuterStride<> > matrix(T *data, int rows, int cols, int stride)
const EIGEN_DEVICE_FUNC Product< MatrixDerived, PermutationDerived, AliasFreeProduct > operator*(const MatrixBase< MatrixDerived > &matrix, const PermutationBase< PermutationDerived > &permutation)
Expression of the transpose of a matrix.
Map(const StorageIndex *indicesPtr, Index size)
void resize(Index newSize)
TranspositionsStorage StorageKind
Matrix< _StorageIndex, SizeAtCompileTime, 1, 0, MaxSizeAtCompileTime, 1 > IndicesType
Transpositions(Index size)
const Derived & derived() const
internal::traits< Map > Traits
Traits::IndicesType IndicesType
Transpositions(const MatrixBase< Other > &indices)
Transpositions(const TranspositionsBase< OtherDerived > &other)
IndicesType::Scalar StorageIndex
Traits::IndicesType IndicesType
const friend Product< OtherDerived, Transpose, AliasFreeProduct > operator*(const MatrixBase< OtherDerived > &matrix, const Transpose &trt)
Expression of the product of two arbitrary matrices or vectors.
const IndicesType & indices() const
TranspositionsDerived TranspositionType
Map & operator=(const TranspositionsBase< OtherDerived > &other)
A matrix or vector expression mapping an existing array of data.
_StorageIndex StorageIndex
TranspositionType::IndicesType IndicesType
internal::traits< TranspositionsWrapper > Traits
TranspositionsBase< Map > Base
TranspositionsBase< TranspositionsWrapper > Base
Transpositions(const Transpositions &other)
Map(const StorageIndex *indicesPtr)
const Product< Transpose, OtherDerived, AliasFreeProduct > operator*(const MatrixBase< OtherDerived > &matrix) const
Transpositions & operator=(const TranspositionsBase< OtherDerived > &other)
static constexpr size_t size(Tuple< Args... > &)
Provides access to the number of elements in a tuple as a compile-time constant expression.
TranspositionsStorage StorageKind
IndicesType::Scalar StorageIndex
The matrix class, also used for vectors and row-vectors.
const TranspositionType & m_transpositions
Traits::IndicesType IndicesType
const IndicesType & indices() const
Base class for all dense matrices, vectors, and expressions.
TranspositionsBase< Transpositions > Base
IndicesType::Scalar StorageIndex
Derived & operator=(const TranspositionsBase< OtherDerived > &other)
const StorageIndex & operator[](Index i) const
internal::traits< Matrix< _Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::Scalar Scalar
StorageIndex & operator()(Index i)
StorageIndex & coeffRef(Index i)
IndicesType::Nested m_indices
Derived & operator=(const TranspositionsBase &other)
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
IndicesType::Scalar StorageIndex
TranspositionsWrapper & operator=(const TranspositionsWrapper &other)
control_box_rst
Author(s): Christoph Rösmann
autogenerated on Wed Mar 2 2022 00:07:08