Click or drag to resize

NMathFunctionsRank(Int32, Double, SortingType) Method

Calculates the rank of the value within a given data set using the specified order.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static int Rank(
	int[] data,
	double val,
	SortingType order
)

Parameters

data  Int32
An array.
val  Double
A value.
order  SortingType
Ascending or descending.

Return Value

Int32
Rank.
See Also