This lab introduces the conjugate gradient algorithm.
A matlab files for conjugate gradient can be found in the template collection.
You are to implement CG with preconditioning. That is instead of solving
A x = bone solves
CWhere C is given by lab 11. C is called a preconditioning of A.A x = C b
Please note that one does not compute
CBut instead one solves:A
Cq = pwhere p and q are appropriate vectors. explicitly.