Commit Graph

1596 Commits (master)

Author SHA1 Message Date
Houtan Bastani 1310ec3caa update pac output 2018-04-18 15:50:35 +02:00
Houtan Bastani d686275da1 fix bug with predetermined variables used in model local variables 2018-04-18 14:29:40 +02:00
Houtan Bastani 7ac33099f8 support undiff in pac model 2018-04-17 16:56:27 +02:00
Houtan Bastani bb1cc0bebf simplify var_model statement calls 2018-04-17 16:56:02 +02:00
Houtan Bastani 09e73f3bb4 var_model: fix lag info when diff present 2018-04-17 16:55:55 +02:00
Stéphane Adjemian(Charybdis) 38fc19f9d3 Fixed type issue. NaN cannot be used if Int is expected. 2018-04-11 09:17:43 +00:00
Stéphane Adjemian(Charybdis) 70ec52a6cc Added a routine returning only the static jacobian.
Also added flags to decide which temporaries have to be (re)computed.
2018-04-10 09:45:40 +02:00
Houtan Bastani fb8d9258d0 add pac_model statement 2018-04-04 11:48:59 +02:00
Stéphane Adjemian(Charybdis) dfccecfb11 Fixed bug (x, exogenous variables steady state, is not a Matrix). 2018-03-29 22:23:38 +02:00
Stéphane Adjemian(Charybdis) 46a2272ef9 Added new member in model_ (julia output).
temporaries.static and temporaries.dynamic are 4*1 vectors of
integers, each element is the number of temporary variables used for
to evaluate the residuals, the jacobian matrix, the hessian matrix and
the matrix of third order derivatives.
2018-03-29 14:10:34 +02:00
Stéphane Adjemian(Charybdis) b52ded0eb4 Fixed doc headers for static and dynamic julia modules. 2018-03-29 09:31:25 +00:00
Stéphane Adjemian(Charybdis) 849936d81b Same as bce9b66312 for matlab output. 2018-03-28 19:14:43 +02:00
Stéphane Adjemian(Charybdis) bce9b66312 Added arrays providing the number of temp terms in Julia modules...
... For static and dynamic models.
2018-03-28 17:50:58 +02:00
Houtan Bastani ec215e2a44 separate temporary terms: WIP 2018-03-28 16:41:48 +02:00
Houtan Bastani 7cbd7b6e1e Revert "Added new routine for the dynamic model (only computes the jacobian)."
This reverts commit 84c6bf5daf.
2018-03-28 16:14:15 +02:00
Houtan Bastani 13d408b058 Revert "Added new routine for the static model (only computes the jacobian)."
This reverts commit 7c9c83fba1.
2018-03-28 16:14:15 +02:00
Stéphane Adjemian(Charybdis) c4ae840b20 Added {endo,exo,exo_det,param}_nbr in Julia output (in model_). 2018-03-27 14:47:51 +02:00
Houtan Bastani 493f98fa3a fix typo 2018-03-27 11:01:29 +02:00
Houtan Bastani db1f6c2998 Modify changes from on-the-fly branch 2018-03-20 11:03:46 +01:00
Houtan Bastani 80060fb9ef Merge remote-tracking branch 'origin/declare_vars_in_model_block' 2018-03-19 17:05:03 +01:00
Stéphane Adjemian(Charybdis) deb77be8f1 Fixed bug.
Preprocessor was not returning an error when some of the exogenous
variables were not used in the model.
2018-03-13 09:20:14 +01:00
Stéphane Adjemian(Charybdis) 84c6bf5daf Added new routine for the dynamic model (only computes the jacobian). 2018-03-10 10:20:50 +01:00
Stéphane Adjemian(Charybdis) 7c9c83fba1 Added new routine for the static model (only computes the jacobian). 2018-03-10 10:20:50 +01:00
Houtan Bastani 5d339b69de simplify pac_expectation code 2018-03-07 15:04:07 +01:00
Houtan Bastani 2a2f2799dd fix compilation warnings 2018-03-07 12:58:51 +01:00
Houtan Bastani 81f2258228 var_model: store max lag info 2018-03-06 15:17:39 +01:00
Houtan Bastani a69c53b0c8 clean up var_model code 2018-03-06 14:42:11 +01:00
Houtan Bastani 03f88931c6 Merge branch 'diff' 2018-03-05 13:08:09 +01:00
Stéphane Adjemian(Charybdis) 051f41c5f7 Shortened a function name. 2018-03-04 16:54:11 +01:00
Houtan Bastani de9e897a59 fix bug when the argument of the diff operator is not a variable 2018-03-02 18:39:38 +01:00
Houtan Bastani 204457cd86 explicitly close output streams 2018-03-02 18:39:16 +01:00
Houtan Bastani feb5b93eea create function to calculate aux vars as dseries 2018-03-02 17:50:35 +01:00
Houtan Bastani 583734f515 new diff equations not added to aux_equations 2018-03-02 16:40:19 +01:00
Houtan Bastani f56ae705a4 fix bug in symb_id when diff'd expr is not a VariableNode 2018-03-02 15:22:54 +01:00
Houtan Bastani 9885fbacff diff: substitute auxiliary variables starting from the least lagged 2018-03-02 12:32:01 +01:00
Stéphane Adjemian(Charybdis) 02ef145aa5 Fixed initialization of state_var for julia. 2018-03-01 15:55:14 +01:00
Stéphane Adjemian(Charybdis) 250106f1d2 Cosmetic change. 2018-03-01 09:58:04 +01:00
Houtan Bastani 1e20717f58 fix bug in substitution of diff operator 2018-02-28 17:33:00 +01:00
Houtan Bastani 4897ab7d69 clean up adl code 2018-02-28 11:31:08 +01:00
Houtan Bastani f439f86688 fix bug with the collection of dynamic variables for diff operator 2018-02-28 10:44:24 +01:00
Stéphane Adjemian (Charybdis) d7815e9e47 Fixed comments. 2018-02-27 23:41:24 +01:00
Houtan Bastani a1437ac982 Merge remote-tracking branch 'dynare-preprocessor-github/master' into other-master 2018-02-26 12:09:58 +01:00
Houtan Bastani 78295bf6fc remove version from preprocessor output 2018-02-21 17:26:16 +01:00
Houtan Bastani 1db815e00b clarify package/version info 2018-02-16 17:23:48 +01:00
Houtan Bastani 2f9350b164 preprocessor submodule: build system 2018-02-15 12:40:17 +01:00
Houtan Bastani b504f160ca move files to src directory 2018-02-15 11:48:04 +01:00