/[escript]/trunk/downunder/py_src/minimizers.py
ViewVC logotype

Diff of /trunk/downunder/py_src/minimizers.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4049 by gross, Tue Oct 30 09:10:07 2012 UTC revision 4050 by caltinay, Wed Oct 31 01:01:24 2012 UTC
# Line 327  class MinimizerLBFGS(AbstractMinimizer): Line 327  class MinimizerLBFGS(AbstractMinimizer):
327          q=gf          q=gf
328          alpha=[]          alpha=[]
329          for s,y in reversed(s_and_y):          for s,y in reversed(s_and_y):
         print "TT",s, y, self._f.getInner(s, y)  
330              rho=1./(self._f.getInner(s, y))              rho=1./(self._f.getInner(s, y))
331              a=rho*self._f.getInner(s, q)              a=rho*self._f.getInner(s, q)
332              alpha.append(a)              alpha.append(a)

Legend:
Removed from v.4049  
changed lines
  Added in v.4050

  ViewVC Help
Powered by ViewVC 1.1.26