コード例 #1
0
ファイル: ldfp.py プロジェクト: vishalbelsare/nlpy
 def store(self, new_s, new_y):
     """
     Store a new (s,y) pair. This method takes "small" vectors as
     input, i.e., corresponding to the variables participating in
     the quasi-Newton update.
     """
     InverseLBFGS.store(self, new_y, new_s)
コード例 #2
0
ファイル: ldfp.py プロジェクト: joeywen/nlpy
 def store(self, new_s, new_y):
     """
     Store a new (s,y) pair. This method takes "small" vectors as
     input, i.e., corresponding to the variables participating in
     the quasi-Newton update.
     """
     InverseLBFGS.store(self, new_y, new_s)
コード例 #3
0
ファイル: ldfp.py プロジェクト: vishalbelsare/nlpy
 def store(self, new_s, new_y):
     # Simply swap s and y.
     InverseLBFGS.store(self, new_y, new_s)
コード例 #4
0
ファイル: ldfp.py プロジェクト: b45ch1/nlpy
 def store(self, new_s, new_y):
     # Simply swap s and y.
     InverseLBFGS.store(self, new_y, new_s)