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
|
| IndicesType & | indices () |
| |
| const IndicesType & | indices () const |
| |
| template<typename Other> |
| PermutationMatrix & | operator= (const PermutationBase< Other > &other) |
| |
| template<typename Other> |
| PermutationMatrix & | operator= (const TranspositionsBase< Other > &tr) |
| |
| 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) |
| |
| PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, StorageIndex_ > & | applyTranspositionOnTheLeft (Index i, Index j) |
| |
| PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, StorageIndex_ > & | applyTranspositionOnTheRight (Index i, Index j) |
| |
| Index | cols () const |
| |
| Index | determinant () const |
| |
| DenseMatrixType | eval () 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) |
| |
| Index | rows () const |
| |
| void | setIdentity () |
| |
| void | setIdentity (Index newSize) |
| |
| Index | size () const |
| |
| DenseMatrixType | toDenseMatrix () const |
| |
| InverseReturnType | transpose () const |
| |
| constexpr Index | cols () const noexcept |
| |
| constexpr PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, StorageIndex_ > & | derived () |
| |
| constexpr const PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, StorageIndex_ > & | derived () const |
| |
| constexpr Index | rows () const noexcept |
| |
| constexpr Index | size () const noexcept |
| |