Method | Description | |
---|---|---|
FromInversions ( int inv ) : |
Construct an array from a sequence of inversions.
|
|
Inverse ( ) : |
Computes the inverse of the permutation.
|
|
NaturalPermutation ( IEnumerable |
||
ToInversions ( ) : int[] |
Construct a sequence of inversions from the permutation.
|
|
this ( int idx ) : int |
Computes where idx permutes too.
|
Method | Description | |
---|---|---|
IsProperPermutation ( IEnumerable |
public static FromInversions ( int inv ) : |
||
inv | int | The set of inversions to construct the permutation from. |
return |
public NaturalPermutation ( IEnumerable |
||
indices | IEnumerable |
|
return | System |