Class to view a vector of integers as a permutation matrix. More...
Public Member Functions | |
const internal::remove_all < typename IndicesType::Nested > ::type & | indices () const |
![]() | |
PermutationWrapper < _IndicesType > & | applyTranspositionOnTheLeft (Index i, Index j) |
PermutationWrapper < _IndicesType > & | applyTranspositionOnTheRight (Index i, Index j) |
Index | cols () const |
IndicesType & | indices () |
Transpose< PermutationBase > | inverse () const |
PlainPermutationType | operator* (const PermutationBase< Other > &other) const |
PlainPermutationType | operator* (const Transpose< PermutationBase< Other > > &other) const |
PermutationWrapper < _IndicesType > & | operator= (const PermutationBase< OtherDerived > &other) |
PermutationWrapper < _IndicesType > & | operator= (const TranspositionsBase< OtherDerived > &tr) |
void | resize (Index size) |
Index | rows () const |
void | setIdentity () |
void | setIdentity (Index size) |
Index | size () const |
DenseMatrixType | toDenseMatrix () const |
Transpose< PermutationBase > | transpose () const |
Class to view a vector of integers as a permutation matrix.
_IndicesType | the type of the vector of integer (can be any compatible expression) |
This class allows to view any vector expression of integers as a permutation matrix.
|
inline |
const version of indices().
Reimplemented from PermutationBase< PermutationWrapper< _IndicesType > >.