spleaf.cov.Cov.chi2_grad#

Cov.chi2_grad(*args, **kwargs)#

Compute the gradient of the \(\chi^2\) (chi2()) with respect to the residuals and to the initial parameters (see grad_param()).

Returns:
grad_y(n,) ndarray

Gradient of the \(\chi^2\) with respect to the residuals \(y\).

See grad_param().