Commit Graph

81 Commits (2f13d6610d6842adc4a4b448eb45ebd4223967e6)

Author SHA1 Message Date
Sébastien Villemot 49dc997073
Global reindentation of MATLAB code (excluding submodules)
Also convert to Unix end-of-lines, and remove trailing whitespaces.
2019-12-20 16:30:27 +01:00
Stéphane Adjemian (Charybdis) 6a87779d9e
Cosmetic change. 2019-10-01 14:48:43 +02:00
Stéphane Adjemian (Charybdis) 8eb3023069
Changed isint function.
To make it consistent with the routine available in the dates toolbox.
2019-10-01 14:48:12 +02:00
Stéphane Adjemian (Charybdis) fdf6821d0b Generalized isconst routine. 2019-09-11 11:11:15 +02:00
Sébastien Villemot 04323301a5
isdiag was introduced in MATLAB R2014a
Provide a replacement by reusing a similar function that was under
matlab/general/utilities/.
2019-03-26 16:50:06 +01:00
Sébastien Villemot 7a75872f72
Modernization: use tilde (~) syntax for ignored output arguments 2018-11-13 18:02:09 +01:00
Sébastien Villemot 096936be9c
The preprocessor now compiles the MEX when use_dll is specified
Update documentation accordingly (except on macOS where the solution has not
yet been implemented).

