Click or drag to resize
Accord.NET (logo)

LaplacianDistance Method (Double, Double)

Computes the squared distance in input space between two points given in feature space.

Namespace:  Accord.Statistics.Kernels
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public override double Distance(
	double[] x,
	double[] y
)
Request Example View Source

Parameters

x
Type: SystemDouble
Vector x in feature (kernel) space.
y
Type: SystemDouble
Vector y in feature (kernel) space.

Return Value

Type: Double
Squared distance between x and y in input space.

Implements

IDistanceT, UDistance(T, U)
IDistanceT, UDistance(T, U)
See Also