R/gptk_kernDiagCompute.R

.kernDiagCompute <-
function (kern, x) {
  funcName <- paste(".", kern$type, "KernDiagCompute", sep="")
  func <- get(funcName, mode="function")
  k <- func(kern, x)
  return (k)
}

Try the robin package in your browser

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

robin documentation built on May 17, 2022, 1:07 a.m.