Constructs a new permutation.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public Permutation(
int[] indexes
)
Public Sub New (
indexes As Integer()
)
public:
Permutation(
array<int>^ indexes
)
new :
indexes : int[] -> Permutation
Parameters
- indexes
- Type: SystemInt32
An integer array containing the permuted indices.
Exception | Condition |
---|
ArgumentNullException | indexes is .
|
ArgumentException |
One or more of the elements of indexes is less than zero or greater than or equal to
the length of indexes.
-or- indexes does not include all numbers from 0 to 1 less than the length of indexes
exactly once. |
Reference