Parameters
Int32[] indices
An array which represents where each integer is permuted too: indices[i] represents that integer i is permuted to location indices[i].
Type Permutation
Namespace MathNet.Numerics
Int32[] indicesAn array which represents where each integer is permuted too: indices[i] represents that integer i is permuted to location indices[i].
Int32[] invThe set of inversions to construct the permutation from.
From wikipedia: the permutation 12043 has the inversions (0,2), (1,2) and (3,4). This would be encoded using the array [22244].
Int32[]A sequence of inversions.
From wikipedia: the permutation 12043 has the inversions (0,2), (1,2) and (3,4). This would be encoded using the array [22244].