R/kernDiagCompute.R

Defines functions kernDiagCompute

Documented in kernDiagCompute

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

Try the gptk package in your browser

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

gptk documentation built on May 30, 2017, 6:41 a.m.