Vector<T>.Permute In Place(Vector<T>, Permutation) Method
Permutes a vector.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A new vector that contains the elements of vector permuted using permutation.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static Vector<T> PermuteInPlace(
Vector<T> vector,
Permutation permutation
)
Parameters
- vector Vector<T>
- The vector to permute.
- permutation Permutation
- The Permutation to apply to the vector.
Return Value
Vector<T>A new vector that contains the elements of vector permuted using permutation.
Remarks
The original Vector<T> is left unchanged.