Vector<T>.PermuteInPlace(Vector<T>, Permutation) Method

Permutes a vector.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
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.

See Also