Calculates the prior variances of the spectral coefficients in a GP
object. The variances are based on the spectral density function
gp and the
correlation function parameters supplied.
A GP object, created by
This function is an internal function not meant to be called by the user.
The prior variances for each coefficient are calculated based on the
frequency of the corresponding basis function, the spectral density
function, the parameters of the spectral density/correlation
function, and the (optional) coefficient variance parameter.
The function creates
variances, a matrix of
variances corresponding to
coeff, the matrix of coefficients.
The function modifies the GP object, which is essentially a pointer (an R environment in this case), so NULL is returned.
Christopher Paciorek firstname.lastname@example.org
Type 'citation("spectralGP")' for references.