Sorts the vector in the specified order.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public virtual Vector<T> SortInPlace(
SortOrder sortOrder,
out Permutation permutation
)
Public Overridable Function SortInPlace (
sortOrder As SortOrder,
<OutAttribute> ByRef permutation As Permutation
) As Vector(Of T)
public:
virtual Vector<T>^ SortInPlace(
SortOrder sortOrder,
[OutAttribute] Permutation^% permutation
)
abstract SortInPlace :
sortOrder : SortOrder *
permutation : Permutation byref -> Vector<'T>
override SortInPlace :
sortOrder : SortOrder *
permutation : Permutation byref -> Vector<'T>
Parameters
- sortOrder
- Type: Extreme.DataAnalysisSortOrder
A SortOrder value that
specifies whether the elements should be sorted in ascending or
descending order. - permutation
- Type: Extreme.MathematicsPermutation
On return, the permutation that sorts
the elements of the vector.
Return Value
Type:
VectorT
Reference