Click or drag to resize
Accord.NET (logo)

ToolsTies Method (Double, SortedDictionaryDouble, Int32)

Gets the number of ties and distinct elements in a rank vector.

Namespace:  Accord.Statistics
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public static int[] Ties(
	this double[] ranks,
	out SortedDictionary<double, int> counts
)
Request Example View Source

Parameters

ranks
Type: SystemDouble
counts
Type: System.Collections.GenericSortedDictionaryDouble, Int32

Return Value

Type: Int32

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also