Public Member Functions |
| void | addTo (Dest &dst) const |
| void | applyThisOnTheLeft (Dest &dst) const |
| void | applyThisOnTheRight (Dest &dst) const |
PermutationMatrix
< SizeAtCompileTime,
MaxSizeAtCompileTime,
IndexType > & | applyTranspositionOnTheLeft (Index i, Index j) |
PermutationMatrix
< SizeAtCompileTime,
MaxSizeAtCompileTime,
IndexType > & | applyTranspositionOnTheRight (Index i, Index j) |
| Index | cols () const |
PermutationMatrix
< SizeAtCompileTime,
MaxSizeAtCompileTime,
IndexType > & | const_cast_derived () const |
const PermutationMatrix
< SizeAtCompileTime,
MaxSizeAtCompileTime,
IndexType > & | const_derived () const |
PermutationMatrix
< SizeAtCompileTime,
MaxSizeAtCompileTime,
IndexType > & | derived () |
const PermutationMatrix
< SizeAtCompileTime,
MaxSizeAtCompileTime,
IndexType > & | derived () const |
| void | evalTo (Dest &dst) const |
| const IndicesType & | indices () const |
| IndicesType & | indices () |
| Transpose< PermutationBase > | inverse () const |
| PlainPermutationType | operator* (const PermutationBase< Other > &other) const |
| PlainPermutationType | operator* (const Transpose< PermutationBase< Other > > &other) const |
| template<typename Other > |
| PermutationMatrix & | operator= (const PermutationBase< Other > &other) |
| template<typename Other > |
| PermutationMatrix & | operator= (const TranspositionsBase< Other > &tr) |
| | PermutationMatrix () |
| | PermutationMatrix (int size) |
| template<typename OtherDerived > |
| | PermutationMatrix (const PermutationBase< OtherDerived > &other) |
| template<typename Other > |
| | PermutationMatrix (const MatrixBase< Other > &indices) |
| template<typename Other > |
| | PermutationMatrix (const TranspositionsBase< Other > &tr) |
| void | resize (Index size) |
| Index | rows () const |
| void | setIdentity () |
| void | setIdentity (Index size) |
| Index | size () const |
| void | subTo (Dest &dst) const |
| DenseMatrixType | toDenseMatrix () const |
| Transpose< PermutationBase > | transpose () const |
template<int SizeAtCompileTime, int MaxSizeAtCompileTime, typename IndexType>
class Eigen::PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >
Permutation matrix.
- 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. |
| IndexType | the interger 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