cr.sparse.opt.smooth_quad_error

cr.sparse.opt.smooth_quad_error(A, b)[source]

Quadratic error function and its gradient \(f(x) = \frac{1}{2} \| A x - b \|_2^2\)