Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dóra Kocsis
dynare
Commits
f4e39258
Commit
f4e39258
authored
Apr 20, 2012
by
Sébastien Villemot
Browse files
Rename bfgsi.m to bfgsi1.m to avoid clash with the one provided by Tao Zha
Closes:
#215
parent
edbf3bd1
Changes
3
Hide whitespace changes
Inline
Side-by-side
license.txt
View file @
f4e39258
...
...
@@ -39,7 +39,7 @@ License: public-domain
Journal of Economic Dynamics and Control, 2010, vol. 34, issue 3,
pages 472-489
Files: matlab/bfgsi.m matlab/csolve.m matlab/csminit1.m matlab/numgrad2.m
Files: matlab/bfgsi
1
.m matlab/csolve.m matlab/csminit1.m matlab/numgrad2.m
matlab/numgrad3.m matlab/numgrad5.m matlab/csminwel.m matlab/bvar_density.m
matlab/bvar_toolbox.m matlab/partial_information/PI_gensys.m matlab/qzswitch.m
matlab/qzdiv.m
...
...
matlab/bfgsi.m
→
matlab/bfgsi
1
.m
View file @
f4e39258
function
H
=
bfgsi
(
H0
,
dg
,
dx
)
% H = bfgsi(H0,dg,dx)
function
H
=
bfgsi
1
(
H0
,
dg
,
dx
)
% H = bfgsi
1
(H0,dg,dx)
% dg is previous change in gradient; dx is previous change in x;
% 6/8/93 version that updates inverse hessian instead of hessian
% itself.
...
...
matlab/csminwel1.m
View file @
f4e39258
...
...
@@ -273,7 +273,7 @@ while ~done
%badgh
stuck
=
(
abs
(
fh
-
f
)
<
crit
);
if
(
~
badg
)
&&
(
~
badgh
)
&&
(
~
stuck
)
H
=
bfgsi
(
H
,
gh
-
g
,
xh
-
x
);
H
=
bfgsi
1
(
H
,
gh
-
g
,
xh
-
x
);
end
if
Verbose
disp
(
'----'
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment