Vector<T>.Permute In Place Method
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Permute | Permutes a vector. |
Permute | Permutes a vector. |
Permute | Permutes a vector. |
PermuteInPlace(Permutation)
Permutes a vector.
public void PermuteInPlace(
Permutation permutation
)
Parameters
- permutation Permutation
- The Permutation to apply to the vector.
PermuteInPlace(Permutation, Boolean)
Permutes a vector.
public virtual void PermuteInPlace(
Permutation permutation,
bool inverse
)
Parameters
- permutation Permutation
- The Permutation to apply to the vector.
- inverse Boolean
- A Boolean value that specifies whether the inverse of permutation should be applied.
PermuteInPlace(Vector<T>, Permutation)
Permutes a vector.
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.