public class Bessel extends java.lang.Object implements IMercerKernel<double[]>
| Constructor and Description |
|---|
Bessel(int order,
double sigma)
Constructs a new Bessel Kernel.
|
| Modifier and Type | Method and Description |
|---|---|
double |
Function(double[] x,
double[] y)
The kernel function.
|
int |
getOrder()
Gets the order of the Bessel function.
|
double |
getSigma()
Gets the sigma constant for this kernel.
|
void |
setOrder(int order)
Sets the order of the Bessel function.
|
void |
setSigma(double sigma)
Sets the sigma constant for this kernel.
|
public Bessel(int order,
double sigma)
order - The order for the Bessel function.sigma - The value for sigma.public int getOrder()
public void setOrder(int order)
order - Order of the bessel function.public double getSigma()
public void setSigma(double sigma)
sigma - Sigma.public double Function(double[] x,
double[] y)
IMercerKernelFunction in interface IMercerKernel<double[]>x - Vector x in input space.y - Vector