Vector<T>.Sort In Place Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Overload List
Sort | Sorts the vector in ascending order. |
Sort | Sorts the vector in the specified order. |
Sort | Sorts the vector in the specified order. |
SortInPlace
Sorts the vector in ascending order.
SortInPlace(SortOrder)
Sorts the vector in the specified order.
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.
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.