Click or drag to resize
Accord.NET (logo)

EuclideanSimilarity Method (Double, Double)

Gets a similarity measure between two points.

Namespace:  Accord.Math.Distances
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public double Similarity(
	double x,
	double y
)
Request Example View Source

Parameters

x
Type: SystemDouble
The first point to be compared.
y
Type: SystemDouble
The second point to be compared.

Return Value

Type: Double
A similarity measure between x and y.

Implements

ISimilarityT, USimilarity(T, U)
See Also