Commit Graph

10904 Commits (b080e5d7b1633fdfcbdd6007ecbae804c34f7c49)

Author SHA1 Message Date
Sébastien Villemot b080e5d7b1 Convert the ramst.mod example to new perfect foresight syntax 2018-06-06 16:43:16 +02:00
Sébastien Villemot a71e0ebee4 Add a compile-time check for MATLAB version, as we already do for Octave 2018-06-06 14:31:25 +02:00
Sébastien Villemot 88e89dfb21 Refactor test for Octave version
Distinguish between a minimal version required (from a source code perspective,
applicable on all platforms) and an exact version requirement (from a binary
package perspective, in practice used only for our Windows package).
2018-06-06 14:27:53 +02:00
Sébastien Villemot 57f6183d2f Move some functions out of missing/stats/, since they are only needed for MATLAB 2018-06-06 13:02:42 +02:00
Sébastien Villemot 9211d902a0 Update dseries 2018-06-05 19:56:42 +02:00
Sébastien Villemot 933ed45ead Octave 4.4 no longer includes statistics functions
Those have been moved to the statistics package. If that package is not there,
use a fallback.
2018-06-05 19:53:06 +02:00
Sébastien Villemot 7cbac0c989 Fix user_has_octave_forge_package
Packages are no longer autoloaded, so testing whether they are "Loaded" does
not work in all cases.

The function now ensures that the package is loaded.
2018-06-05 19:53:02 +02:00
Houtan Bastani b6355776a0 submodule update: preprocessor 2018-06-05 18:45:22 +02:00
Sébastien Villemot 0b2828af8a Fix typo 2018-06-05 17:27:22 +02:00
Sébastien Villemot e8ade6a187 Fix display of Dynare command arguments 2018-06-05 17:27:03 +02:00
Sébastien Villemot 8cadb2ac59 Silence Octave:classdef-to-struct warning 2018-06-05 17:24:52 +02:00
Sébastien Villemot c7a57e5906 corrcoef is included in Octave 4.4 2018-06-05 17:14:41 +02:00
Sébastien Villemot e1a3c40ef0 Fix compilation of MS-SBVAR DLL under Octave 4.4 2018-06-05 17:07:45 +02:00
Stéphane Adjemian(Charybdis) 28bd362329 Updated preprocessor. 2018-06-05 11:52:32 +02:00
Sébastien Villemot e669321eec Require C++14 for MEX files
Needed because bytecode DLL uses some preprocessor code which is C++14.
2018-06-05 11:34:41 +02:00
Houtan Bastani 35320e2f93 submodule update: preprocessor 2018-06-05 11:14:56 +02:00
Sébastien Villemot fec0947c7b Testsuite: clean files generated by move to temporary terms array 2018-06-04 18:08:28 +02:00
Sébastien Villemot f30126ea69 Update preprocessor, following temporary terms array optimization and partial C++14 modernization 2018-06-04 18:08:28 +02:00
Stéphane Adjemian a76a7f9680
Merge pull request #1613 from JohannesPfeifer/datatomfile_char
datatomfile: Consistently replace char by cell arrays
2018-06-04 14:05:11 +02:00
Johannes Pfeifer 2dd940dc1a datatomfile: Consistently replace char by cell arrays
Required after 7be8f10e0e
2018-06-04 11:56:43 +02:00
Houtan Bastani 9974382d1e submodule update: preprocessor 2018-06-02 12:43:09 +02:00
Houtan Bastani a0c51d220c submodule update: preprocessor 2018-06-01 16:00:01 +02:00
Frédéric Karamé 1c9e186d57 Updated tests for nonlinear filters.
(cherry picked from commit e2cf2260dbd5cceeade11f0617ab33de2f8ee72b)
2018-06-01 12:13:54 +02:00
Houtan Bastani 461c12e21a submodule update: preprocessor 2018-05-31 18:51:39 +02:00
Sébastien Villemot 7b546ba696 Compatibility fix for MATLAB < R2010b (7.11) 2018-05-30 17:44:46 +02:00
Houtan Bastani c39a955da8 submodule update: preprocessor 2018-05-30 14:43:11 +02:00
Stéphane Adjemian(Charybdis) 474556e0ca Added routines related to auxiliary variables. 2018-05-29 15:44:41 +02:00
Houtan Bastani d5862f93bf add comment explaining changes in 4e79d12e53 2018-05-28 14:32:11 +02:00
Houtan Bastani 4e79d12e53 move declaration of default values from global_initialization to a separate function 2018-05-28 14:07:32 +02:00
Houtan Bastani 97af53b82d fix mkdir call in global_initialization 2018-05-28 14:07:32 +02:00
Stéphane Adjemian(Charybdis) 9bdd1df3ac Do not filter by files extension in mex/octave{,32}...
... when building the windows installer.
2018-05-19 14:06:58 +02:00
Stéphane Adjemian(Charybdis) bc1f96c043 Completed 02084ce310
We do not distribute .oct files anymore.
2018-05-18 23:56:48 +02:00
Houtan Bastani 902a52b521 preprocessor submodule update 2018-05-17 16:55:20 +02:00
Sébastien Villemot 02084ce310 Remove qzcomplex Oct-file
It's actually not needed. The QZ complex decomposition can be obtained in
Octave on real matrices by casting them to the complex type.
2018-05-17 12:11:15 +02:00
Sébastien Villemot 5166b43add Fix case 2018-05-17 12:06:07 +02:00
Stéphane Adjemian(Charybdis) ac5fcbe231 Use new approach for setting aux variables in model inversion routine.
(cherry picked from commit f1ed81aae2)
2018-05-16 17:27:51 +02:00
Sébastien Villemot 14fbfa028b Move qzdiv.m and qzswitch.m to partial_information/ subdir
They are no longer used in the main codebase.
2018-05-16 17:12:48 +02:00
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
Sébastien Villemot c180777818 Move check about Octave version to the same place as check for MATLAB 2018-05-16 17:12:48 +02:00
Sébastien Villemot 42b82087d5 Remove codepaths for unsupported Octave versions 2018-05-16 17:12:48 +02:00
Stéphane Adjemian(Charybdis) afbac2e8eb Added strsplit routine in missing. 2018-05-16 16:41:43 +02:00
Stéphane Adjemian(Charybdis) f53be721c1 Added new option mh_tune_jscale.
Works only with the Random Walk Metropolis Hastings algorithm.

