#include <permutation.h>
Inherited by ScalingPermutation< T >.
Inheritance diagram for Permutation:
Public Member Functions | |
Permutation (itype n) | |
Permutation (const Permutation &other) | |
Permutation (const std::vector< itype > &vec) | |
Permutation (itype n, itype i, itype j) | |
itype | Size () const |
Permutation & | operator= (const Permutation &other) |
itype | operator[] (itype n) const |
Permutation & | reset () |
Permutation & | reset (itype newsize) |
Permutation & | swap (itype i, itype j) |
Permutation & | operator *= (const Permutation &other) |
Permutation | inverse () const |
void | Print (std::ostream &out=std::cout) const |
void | PrintCycles (std::ostream &out=std::cout) const |
bool | operator== (const Permutation &other) const |
Permutation | operator * (const Permutation &two) const |
Permutation & | randomize () |
Protected Member Functions | |
bool | badrange (itype i) const |
bool | valid () const |
Protected Attributes | |
itype * | map |
C-style array containing the action of the permutation as: ![]() | |
itype | N |