powered by
kernel_cov calculates a 2 x 2 matrix based on the eigendecomposition components (two eigenvalues and angle of rotation).
kernel_cov
kernel_cov(params)
A vector of three parameters, corresponding to (lam1, lam2, eta). The eigenvalues (lam1 and lam2) must be positive.
A 2 x 2 kernel covariance matrix.
# NOT RUN { kernel_cov(c(1, 2, pi/3)) # }
Run the code above in your browser using DataLab