Day 25: Conjugate gradients
When you need to solve a system of linear equations, conjugate gradients present a fast way.
The idea is quite clever. Take a function F=L2(X’, X⁰)², that is a squared L2 norm of [not necessarily correct] solution X’ and the real solution X⁰. The…