Vector<T>.Sort In Place Method
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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.