From d9f7a6de041f47af4ae5f430b9caece00c8cf266 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kevin=20H=C3=B6llring?= <kevin.hoellring@fau.de> Date: Tue, 26 Nov 2019 03:29:17 +0100 Subject: [PATCH] Add comment on terminating conditions --- instructions/exercise_4.tex | 1 + 1 file changed, 1 insertion(+) diff --git a/instructions/exercise_4.tex b/instructions/exercise_4.tex index 901bbe1..5929b24 100644 --- a/instructions/exercise_4.tex +++ b/instructions/exercise_4.tex @@ -241,6 +241,7 @@ in your command line/shell before executing your program. \end{enumerate} \end{enumerate} The resulting $x_n$ is the end approximation of the substep and can afterwards be used as the input for subsequent executions of this subroutine. + (Consider appropriate conditions to end a loop preliminarily. These may contain: numbers being too small to divide by them, gradients/directional vectors being too short,\ldots) \begin{enumerate} \item In order to structure your code, implement the method \class{ConjugateGradient::CGstep}, which executes one full iteration of the subroutine as detailed above.\\ To do that you will need a few extra steps -- GitLab