Commit Graph

250 Commits (2f13d6610d6842adc4a4b448eb45ebd4223967e6)

Author SHA1 Message Date
Sébastien Villemot fd115c22e7
Restore the BSD-2-clause license header of two files
Those had been incorrectly converted to GPL-3+ in commit
1bf81c9f5a.
2020-01-22 16:53:22 +01:00
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
Marco Ratto aeceafbec2 fixed error in formula of annualized steady state
(cherry picked from commit 696800b277dadd164244771ccfce8e39f1146472)
2019-01-17 10:57:39 +01:00
Sébastien Villemot 552c40cfc4
Update dseries and m-unit-tests submodules 2018-12-12 14:48:50 +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
Stéphane Adjemian(Charybdis) 99aadf7d1a Updated m-unit-tests submodule. 2018-09-14 15:37:30 +02: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) 4adebd4419 Fixed copyright header. 2018-02-01 22:51:23 +01:00
Marco Ratto a7bc6414f5 fixed bug to logical if condition 2018-02-01 19:14:13 +01:00
Marco Ratto 13a30a0a4e add a new case for ratios between endogenous variables, like trade balance to GDP. 2018-01-27 10:37:31 +01: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
Johannes Pfeifer b4204f8b9e Make sure that mean and covariance of data are correctly computed with only one observation
Need to always compute mean along first dimension

(cherry picked from commit 2d371b1997f5fa07fcbbf47e5923d7817d07c6b9)
2018-01-12 09:48:14 +01:00
Marco Ratto 45166aba81 Bug fix for undefined yr variable 2018-01-10 13:14:27 +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
Johannes Pfeifer e857df0c93 Correct header of makedataset.m 2017-10-04 10:40:42 +02:00
Stéphane Adjemian (Charybdis) 803433fa5a Updated submodules (fixed indentation and copyrigth notices). 2017-05-19 08:46:20 +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) 88e1701289 Removed useless commas and semicolons. 2017-05-16 13:24:46 +02:00
Stéphane Adjemian (Charybdis) 9285a80a73 Fixed function name in header. 2017-05-16 13:24:46 +02:00
Stéphane Adjemian (Charybdis) 3816272414 Make load_m_file_data_legacy.m work with row vectors.
Added unit-tests.
2017-05-10 17:39:11 +02:00
Johannes Pfeifer b52c095a6b Add legacy function for loading mat-files with old interface
Follows approach of #758 and closes #1364
2017-04-29 18:25:39 +02:00
Stéphane Adjemian (Charybdis) a869f5a2c4 Updated m-unit-tests submodule. 2017-03-19 12:15:22 +01:00
Stéphane Adjemian (Charybdis) bc6c6fc486 Removed remaining calls or references to cputime. 2017-03-17 22:49:01 +01:00
Marco Ratto 19cc38b39e allow to start from quarterly growth rate variables 2017-03-17 12:41:59 +01:00
Marco Ratto d7723877cf bug fixes for annualized nominal variables 2017-03-17 12:41:59 +01:00
Marco Ratto a8107e154a added new annual aggregation types, for consistent quantity/price aggregations, if required. 2017-03-17 12:41:59 +01:00
Marco Ratto e7442bcf78 added geometric average.
Set neutral type names, replacing stock/flow/deflator.
2017-03-17 12:41:59 +01:00
Marco Ratto bfe6d04bf2 - Added the possibility to compute annualized variables and associated decompositions out of quarterly ones, without blowing up variable definitions
- Fixed call to plot realtime conditional shock decomposition
2017-03-17 12:41:59 +01:00
Marco Ratto ba7802204f end of lines 2017-03-17 12:41:59 +01:00
Marco Ratto a6f7e02d17 added utilities for optimal distinguishable colors. 2017-03-17 12:41:59 +01: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 d7fc50796c submodule update: dseries, m-unit-tests 2016-10-21 15:16:14 +02: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