Vector<T>.PermuteInPlace Method

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3

Overload List

PermuteInPlace(Permutation)

Permutes a vector.
C#
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.
C#
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.
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