Click or drag to resize

NMathFunctionsRank(DoubleVector, Double, SortingType) Method

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

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

Parameters

data  DoubleVector
A vector.
val  Double
A value.
order  SortingType
Ascending or descending.

Return Value

Int32
Rank.
See Also