R/randomGaussian-random-gaussian-chol-dot.R

Defines functions .RandomGaussianChol

#' Generate Random Variates from the Gaussian Distribution
#' (Cholesky Decomposition)
#'
#' @author Ivan Jacob Agaloos Pesigan
#'
#' @param Z Numeric matrix.
#'   `n` by `k` matrix of independent random variates
#'   from the standard univariate normal distribution
#'   \eqn{\mathbf{Z}}.
#' @param chol Object.
#'   Result of [chol()].
#'
#' @return Numeric matrix.
#'
#' @family Random Gaussian Functions
#' @keywords randomGaussian random cholesky internal
#' @noRd
.RandomGaussianChol <- function(Z,
                                chol) {
  Z %*% chol
}

Try the semmcci package in your browser

Any scripts or data that you put into this service are public.

semmcci documentation built on Nov. 6, 2025, 1:08 a.m.