Returns a sorted copy of the given data in the specified order.
Namespace:
CenterSpace.NMath.StatsAssembly: NMathStats (in NMathStats.dll) Version: 3.4.0.0
Syntax
| C# |
|---|
public static DoubleVector Sort( DoubleVector data, SortingType order ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function Sort ( _ data As DoubleVector, _ order As SortingType _ ) As DoubleVector |
| Visual C++ |
|---|
public: static DoubleVector^ Sort( DoubleVector^ data, SortingType order ) |
Parameters
- data
- Type: CenterSpace.NMath.Core..::.DoubleVector
A vector.
- order
- Type: CenterSpace.NMath.Stats..::.SortingType
Ascending or descending.