R/TRNGjump.R

Defines functions TRNGjump

Documented in TRNGjump

#' @rdname TRNG.Random
#' @description If the current engine is of a \emph{parallel} kind,
#'   \code{TRNGjump} advances its internal state without generating all
#'   intermediate steps.
#' @param steps Number of steps to jump ahead.
#' @include TRNGseed.R
#' @export
TRNGjump <- function(steps) {
  getCurrentEngine()$jump(steps)
}

Try the rTRNG package in your browser

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

rTRNG documentation built on March 18, 2022, 7:15 p.m.