rcpp_rmvnorm: Multivariate Normal Sampling and Log-Density Evaluation

Description Usage Arguments Author(s) Examples

View source: R/rcpp_mvn.R

Description

These functions allow for the sampling of and evaluation of the log-density of a multivariate normal vector.

Usage

1
2
3
rcpp_log_dmvnorm(S,mu,x, istoep)
rcpp_rmvnorm(n,S,mu)
rcpp_rmvnorm_stable(n,S,mu)

Arguments

S

Covariance matrix of associated multivariate normal.

n

Number of (independent) samples to generate.

mu

Mean vector.

x

Vector of observations to evaluate the log-density of.

istoep

set this to TRUE if S is Toeplitz.

Author(s)

Giri Gopalan gopalan88@gmail.com

Examples

1
#See demo/FastGPdemo.R

FastGP documentation built on May 1, 2019, 10:29 p.m.

Related to rcpp_rmvnorm in FastGP...