com.gregdennis.drej
Class InverseMultiquadricKernel

java.lang.Object
  extended by com.gregdennis.drej.InverseMultiquadricKernel
All Implemented Interfaces:
Kernel

public final class InverseMultiquadricKernel
extends java.lang.Object
implements Kernel

A multiquadric kernel of the following form:

K(x1, x2) = 1 / √(∥x1 - x2∥² + γ²)

Author:
Greg Dennis (gdennis@mit.edu)

Constructor Summary
InverseMultiquadricKernel(double gamma)
          Constructs an inverse multiquadric kernel with the specified value for γ.
 
Method Summary
 double eval(GVector x1, GVector x2)
          Evaluates the kernel function at the specified points.
 double gamma()
          Returns the value of γ.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InverseMultiquadricKernel

public InverseMultiquadricKernel(double gamma)
Constructs an inverse multiquadric kernel with the specified value for γ.

Method Detail

gamma

public double gamma()
Returns the value of γ.


eval

public double eval(GVector x1,
                   GVector x2)
Description copied from interface: Kernel
Evaluates the kernel function at the specified points.

Specified by:
eval in interface Kernel