Sample multivariates with precision matrix

rmvnorm_sparseprec(n, mean = rep(0, nrow(prec)), prec = diag(length(mean)))

Arguments

n

number of samples

mean

scalar/vector of the mean(s)

prec

precision matrix

Value

n samples