conjugate gradient (cg) for spd linear systems and as a nonlinear cg optimizer

Class:
Algorithm