Closes #1598
2018-05-16 16:37:22 +02:00
Sébastien Villemot 3f674f0f26 Enforce minimal Octave version in the configure script 2018-05-16 10:50:27 +02:00
Sébastien Villemot e2c2f2d966 Remove fallbacks for ilu, linsolve and ordschur under Octave
These functions are all included in Octave 4.2.
2018-05-16 10:48:44 +02:00
Sébastien Villemot a3301777c9 Update my email and affiliation 2018-05-16 10:23:30 +02:00
Sébastien Villemot f665379fcc Kludge for bug in MinGW, that defines __STDC_UTF_16__ but not char16_t
This breaks the matrix.h of older MATLABs (e.g. R2009a). Also see <uchar.h>.
2018-05-15 19:29:17 +02:00
Sébastien Villemot fbddfc0aae Require C99 when compiling MEX files, since mjdgges now uses C99 features 2018-05-15 14:53:56 +02:00
Sébastien Villemot 7a2aa211bf Make mjdgges DLL compatible with MATLAB interleaved complex API
This API was introduced in MATLAB 9.4 (R2018a), because the internal
representation of complex numbers has changed.
2018-05-14 15:16:09 +02:00
Sébastien Villemot 473b2f59ef Provisions for MATLAB 9.4 (R2018a)
Take into account the API break in the MEX interface (new interleaved complex API).
But do not split MEX directories on MacOS X for the time being.
2018-05-14 15:16:03 +02:00
Stéphane Adjemian(Charybdis) 3fe758c2b2 Cosmetic change in doc headers. 2018-05-05 21:58:52 +02:00