Vector<T>.Permute In Place Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Overload List
Permute | Permutes a vector. |
Permute | Permutes a vector. |
Permute | Permutes a vector. |
PermuteInPlace(Permutation)
Permutes a vector.
public Vector<T> PermuteInPlace(
Permutation permutation
)
Parameters
- permutation Permutation
- The Permutation to apply to the vector.
Return Value
Vector<T>PermuteInPlace(Permutation, Boolean)
Permutes a vector.
public virtual Vector<T> 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.
Return Value
Vector<T>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.