dmnorm_nngp (and rmnorm_nngp) calculate the approximate NNGP
likelihood for a fixed set of parameters (i.e., A and D matrices). Finally,
the distributions must be registered within nimble.
rmnorm_nngp(n, mean, AD, nID, N, k)The NNGP approximate density.
N-vector of data.
N-vector with current values of the mean
N x (k+1) matrix; the first k columns are the 'A' matrix, and the last column is the 'D' vector.
N x k matrix of neighbor indices.
Scalar; number of data measurements.
Scalar; number of nearest neighbors.