Click or drag to resize
Accord.NET (logo)

PolynomialDistance Method (Double, Double)

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

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

Parameters

x
Type: SystemDouble
Vector x in input space.
y
Type: SystemDouble
Vector y in input space.

Return Value

Type: Double
Squared distance between x and y in feature (kernel) space.

Implements

IDistanceT, UDistance(T, U)
See Also