|
| IndicesType & | indices () |
| |
| const IndicesType & | indices () const |
| |
| template<typename Other > |
| PermutationMatrix & | operator= (const PermutationBase< Other > &other) |
| |
| template<typename Other > |
| PermutationMatrix & | operator= (const TranspositionsBase< Other > &tr) |
| |
| | PermutationMatrix () |
| |
| template<typename Other > |
| | PermutationMatrix (const InverseImpl< Other, PermutationStorage > &other) |
| |
| template<typename Other > |
| | PermutationMatrix (const MatrixBase< Other > &indices) |
| |
| template<typename OtherDerived > |
| | PermutationMatrix (const PermutationBase< OtherDerived > &other) |
| |
| template<typename Other > |
| | PermutationMatrix (const TranspositionsBase< Other > &tr) |
| |
| | PermutationMatrix (Index size) |
| |
| template<typename Lhs , typename Rhs > |
| | PermutationMatrix (internal::PermPermProduct_t, const Lhs &lhs, const Rhs &rhs) |
| |
| PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndex > & | applyTranspositionOnTheLeft (Index i, Index j) |
| |
| PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndex > & | applyTranspositionOnTheRight (Index i, Index j) |
| |
| EIGEN_DEVICE_FUNC Index | cols () const |
| |
| EIGEN_DEVICE_FUNC PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndex > & | derived () |
| |
| const EIGEN_DEVICE_FUNC PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndex > & | derived () const |
| |
| Index | determinant () const |
| |
| void | evalTo (MatrixBase< DenseDerived > &other) const |
| |
| IndicesType & | indices () |
| |
| const IndicesType & | indices () const |
| |
| InverseReturnType | inverse () const |
| |
| PlainPermutationType | operator* (const InverseImpl< Other, PermutationStorage > &other) const |
| |
| PlainPermutationType | operator* (const PermutationBase< Other > &other) const |
| |
| PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndex > & | operator= (const PermutationBase< OtherDerived > &other) |
| |
| PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndex > & | operator= (const TranspositionsBase< OtherDerived > &tr) |
| |
| void | resize (Index newSize) |
| |
| EIGEN_DEVICE_FUNC Index | rows () const |
| |
| void | setIdentity () |
| |
| void | setIdentity (Index newSize) |
| |
| EIGEN_DEVICE_FUNC Index | size () const |
| |
| DenseMatrixType | toDenseMatrix () const |
| |
| InverseReturnType | transpose () const |
| |
| EIGEN_DEVICE_FUNC void | addTo (Dest &dst) const |
| |
| EIGEN_DEVICE_FUNC void | applyThisOnTheLeft (Dest &dst) const |
| |
| EIGEN_DEVICE_FUNC void | applyThisOnTheRight (Dest &dst) const |
| |
| EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index | cols () const EIGEN_NOEXCEPT |
| |
| EIGEN_DEVICE_FUNC PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndex > & | const_cast_derived () const |
| |
| const EIGEN_DEVICE_FUNC PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndex > & | const_derived () const |
| |
| EIGEN_DEVICE_FUNC PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndex > & | derived () |
| |
| const EIGEN_DEVICE_FUNC PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndex > & | derived () const |
| |
| EIGEN_DEVICE_FUNC void | evalTo (Dest &dst) const |
| |
| EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index | rows () const EIGEN_NOEXCEPT |
| |
| EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index | size () const EIGEN_NOEXCEPT |
| |
| EIGEN_DEVICE_FUNC void | subTo (Dest &dst) const |
| |
template<int SizeAtCompileTime, int MaxSizeAtCompileTime, typename _StorageIndex>
class Eigen::PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndex >
Permutation matrix.
- Template Parameters
-
| 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.
- See also
- class PermutationBase, class PermutationWrapper, class DiagonalMatrix
Definition at line 297 of file PermutationMatrix.h.
template<int SizeAtCompileTime, int MaxSizeAtCompileTime, typename _StorageIndex >
template<typename Other >
Generic constructor from expression of the indices. The indices array has the meaning that the permutations sends each integer i to indices[i].
- Warning
- It is your responsibility to check that the indices array that you passes actually describes a permutation, i.e., each value between 0 and n-1 occurs exactly once, where n is the array's size.
Definition at line 333 of file PermutationMatrix.h.