Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gradfuncarray

Calculate gradfunc in optimization to speed up. NEEDS TO APERM dC_dparams Doesn't need to be exported, should only be useful in functions.


Description

Calculate gradfunc in optimization to speed up. NEEDS TO APERM dC_dparams Doesn't need to be exported, should only be useful in functions.

Usage

gradfuncarray(dC_dparams, Cinv, Cinv_yminusmu)

Arguments

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.

Value

Vector, one value for each parameter

Examples

# corr_gauss_dCdX(matrix(c(1,0,0,1),2,2),c(1,1))

GauPro

Gaussian Process Fitting

v0.2.4
GPL-3
Authors
Collin Erickson
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.