![]() |
Prusa Slicer 2.6.0
|
Permutation matrix. More...
#include <src/eigen/Eigen/src/Core/PermutationMatrix.h>
Inheritance diagram for Eigen::PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndex >:
Collaboration diagram for Eigen::PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndex >:Public Types | |
| typedef const PermutationMatrix & | Nested |
| typedef Traits::IndicesType | IndicesType |
| typedef Traits::StorageIndex | StorageIndex |
| enum | |
| typedef Matrix< StorageIndex, RowsAtCompileTime, ColsAtCompileTime, 0, MaxRowsAtCompileTime, MaxColsAtCompileTime > | DenseMatrixType |
| typedef PermutationMatrix< IndicesType::SizeAtCompileTime, IndicesType::MaxSizeAtCompileTime, StorageIndex > | PlainPermutationType |
| typedef PlainPermutationType | PlainObject |
| typedef Inverse< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndex > > | InverseReturnType |
| typedef void | Scalar |
| typedef Eigen::Index | Index |
| The interface type of indices. | |
| typedef internal::traits< Derived >::StorageKind | StorageKind |
Public Member Functions | |
| PermutationMatrix () | |
| PermutationMatrix (Index size) | |
| template<typename OtherDerived > | |
| PermutationMatrix (const PermutationBase< OtherDerived > &other) | |
| PermutationMatrix (const PermutationMatrix &other) | |
| template<typename Other > | |
| PermutationMatrix (const MatrixBase< Other > &indices) | |
| template<typename Other > | |
| PermutationMatrix (const TranspositionsBase< Other > &tr) | |
| template<typename Other > | |
| PermutationMatrix & | operator= (const PermutationBase< Other > &other) |
| template<typename Other > | |
| PermutationMatrix & | operator= (const TranspositionsBase< Other > &tr) |
| PermutationMatrix & | operator= (const PermutationMatrix &other) |
| const IndicesType & | indices () const |
| IndicesType & | indices () |
| template<typename Other > | |
| PermutationMatrix (const InverseImpl< Other, PermutationStorage > &other) | |
| template<typename Lhs , typename Rhs > | |
| PermutationMatrix (internal::PermPermProduct_t, const Lhs &lhs, const Rhs &rhs) | |
| Index | rows () const |
| Index | cols () const |
| Index | size () const |
| void | evalTo (MatrixBase< DenseDerived > &other) const |
| template<typename Dest > | |
| EIGEN_DEVICE_FUNC void | evalTo (Dest &dst) const |
| DenseMatrixType | toDenseMatrix () const |
| void | resize (Index newSize) |
| void | setIdentity () |
| void | setIdentity (Index newSize) |
| PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndex > & | applyTranspositionOnTheLeft (Index i, Index j) |
| PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndex > & | applyTranspositionOnTheRight (Index i, Index j) |
| InverseReturnType | inverse () const |
| InverseReturnType | transpose () const |
| PlainPermutationType | operator* (const PermutationBase< Other > &other) const |
| PlainPermutationType | operator* (const InverseImpl< Other, PermutationStorage > &other) const |
| Index | determinant () const |
| EIGEN_DEVICE_FUNC PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndex > & | derived () |
| EIGEN_DEVICE_FUNC const PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndex > & | derived () const |
| EIGEN_DEVICE_FUNC Derived & | const_cast_derived () const |
| EIGEN_DEVICE_FUNC const Derived & | const_derived () const |
| template<typename Dest > | |
| EIGEN_DEVICE_FUNC void | addTo (Dest &dst) const |
| template<typename Dest > | |
| EIGEN_DEVICE_FUNC void | subTo (Dest &dst) const |
| template<typename Dest > | |
| EIGEN_DEVICE_FUNC void | applyThisOnTheRight (Dest &dst) const |
| template<typename Dest > | |
| EIGEN_DEVICE_FUNC void | applyThisOnTheLeft (Dest &dst) const |
Protected Member Functions | |
| void | assignTranspose (const PermutationBase< OtherDerived > &other) |
| void | assignProduct (const Lhs &lhs, const Rhs &rhs) |
Protected Attributes | |
| IndicesType | m_indices |
Private Types | |
| typedef PermutationBase< PermutationMatrix > | Base |
| typedef internal::traits< PermutationMatrix > | Traits |
Permutation matrix.
| SizeAtCompileTime | the number of rows/cols, or Dynamic |
| MaxSizeAtCompileTime | the maximum number of rows/cols, or Dynamic. This optional parameter defaults to SizeAtCompileTime. Most of the time, you should not have to specify it. |
| _StorageIndex | the integer type of the indices |
This class represents a permutation matrix, internally stored as a vector of integers.
|
private |
|
inherited |
|
inherited |
The interface type of indices.
To change this, #define the preprocessor symbol EIGEN_DEFAULT_DENSE_INDEX_TYPE.
| typedef Traits::IndicesType Eigen::PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndex >::IndicesType |
|
inherited |
| typedef const PermutationMatrix& Eigen::PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndex >::Nested |
|
inherited |
|
inherited |
|
inherited |
| typedef Traits::StorageIndex Eigen::PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndex >::StorageIndex |
|
inherited |
|
private |
|
inherited |
|
inline |
|
inlineexplicit |
Constructs an uninitialized permutation matrix of given size.
References eigen_internal_assert, and Eigen::PermutationBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndex > >::size().
Here is the call graph for this function:
|
inline |
Copy constructor.
|
inline |
Standard copy constructor. Defined only to prevent a default copy constructor from hiding the other templated constructor
|
inlineexplicit |
Generic constructor from expression of the indices. The indices array has the meaning that the permutations sends each integer i to indices[i].
|
inlineexplicit |
Convert the Transpositions tr to a permutation matrix
|
inline |
References Eigen::InverseImpl< XprType, StorageKind >::coeff(), eigen_internal_assert, Eigen::end(), and Eigen::PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndex >::m_indices.
Here is the call graph for this function:
|
inline |
References Eigen::PermutationBase< Derived >::assignProduct().
Here is the call graph for this function:
|
inlineinherited |
|
inlineinherited |
References Eigen::EigenBase< Derived >::derived().
Here is the call graph for this function:
|
inlineinherited |
References Eigen::EigenBase< Derived >::derived().
Here is the call graph for this function:
|
inlineinherited |
Multiplies *this by the transposition
|
inlineinherited |
Multiplies *this by the transposition
This is a fast operation, it only consists in swapping two indices.
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineinherited |
|
inlineinherited |
Referenced by Eigen::TriangularViewImpl< _MatrixType, _Mode, Dense >::swap().
Here is the caller graph for this function:
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
This function is O(n) procedure allocating a buffer of n booleans.
|
inlineinherited |
Referenced by Eigen::EigenBase< Derived >::subTo().
Here is the caller graph for this function:
|
inlineinherited |
|
inline |
References Eigen::PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndex >::m_indices.
|
inline |
const version of indices().
References Eigen::PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndex >::m_indices.
Referenced by Eigen::FullPivLU< _MatrixType >::_solve_impl_transposed(), Eigen::SparseLU< _MatrixType, _OrderingType >::analyzePattern(), Eigen::SparseLU< _MatrixType, _OrderingType >::factorize(), Eigen::internal::minimum_degree_ordering(), Eigen::MetisOrdering< StorageIndex >::operator()(), Eigen::COLAMDOrdering< StorageIndex >::operator()(), Eigen::internal::permutation_matrix_product< ExpressionType, Side, Transposed, SparseShape >::run(), Eigen::internal::Assignment< DstXprType, SparseSymmetricPermutationProduct< MatrixType, Mode >, internal::assign_op< Scalar, typename MatrixType::Scalar >, Sparse2Sparse >::run(), and Eigen::internal::Assignment< DstXprType, SparseSymmetricPermutationProduct< MatrixType, Mode >, internal::assign_op< Scalar, typename MatrixType::Scalar >, Sparse2Sparse >::run().
Here is the caller graph for this function:
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
Copies the other permutation into *this
References Eigen::PermutationBase< Derived >::indices(), and Eigen::PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndex >::m_indices.
Here is the call graph for this function:
|
inline |
This is a special case of the templated operator=. Its purpose is to prevent a default operator= from hiding the templated operator=.
References Eigen::PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndex >::m_indices.
|
inline |
Assignment from the Transpositions tr
References Eigen::TranspositionsBase< Derived >::derived(), and Eigen::PermutationBase< Derived >::operator=().
Here is the call graph for this function:
|
inlineinherited |
Resizes to given size.
|
inlineinherited |
|
inlineinherited |
Sets *this to be the identity permutation matrix
|
inlineinherited |
Sets *this to be the identity permutation matrix of given size.
|
inlineinherited |
|
inlineinherited |
References Eigen::EigenBase< Derived >::cols(), Eigen::EigenBase< Derived >::evalTo(), and Eigen::EigenBase< Derived >::rows().
Here is the call graph for this function:
|
inlineinherited |
|
inlineinherited |
|
protected |
Referenced by Eigen::PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndex >::PermutationMatrix(), Eigen::PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndex >::indices(), Eigen::PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndex >::indices(), Eigen::PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndex >::operator=(), and Eigen::PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndex >::operator=().