Generates the covariance matrix of the random effects from a sparse representation. Used internally in the Covariance class.
genD(cov, data, eff_range, gamma)
A symmetric positive definite covariance matrix
An integer matrix with columns of block identifier, dimension of block, function definition, number of variables in the argument to the funciton, and index of the parameters, respectively. Rows are specific functions of each block.
Vector of data. Created by flattening the matrices in column-major order of the data used in each block.
Vector of values with the effective range parameters of the covariance functions, where required.
Vector of parameters used to generate the matrix D.