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

[Missing <param name="data"/> documentation for "M:MathNet.Numerics.Statistics.SortedArrayStatistics.Ranks(System.Double[],MathNet.Numerics.Statistics.RankDefinition)"]

definition (Optional)
Type: MathNet.Numerics.StatisticsRankDefinition

[Missing <param name="definition"/> documentation for "M:MathNet.Numerics.Statistics.SortedArrayStatistics.Ranks(System.Double[],MathNet.Numerics.Statistics.RankDefinition)"]

Return Value

Type: Double

[Missing <returns> documentation for "M:MathNet.Numerics.Statistics.SortedArrayStatistics.Ranks(System.Double[],MathNet.Numerics.Statistics.RankDefinition)"]

See Also