From 1b7fbe087a56a5c375217ae3a694a0c716532f89 Mon Sep 17 00:00:00 2001 From: Ajinkya Dahale Date: Tue, 11 Oct 2022 01:54:26 -0400 Subject: [PATCH] [Sketcher] [planegcs] Add references for equations Some equations were mentioned by just the number without telling the resource they were from. The book was found couple years ago but not mentioned here. --- src/Mod/Sketcher/App/planegcs/GCS.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Mod/Sketcher/App/planegcs/GCS.cpp b/src/Mod/Sketcher/App/planegcs/GCS.cpp index 638189e90b..b41ae25354 100644 --- a/src/Mod/Sketcher/App/planegcs/GCS.cpp +++ b/src/Mod/Sketcher/App/planegcs/GCS.cpp @@ -3712,6 +3712,8 @@ int System::solve(SubSystem *subsysA, SubSystem *subsysB, bool /*isFine*/, bool double alpha=1; alpha = std::min(alpha, subsysA->maxStep(plistAB,xdir)); + // From the book "Numerical Optimization - Jorge Nocedal, Stephen J. Wright". + // See https://forum.freecadweb.org/viewtopic.php?f=10&t=35469. // Eq. 18.32 // double mu = lambda.lpNorm() + 0.01; // Eq. 18.33