The Conjugate Gradient Method for Linear and Nonlinear Operator Equations