Click or drag to resize
SortedArrayStatisticsRanks Method
Evaluates the rank of each entry of the sorted data array (ascending). The rank definition can be specified to be compatible with an existing system.

Namespace: MathNet.Numerics.Statistics
Assembly: MathNet.Numerics (in MathNet.Numerics.dll) Version: 3.7
Syntax
C#
public static double[] Ranks(
	double[] data,
	RankDefinition definition = RankDefinition.Average
)

Parameters

data
Type: SystemDouble
definition (Optional)
Type: MathNet.Numerics.StatisticsRankDefinition

Return Value

Type: Double
See Also