메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
IsProperPermutation ( IEnumerable |
public static FromInversions ( int inv ) : |
||
inv | int | The set of inversions to construct the permutation from. |
리턴 |
public NaturalPermutation ( IEnumerable |
||
indices | IEnumerable |
|
리턴 | System |