Sébastien Villemot
03ac8c8182
simult_: fix bug in error message
2019-04-12 18:26:30 +02:00
Sébastien Villemot
a6d7baabea
Dynare++: improvements to comments
2019-04-12 18:26:30 +02:00
Houtan Bastani
92224e22be
Merge branch 'master' into 'master'
...
read JSON for stochastic simulations from GUI
See merge request Dynare/dynare!1650
2019-04-12 13:31:38 +00:00
Sumudu Kankanamge
aa66949a13
read JSON for stochastic simulations from GUI
2019-04-12 15:24:03 +02:00
Houtan Bastani
eb3b1dda70
preprocessor: submodule update
2019-04-11 11:34:27 +02:00
Stéphane Adjemia (Scylla)
2d9e7a704b
Always write list of variables on more than one line.
...
(one line per variable)
2019-04-11 10:42:50 +02:00
Stéphane Adjemia (Scylla)
fe4a15e417
Fixed bug if LHS no present in datablase.
...
Removed range on the left hand side.
2019-04-11 10:13:34 +02:00
Sébastien Villemot
2dc988b69d
k-order DLL: make model derivatives storage ready for an arbitrary order
2019-04-10 19:00:49 +02:00
Sébastien Villemot
85f472c74b
Dynare++: new helpers for constructing {Const,}{TwoD,General}Matrix from mxArray*
2019-04-10 19:00:49 +02:00
Houtan Bastani
6b9c67ea48
preprocessor: submodule update
2019-04-10 16:47:18 +02:00
Sébastien Villemot
ab6cdd0d33
Add -noFigureWindows to MATLAB ≥ R2019a batch options
2019-04-10 13:01:01 +02:00
Stéphane Adjemia (Scylla)
ba46992e18
Bug fix (filter out lhs variable).
2019-04-10 10:40:41 +02:00
Stéphane Adjemia (Scylla)
66e44dd830
Added missing routine.
...
Example for agregate routine.
2019-04-10 09:56:30 +02:00
Sébastien Villemot
d0b4429fb6
k-order DLL: misc minor improvements
2019-04-10 09:41:58 +02:00
Sébastien Villemot
b556290d60
k-order DLL: simplify and better document correspondence between Dynare and Dynare++ variable orderings
2019-04-10 09:23:32 +02:00
Houtan Bastani
c3c2397a87
fix bug with noemptylinemacro
2019-04-09 15:13:52 +02:00
Sébastien Villemot
a8a53804e7
Fix typo
2019-04-09 14:38:08 +02:00
Sébastien Villemot
efa1f39e71
k-order DLL: finally adapt for M_.{endo,exo}_names as cell arrays
2019-04-08 18:47:49 +02:00
Sébastien Villemot
86a607a4fc
k-order DLL: make the output arguments ready for arbitrary order
2019-04-08 18:47:49 +02:00
Houtan Bastani
a04f5b7ae3
doc: fix typos in manual
2019-04-08 15:45:12 +02:00
Houtan Bastani
01ce90afcd
doc: fix typo in option default value
2019-04-08 12:05:03 +02:00
Stéphane Adjemia (Scylla)
8740355407
Rewrote evaluate routine.
...
- Can handle more than one equation.
- Can handle identities.
- Forbids dynamic equations.
- Can handle following LHS y, diff(y), diff(diff(y)), log(y), diff(log(y)) and
diff(diff(log(y))), other transformations will result in an error.
- Added integration tests.
Remark 1. In the integration tests I compare the values returned by the
evaluate routine with the values computed with the simulation
routines. Normally the discrepancies should be small, but this is not
the case when the endogenous variable appear under a log on the
LHS. My current conclusion is that this has more to do with the
cumulation of the accuracy errors in the simulation routine (a
sequence of Newton algorithms) rather than with the evaluate routine.
Remark 2. Currently the only allowed nonlinear transformation on the LHS
endogenous variable is the log. It is not difficult to generalise, at
some point I had all the matlab functions allowed by Dynare,
but this would complicate the code for not much gain.
2019-04-08 11:01:34 +02:00
Stéphane Adjemia (Scylla)
de458022e5
Removed non existing subfolder from path.
2019-04-08 10:55:23 +02:00
Sébastien Villemot
e67c172000
Dynare++: improvements to comments
...
[skip ci]
2019-04-05 18:39:47 +02:00
Sébastien Villemot
bdc95f23aa
Make MEX build system forward-compatible with Automake 2.0
...
We now use a symbolic link farm to make source file accessible from build
directories.
Closes #466
2019-04-05 16:55:11 +02:00
Sébastien Villemot
26f0fb1104
Fix indentation in Makefiles with Emacs 26
...
It looks like in Emacs 26, the semantics of .dir-locals.el has changed:
overriding the default value of indent-tabs-mode in makefile-mode no longer
work. Therefore we no longer set a default value and rather set the variable on
a per-mode basis.
By the way, remove the setting for fill-column.
2019-04-05 15:10:21 +02:00
Sébastien Villemot
dee230bf32
Minor shell modernization
2019-04-05 12:12:24 +02:00
Sébastien Villemot
0f1fdde166
Update m4 macros from autoconf-archive
...
By the way, drop ax_boost_base.m4 which is no longer used.
2019-04-04 16:40:31 +02:00
Sébastien Villemot
fa64a25825
qmc_sequence DLL: various modernizations and simplifications
2019-04-03 19:04:36 +02:00
Houtan Bastani
d0b1e0a721
doc: fix typos
2019-04-03 14:35:39 +02:00
Houtan Bastani
57f97b1a07
doc: fix parameter_set option
2019-04-03 14:35:39 +02:00
Stéphane Adjemia (Scylla)
33c9b5f435
Cosmetic change.
...
Renamed the auxiliary variables for PAC/VAR expectations unrolled
expressions. Using shorter prefixes, PE_ and VE_ instead of pac_expectation and
var_expectations.
2019-04-02 22:57:45 +02:00
Stéphane Adjemia (Scylla)
94b20fe7e8
Activate two integration tests.
2019-04-02 22:57:23 +02:00
Stéphane Adjemia (Scylla)
8415ac48a0
Fixed bug (missing initialisation).
2019-04-02 21:31:45 +02:00
Sébastien Villemot
774e60f04c
options_.risky_steadystate is an (undocumented) boolean value
...
By the way, enable the option in example1_korder.mod (it does not work, but no
harm since it’s not in the testsuite).
2019-04-02 19:16:13 +02:00
Sébastien Villemot
dd09264b03
k-order DLL: return unfolded matrices in 5th output argument
...
Thus we can remove unfolding code from k_order_pert.m.
2019-04-02 19:16:13 +02:00
Sébastien Villemot
20cbc30450
k-order DLL: various simplifications
2019-04-02 19:16:10 +02:00
Stéphane Adjemia (Scylla)
aa499671ce
Added the possibility to rename an endogenous variable in equation.
2019-04-02 18:06:47 +02:00
Stéphane Adjemia (Scylla)
599ebc2614
Ensure that residuals are removed even if the variable is not preceeded by a + symbol.
2019-04-02 15:40:43 +02:00
Stéphane Adjemia (Scylla)
a72ee7e919
Updated dseries submodule.
2019-04-02 14:30:42 +02:00
Stéphane Adjemia (Scylla)
becbba10ad
Updated .gitignore for macOS (dynare++).
2019-04-02 08:29:25 +02:00
Stéphane Adjemia (Scylla)
f39f57b9b5
Added parameter values in cherrypick/agregate routines.
2019-04-02 07:11:32 +02:00
Sébastien Villemot
960deff5a9
Dynare++: improvements to comments
2019-04-01 18:42:35 +02:00
Sébastien Villemot
fe9a691969
Dynare++: simplification of platform-specific routines for available memory
2019-04-01 18:42:35 +02:00
Sébastien Villemot
a6ff8495cd
Dynare++: use portable C++11 primitive for detecting the number of logical processors
2019-04-01 18:42:35 +02:00
Houtan Bastani
df66ec5b9e
mac: make build system work with clang and gcc
...
(cherry picked from commit 7e46d8267c
)
2019-04-01 18:03:21 +02:00
Houtan Bastani
7e46d8267c
mac: make build system work with clang and gcc
2019-04-01 17:38:42 +02:00
Houtan Bastani
a93c6681c7
clang: can’t print non POD type through variadic function
2019-04-01 16:05:47 +02:00
Houtan Bastani
51d7508c7f
dynare++: _SC_AVPHYS_PAGES is not defined on macOS
2019-04-01 15:47:35 +02:00
Houtan Bastani
4120ce6730
dynare++: include needed on macOS
2019-04-01 14:54:20 +02:00