View source: R/gradfuncarray.R
gradfuncarrayR | R Documentation |
Calculate gradfunc in optimization to speed up. NEEDS TO APERM dC_dparams Doesn't need to be exported, should only be useful in functions.
gradfuncarrayR(dC_dparams, Cinv, Cinv_yminusmu)
dC_dparams |
Derivative matrix for covariance function wrt kernel parameters |
Cinv |
Inverse of covariance matrix |
Cinv_yminusmu |
Vector that is the inverse of C times y minus the mean. |
Vector, one value for each parameter
a1 <- array(dim=c(2,4,4), data=rnorm(32))
a2 <- matrix(rnorm(16),4,4)
a3 <- rnorm(4)
#gradfuncarray(a1, a2, a3)
#gradfuncarrayR(a1, a2, a3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.