"Conjugate gradient method without agonizing pain" - читать интересную книгу автора (Schewchuk.)