Sébastien Villemot
59ad26a3c9
Improve fallback code when mjdgges DLL is absent
...
The new code relies on qz(..., 'real'), ordqz and ordeig, and returns a real
decomposition. The previous version was using Sims' qzdiv and returned a
complex decomposition.
As a consequence, we can drop options_.qzdiv, which was used to detect when
imaginary parts had to be dropped.
This code does not work on Octave for the time being, but this is acceptable
since it is only a fallback.
2018-05-16 17:12:48 +02:00
Stéphane Adjemian (Charybdis)
5417b27ac7
Fixed indentation of matlab files.
2017-05-16 15:10:20 +02:00
Stéphane Adjemian (Charybdis)
767e45db95
Shut off warning about short circuit operators (when calling qzdiv).
2017-04-22 14:44:47 +02:00
Stéphane Adjemian (Charybdis)
ad21612967
Removed Octave specific part in mjdgges.m function.
...
Also force complex QZ factorization in Octave.
2017-04-22 14:44:47 +02:00
Stéphane Adjemian (Charybdis)
ddd95361ba
Cosmetic changes. Added isoctave function to replace exist('OCTAVE_VERSION').
2013-11-04 10:54:45 +01:00
Stéphane Adjemian (Charybdis)
9d3a1d242a
Added fake argument to matlab's implementation of mjdgges.
...
Need to implement the test on 0/0 generalized eigenvalues later...
2013-06-12 10:53:40 +02:00
Sébastien Villemot
44b268ec67
Moved qzdiv.m and qzswitch.m to top-level (they are now used by both partial information code and mjdgges.m)
2010-10-11 17:14:33 +02:00
Houtan Bastani
7b0d6da920
mjdgges: remove instances of mexErrMsgTxt
2010-09-23 10:44:59 +02:00
Houtan Bastani
2c38a1913c
change element-wise OR (|) to short-circuit OR (||)
2010-09-23 10:44:48 +02:00
sebastien
502e3e1df8
Beautified MATLAB code (Unix newline convention + Emacs indentation), except: AIM, swz, particle
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3250 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-16 17:17:34 +00:00
sebastien
728fb07d34
mjdgges.m: improve warning message
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3215 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-09 09:36:54 +00:00
sebastien
20d4107493
qz/mjdgges.m: under Octave, warn users if some eigenvalues are > 1.0 but <= qz_criterium in modulus (Octave can't change the criterium)
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3206 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-08 09:36:03 +00:00
michel
cf933608d0
4.1: solution for QZ in Octave (to be tested)
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3202 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-07 12:25:24 +00:00
sebastien
c402bd8969
qz/mjdgges.m: fail under Octave, since Octave can't compute a complex QZ
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3201 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-07 11:34:54 +00:00
sebastien
0c23ac2b06
v4 matlab:
...
* fixed various copyright headers
* added URL pointer to C. Sims' original files
* removed obsolete dgamma.m
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2018 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-09-02 15:18:05 +00:00
sebastien
dbe05bd9c8
v4 matlab: added copyright notice to C. Sims' files
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1976 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-08-01 13:28:14 +00:00
sebastien
db50368418
v4 matlab: fixed some existing copyright headers (and some other minor header issues)
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1974 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-08-01 12:40:33 +00:00
sebastien
e08cad8265
v4: merged Octave branch into trunk
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1899 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-06-24 18:20:48 +00:00
sebastien
21c98f8b1c
v4 matlab:
...
* moved qzdiv.m and qzswitch.m to qz/
* fixed typo in qz/mjdgges.m
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1858 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-06-06 12:50:47 +00:00
adjemian
e85af5dc11
Added a dynare configuration routine and bug corrections.
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1826 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-05-16 08:18:37 +00:00
adjemian
45268c43b4
Bug (typo) correction.
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1823 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-05-13 08:34:09 +00:00
adjemian
e6a060d64e
New matlab functions to be used if a dll is missing.
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1810 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-04-25 12:47:30 +00:00