Learn R Programming

BayesNSGP (version 0.2.0)

rmnorm_gp2Scale: Function for the evaluating the SGV approximate density.

Description

dmnorm_gp2Scale (and rmnorm_gp2Scale) calculate the usual Gaussian likelihood for a fixed set of parameters (but with sparse matrices). Finally, the distributions must be registered within nimble.

Usage

rmnorm_gp2Scale(n, mean, Cov, N, Nnz)

Value

Not applicable.

Arguments

n

Number of realizations to generate

mean

Vector of mean values

Cov

Matrix of size N x N; sparse kernel

N

Number of measurements in x

Nnz

Number of measurements in x