|
DistanceModular Method (Double, Double, Int32)
|
Gets the Modular distance between two points.
Namespace:
Accord.Math
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax public static double Modular(
double x,
double y,
int modulo
)
Public Shared Function Modular (
x As Double,
y As Double,
modulo As Integer
) As Double
Request Example
View SourceParameters
- x
- Type: SystemDouble
The first point x. - y
- Type: SystemDouble
The second point y. - modulo
- Type: SystemInt32
Return Value
Type:
DoubleThe Modular distance between x and y.
Examples
For examples, please see
Modular documentation page.
See Also