Skip to content
Snippets Groups Projects
Commit a6f29d8a authored by Elias Pipping's avatar Elias Pipping Committed by Elias Pipping
Browse files

Cleanup

parent 3076fe44
No related branches found
No related tags found
No related merge requests found
...@@ -19,11 +19,11 @@ void descentMinimisation(Functional const &J, ...@@ -19,11 +19,11 @@ void descentMinimisation(Functional const &J,
using SmallVector = typename Functional::SmallVector; using SmallVector = typename Functional::SmallVector;
using LocalNonlinearityType = typename Functional::NonlinearityType; using LocalNonlinearityType = typename Functional::NonlinearityType;
// {{{ Construct a restriction of J to the line x + t * descDir // {{{ Construct a restriction of J to the line x + t * v
/* We have /* We have
1/2 <A(u+xv),u+xv>-<b,u+xv> = 1/2 <Av,v> x^2 - <b-Au,v> x + <1/2 Au-b,u> 1/2 <A(x+tv),x+tv>-<b,x+tv> = 1/2 <Av,v> t^2 - <b-Ax,v> t + <1/2 Ax-b,x>
since A is symmetric. since A is symmetric.
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment