Calculates an approximation to the inverse Cholesky
factor of the covariance matrix using Vecchia's approximation,
then the simulation is produced by solving a linear system
with a vector of uncorrelated standard normals
Usage
fast_Gp_sim(covparms, covfun_name = "matern_isotropic", locs, m = 30)
Value
vector of simulated values
Arguments
covparms
A vector of covariance parameters appropriate
for the specified covariance function
covfun_name
See GpGp for information about covariance
functions.
locs
matrix of locations. Row i of locs specifies the location
of element i of y, and so the length of y should equal
the number of rows of locs.
m
Number of nearest neighbors to use in approximation