public class Dirichlet extends java.lang.Object implements IMercerKernel<double[]>
| Constructor and Description |
|---|
Dirichlet(int dimension)
Constructs a new Dirichlet Kernel
|
| Modifier and Type | Method and Description |
|---|---|
double |
Function(double[] x,
double[] y)
The kernel function.
|
int |
getDimension()
Gets the dimension for the kernel.
|
void |
setDimension(int dimension)
Sets the dimension for the kernel.
|
public Dirichlet(int dimension)
dimension - Dimension of the kernel.public int getDimension()
public void setDimension(int dimension)
dimension - Dimension.public double Function(double[] x,
double[] y)
IMercerKernelFunction in interface IMercerKernel<double[]>x - Vector x in input space.y - Vector