R/convGausExp.R

"convGausExp" <-
  function(k, x, mu, tau) {
    m <- rep(0, length(x) * length(k))
    m <- as.matrix(.C("r_calcCirf",
      m = as.double(m), as.double(k),
      as.double(x), as.double(tau), as.double(mu),
      as.integer(length(k)),
      as.integer(length(x)), PACKAGE = "TIMP"
    )$m)
    dim(m) <- c(length(x), length(k))
    m
  }

Try the TIMP package in your browser

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

TIMP documentation built on Dec. 28, 2022, 3:06 a.m.