compute_residuals.simple function

Residuals