Also include MinGW in the Windows installer.
2018-10-29 14:41:34 +01:00
Sébastien Villemot 51416bf2ae Always use "isoctave" for testing Octave context 2018-09-07 17:22:08 +02:00
Sébastien Villemot a1b8bd39b2 Move the location of various generated files on the filesystem
- M and MEX files are now under +${MODELNAME}/
- bytecode, C source and JSON now under ${MODELNAME}/model/
2018-06-27 17:03:39 +02:00
Stéphane Adjemian (Charybdis) e6cc7d6a7f Rewrote header. 2018-01-24 15:59:47 +01:00
Stéphane Adjemian (Charybdis) 145f1e7b1c Streamlined code by removing unnecessary conditions. 2018-01-24 15:59:04 +01:00
Johannes Pfeifer 92549e48b1 Make demean.m use nanmean
Otherwise estimation with missing observations and prefilter option will crash
2018-01-20 08:26:00 +01:00
Stéphane Adjemian(Charybdis) 61b23a17f4 Merge branch 'upgrade-classes' 2017-10-11 14:09:35 +02:00
Stéphane Adjemian (Scylla) 4757713829 Fixed type of first returned argument. 2017-10-10 14:37:07 +02:00
Stéphane Adjemian (Scylla) 560a047a53 Moved isfile routine in missing.
This routine has been introduced in R2017b. Closes #1523.
2017-10-10 13:33:32 +02:00
Stéphane Adjemian (Scylla) a83258d4af Generalised isfile routine (to accept more than one file name to be tested). 2017-10-10 13:19:07 +02:00
Stéphane Adjemian (Charybdis) 1bf81c9f5a Fixed copyright notices. 2017-05-18 18:36:38 +02:00
Stéphane Adjemian (Charybdis) 5417b27ac7 Fixed indentation of matlab files. 2017-05-16 15:10:20 +02:00
Stéphane Adjemian (Charybdis) a53636e24e Fixed copyright notices. 2017-05-16 14:11:15 +02:00
Stéphane Adjemian (Charybdis) 9285a80a73 Fixed function name in header. 2017-05-16 13:24:46 +02:00
Stéphane Adjemian (Charybdis) 06326d4477 Fixed bug introduced in cad7adc01f. 2017-03-16 18:14:23 +01:00
Stéphane Adjemian (Charybdis) cad7adc01f Added routine for testing if we are currently estimating a model. 2017-03-16 15:03:46 +01:00
Stéphane Adjemian (Charybdis) 5f5c093b2e Renamed isestimation function + Cosmetic changes. 2017-03-16 15:00:02 +01:00
Houtan Bastani 847feb17fa fix mex compilation commands for Matlab R2016b on macOS. Closes #1288 2016-10-20 14:03:35 +02:00
Houtan Bastani 084df40535 fix mex compilation commands for Matlab R2016b on Linux. #1288 2016-10-17 18:40:48 +02:00
Johannes Pfeifer c7b751bd50 Add mingw to dyn_mex.m and document compiler options and installation. 2016-10-14 16:35:05 +02:00
Houtan Bastani e84e81dd01 fix typo 2016-09-23 18:37:49 +02:00
Johannes Pfeifer 424050f380 Make sure IRFs only have full periods as xticks 2016-08-23 17:22:41 +02:00
Stéphane Adjemian (Hermes) af9b069830 Moved isoctave routine in base directory. 2016-06-17 00:04:00 +02:00
Johannes Pfeifer 7ff453846a Fix passing of compflag in dyn_mex.m
Fixes 83eeafa32c
2016-06-14 10:45:44 +02:00
Houtan Bastani 83eeafa32c fix mex file compilation with MSVC. Closes #1227 2016-06-14 10:34:14 +02:00
Michel Juillard 5e5157e375 loglinear: bug correction 2016-05-06 10:12:12 +02:00
Michel Juillard 67ea280773 adding missing semi-colon 2016-05-06 10:11:53 +02:00
Michel Juillard ef232ac436 fixed log_variable function 2016-05-05 20:53:22 +02:00
Michel Juillard 3c7c2f46a4 more fixes for loglinear with lead/lagged exogenous variables 2016-05-05 20:41:02 +02:00
Stéphane Adjemian (Charybdis) 6d2f049637 Moved routines and updated submodules dseries and dates. 2015-06-24 18:54:51 +02:00
Stéphane Adjemian 71700dff76 Merge pull request #942 from JohannesPfeifer/TaRB_integration
Integrate the TaRB-algorithm into Dynare
2015-06-19 14:30:56 +02:00
Johannes Pfeifer 0769fd1cce Add verbosity and SaveFile options to some optimizers
Also moves additional optimizer-related files to corresponding subfolder
Closes #894
2015-06-08 16:44:44 +02:00
Johannes Pfeifer c39331d526 Fix bugs in dyn_mex.m under Windows
Fixes string comparison and copy and paste error.
2015-06-07 14:07:11 +02:00
Houtan Bastani 902a5d2788 ensure that mex file exists before doing comparison 2015-05-12 10:55:24 +02:00
Michel Juillard a5a5490a12 adding feature to recompile MEX files only if the model has
changed (not activated yet)
detail of compilation code moved from preprocessor (ModFile.cc) to
./matlab/utilities/general/dyn_mex.m
2015-05-10 18:16:53 +02:00
Johannes Pfeifer fa1f7794d5 Delete stale files from previous MCMC runs
Closes #566. Also adds cosmetic changes to headers of affected routines
2015-05-09 15:13:59 +02:00
Stéphane Adjemian (Telemachus) a12e9d684a Force type consistency when comparing actual results and expected
results in unit tests (use logical type).
2014-11-09 22:17:46 +01:00
Stéphane Adjemian (Telemachus) 8fedac4d5e Replaced calls to dyn_assert by calls to dassert.
This routine is used to compare objects i -n unit tests.
2014-11-08 09:28:53 +01:00
Stéphane Adjemian (Scylla) 49e53f9299 Added isdiagonal routine. 2014-07-17 22:05:08 +02:00
Stéphane Adjemian (Scylla) 3f496b494d Moved routines under utilities folder. 2014-07-17 22:05:08 +02:00
Stéphane Adjemian (Charybdis) af1009d8a4 Merge branch 'master' into use-dynSeries 2014-06-12 17:42:52 +02:00
Stéphane Adjemian (Charybdis) 8507c27fab Removed display of current path in last unitary test. 2014-06-11 12:22:35 +02:00
Stéphane Adjemian (Charybdis) dd223e41f5 Rewrote compute_cova and renamed it nancovariance. Added a new routine to test if an array contain at least one NaN. 2014-05-22 19:27:14 +02:00
Stéphane Adjemian (Scylla) f183c047d5 Test the existence of the files and folder before deletion. 2014-04-30 10:42:39 +02:00