Stéphane Adjemian (Guts)
5b72a3041c
Use new unit tests interface.
2023-01-02 22:58:20 +01:00
Johannes Pfeifer
9506e723c9
ispd.m: filter out Octave incompatibility https://savannah.gnu.org/bugs/?63082
2022-09-20 12:42:04 +02:00
Sébastien Villemot
10af04c6d8
Use Unicode copyright symbol (in UTF-8 encoding) in all source files
...
It is now supported by the MATLAB editor (as of R2022a).
The old ASCII notation is left in some files that we copy as-is from other
sources (e.g. in the contrib/ and m4/ subdirectories).
The particles submodule is not updated at this point, because it is in an
inconsistent state.
[skip ci]
2022-04-13 14:54:25 +02:00
Sébastien Villemot
766fff88f6
Use secure URL for link to GNU licenses
2021-06-09 17:35:05 +02:00
Johannes Pfeifer
ca978b6bf7
get_labels_transformed_vars.m: fix header
...
[skip CI]
2021-01-06 10:27:53 +01:00
Johannes Pfeifer
9c52aec23d
Adjust output of loglinear option to make clear when a logged variable is used
...
- use of function for getting labels will allow to accommodate https://git.dynare.org/Dynare/dynare/-/issues/349
- incidentally fixes a bug in the display of the simulated variance decomposition for observables with measurement error
2020-12-23 13:53:44 +01:00
Johannes Pfeifer
cfe1069367
Factorize prior bound and definiteness checks
...
also removes useless isestimation check
2020-06-22 20:37:31 +02:00
Sébastien Villemot
154fced8b7
Remove old SMM code
...
Ref. #1724
2020-05-18 17:30:40 +02: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
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