Click or drag to resize
Accord.NET (logo)

LaplacianDistance Method (SparseDouble, SparseDouble)

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 double Distance(
	Sparse<double> x,
	Sparse<double> y
)
Request Example View Source

Parameters

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

Return Value

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

Implements

IDistanceT, UDistance(T, U)
See Also