Numeric value of the kernel variance. Default is 1.
hermite_rank
Rank of the Hermite kernel. Default is 3. Ignored, when the Gaussian kernel is chosen.
Value
A numeric kernel matrix.
Details
The function computes a matrix in the form of \((K_{ij})_{(i,j)} = K(x_i, x_j)\) or \((K_{ij})_{(i,j)} = K(x_i, y_j)\)
for a kernel function \(K\) depending if a second vector was given. The following two kernels are offered: