spleaf.cov.Cov.grad_param#

Cov.grad_param(param=None)#

Gradient of a function with respect to the parameters, after a call to cholesky_back().

Parameters:
paramlist or str or None

List of parameters (or single parameter). If None, all the covariance parameters are provided.

Returns:
grad_param(p,) ndarray or float

Gradient of the function with respect to the parameters.