powered by
Correlation Gaussian matrix gradient in C using Armadillo
corr_gauss_dCdX(XX, X, theta, s2)
Matrix XX to get gradient for
Matrix X GP was fit to
Theta vector
Variance parameter
3-dim array of correlation derivative
# NOT RUN { # corr_gauss_dCdX(matrix(c(1,0,0,1),2,2),c(1,1)) # }
Run the code above in your browser using DataLab