| Algorithm 1: The solution of Equation (3). The Newton step is computed with linear conjugate gradient. |
| Input: |
| u is randomly iniatlized |
| repeat |
| repeat |
| Update based on the computation of for some s. |
| until Convergence of linear conjugate gradient |
| ( found by line gradient) |
| until Convergence of Newton |
| return u |