Click or drag to resize
Accord.NET (logo)

GeneralComparerCompare Method (Double, Double)

Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.

Namespace:  Accord.Math.Comparers
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.7.0
Syntax
public int Compare(
	double x,
	double y
)
Request Example View Source

Parameters

x
Type: SystemDouble
The first object to compare.
y
Type: SystemDouble
The second object to compare.

Return Value

Type: Int32
See Also