Click or drag to resize
Accord.NET (logo)

LinearFunction Method (SparseDouble, SparseDouble)

The kernel function.

Namespace:  Accord.Statistics.Kernels
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public double Function(
	Sparse<double> x,
	Sparse<double> y
)
Request Example View Source

Parameters

x
Type: Accord.MathSparseDouble
Vector x in input space.
y
Type: Accord.MathSparseDouble
Vector y in input space.

Return Value

Type: Double
Dot product in feature (kernel) space.

Implements

IKernelTFunction(T, T)
See Also