dr1_norm: Multivariate normal density at mean 0 and a covariance that...

Description Usage Arguments Author(s)

Description

Multivariate normal density at mean 0 and a covariance that is the sum of a rank-1 matrix and a diagonal matrix.

Usage

1
dr1_norm(x, v, s_diag, mu = rep(0, length(x)), log = FALSE)

Arguments

x

The data.

v

The square-root of the rank-1 matrix.

s_diag

The diagonal elements of the diagonal component of the covariance matrix.

mu

The mean. Defaults to 0.

log

A logical. Should we return the log-density (TRUE) or the density (FALSE)?

Author(s)

David Gerard


dcgerard/UltimateDeconvolution documentation built on May 15, 2019, 1:24 a.m.