Click or drag to resize
Accord.NET (logo)

GaussianTDistance, TInputDistance Method

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

Parameters

x
Type: TInput
Vector x in input space.
y
Type: TInput
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