Click or drag to resize

NMathFunctionsRanks(Double) Method

Returns the ranks of each element in a data set using ascending sort order.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static int[] Ranks(
	double[] data
)

Parameters

data  Double
An array.

Return Value

Int32
Ranks.
Remarks
For example, 4.0, 1.2, 3.4, 1.2, -1.4 would return 4, 2, 3, 2, 1
See Also