Vector<T>.SortInPlace(SortOrder, Permutation) Method

Sorts the vector in the specified order.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public virtual Vector<T> SortInPlace(
	SortOrder sortOrder,
	out Permutation permutation
)

Parameters

sortOrder  SortOrder
A SortOrder value that specifies whether the elements should be sorted in ascending or descending order.
permutation  Permutation
On return, the permutation that sorts the elements of the vector.

Return Value

Vector<T>

See Also