This method is used to solve linear equations of the form
where A is an invertible and Hermitian matrix, and b is nonzero.
The conjugate residual method differs from the closely related conjugate gradient method. It involves more numerical operations and requires more storage.
Given an (arbitrary) initial estimate of the solution , the method is outlined below:
the iteration may be stopped once has been deemed converged. The only difference between this and the conjugate gradient method is the calculation of and (plus the optional incremental calculation of at the end).
Note: the above algorithm can be transformed so to make only one symmetric matrix-vector multiplication in each iteration.
By making a few substitutions and variable changes, a preconditioned conjugate residual method may be derived in the same way as done for the conjugate gradient method:
The preconditioner must be symmetric positive definite. Note that the residual vector here is different from the residual vector without preconditioning.