Click or drag to resize

NMathFunctionsSort(FloatVector) Method

Sorts a given vector. If the vector is compact (
C#
v.Stride == 1
), the vector is sorted in-place. If the vector is non-compact, a sorted copy of the vector is returned.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static FloatVector Sort(
	FloatVector v
)

Parameters

v  FloatVector
A vector.

Return Value

FloatVector
Sorted vector.
Remarks
Uses quicksort algorithm.
See Also