Vector<T>.SortInPlace Method

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

SortInPlace() Sorts the vector in ascending order.
SortInPlace(SortOrder) Sorts the vector in the specified order.
SortInPlace(SortOrder, Permutation) Sorts the vector in the specified order.

SortInPlace

Sorts the vector in ascending order.
C#
public Vector<T> SortInPlace()

Return Value

Vector<T>

SortInPlace(SortOrder)

Sorts the vector in the specified order.
C#
public virtual Vector<T> SortInPlace(
	SortOrder sortOrder
)

Parameters

sortOrder  SortOrder
A SortOrder value that specifies whether the elements should be sorted in ascending or descending order.

Return Value

Vector<T>

SortInPlace(SortOrder, Permutation)

Sorts the vector in the specified order.
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