spleaf.cov.Cov.chi2# Cov.chi2(y)# Compute \(\chi^2 = y^T C^{-1} y\) for a given vector of residuals \(y\). Parameters: y(n,) ndarrayThe vector of residuals \(y\). Returns: chi2floatThe \(\chi^2\).