Click or drag to resize
Accord.NET (logo)

DistanceModular Method (Double, Double, Int32)

Gets the Modular distance between two points.

Namespace:  Accord.Math
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.6.0
Syntax
public static double Modular(
	double x,
	double y,
	int modulo
)
Request Example View Source

Parameters

x
Type: SystemDouble
y
Type: SystemDouble
modulo
Type: SystemInt32

Return Value

Type: Double
The Modular distance between x and y.
See Also