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
9d3a1d24
Commit
9d3a1d24
authored
Jun 12, 2013
by
Stéphane Adjemian
Browse files
Added fake argument to matlab's implementation of mjdgges.
Need to implement the test on 0/0 generalized eigenvalues later...
parent
0f570d1d
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/qz/mjdgges.m
View file @
9d3a1d24
function
[
err
,
ss
,
tt
,
w
,
sdim
,
eigval
,
info
]
=
mjdgges
(
e
,
d
,
qz_criterium
)
function
[
err
,
ss
,
tt
,
w
,
sdim
,
eigval
,
info
]
=
mjdgges
(
e
,
d
,
qz_criterium
,
fake
)
%function [err,ss,tt,w,sdim,eigval,info] = mjdgges(e,d,qz_criterium)
% QZ decomposition, Sims' codes are used.
%
...
...
@@ -40,7 +40,7 @@ function [err,ss,tt,w,sdim,eigval,info] = mjdgges(e,d,qz_criterium)
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
% Check number of inputs and outputs.
if
nargin
>
3
||
nargin
<
2
||
nargout
>
7
||
nargout
==
0
if
nargin
>
4
||
nargin
<
2
||
nargout
>
7
||
nargout
==
0
error
(
'MJDGGES: takes 2 or 3 input arguments and between 1 and 7 output arguments.'
)
end
% Check the first two inputs.
...
...
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