Description Usage Arguments Value Author(s) Examples
Compute the kernel matrix for "lineqGP"
models.
attr: "gradient".
1 | kernCompute(x1, x2 = NULL, type, par, d = 1L)
|
x1 |
a vector with the first input locations. |
x2 |
a vector with the second input locations. |
type |
a character string corresponding to the type of the kernel. Options: "gaussian", "matern32", "matern52", "exponential". |
par |
the values of the kernel parameters (variance, lengthscale). |
d |
a number corresponding to the dimension of the input space. |
Kernel matrix K(x1,x2) (or K(x1,x1) if x2 is not defined).
A. F. Lopez-Lopera.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.