GammafromY: GammafromY function
Description
A function to change Ys (spatially correlated noise) into Gammas (white noise). Used in the MALA algorithm.
Usage
GammafromY(Y, rootQeigs, mu)
Arguments
rootQeigs
square root of the eigenvectors of the precision matrix
mu
parameter of the latent Gaussian field