sebastien
ca254fdb22
v4 parser: added options constant and noconstant for BVAR commands
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1394 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-09-25 11:47:44 +00:00
sebastien
97d78558d3
v4 parser: updated doxygen configuration file
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1387 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-09-20 16:23:20 +00:00
sebastien
610d849121
v4 parser: fixed problems with DLL mode
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1384 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-09-13 17:50:32 +00:00
sebastien
1733962c4d
v4 parser: updated DynareBison.cc to match Bison file
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1383 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-09-13 17:50:01 +00:00
michel
60ddf0817d
v4 parser: added option mh_recover
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1381 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-08-19 08:07:31 +00:00
sebastien
162195c882
v4 parser: removed the mechanism which records whether a given symbol has been referenced or not in the model block (useless and creates problems for standalone BVAR estimation)
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1371 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-07-16 16:48:47 +00:00
sebastien
446623f576
v4 parser: allow for empty model in some cases (actually for standalone BVAR estimation)
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1370 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-07-16 16:47:09 +00:00
sebastien
50950ea63f
v4 parser: removed deprecated "olr" command
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1342 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-07-06 14:39:38 +00:00
sebastien
bcefdfc37c
v4 parser: added "print" and "noprint" options to stoch_simul
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1336 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-07-02 13:08:21 +00:00
michel
db89b91a5e
v4 parser: NaN() is only available in recent Matlab version, changed to repmat(NaN,..,1);
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1335 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-07-02 12:48:38 +00:00
sebastien
86360d9eb4
v4: added BVAR code for computing marginal density and forecasting
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1331 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-06-25 22:42:30 +00:00
michel
d9f02736c5
v4 parser: changed function call for ramsey_policy
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1322 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-06-17 13:06:50 +00:00
michel
3261c1a1e0
v4 parser: added nograph to stoch_simul options
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1321 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-06-17 13:05:07 +00:00
michel
38c173f3be
v4 parser: touched Makefile to test SVN messages
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1306 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-06-07 12:38:25 +00:00
sebastien
95a3c08799
v4 parser: cosmetic changes
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1302 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-06-06 10:17:27 +00:00
sebastien
6eec6211fe
v4 parser: fixed several problems with USE_DLL option:
...
* in the .m file, corrected "if exist" and "mex" lines
* in the .c files, fixed problem with model local variables
* reverted Fehrat's change: power operator in C is pow(), not pow1()
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1301 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-06-06 09:58:45 +00:00
ferhat
34004449df
Error messages during compilation corrected
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1300 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-06-06 08:35:22 +00:00
ferhat
77d6a24cf7
Adding Markowitz criteria in the linear solver (new option in simul: "Markowitz=val" - with val a strictly positive real)
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1298 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-06-03 22:35:30 +00:00
ferhat
9af2e461c3
New release of deterministic simulation.
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1292 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-06-01 11:43:49 +00:00
sebastien
8fb8b0ff99
v4 parser:
...
* added pre-computing of numerical constants (i.e. 1+1 is replaced by 2)
* removed appending of ".0" for integer constants
* refactoring of NumericalConstants
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1255 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-05-08 19:16:35 +00:00
sebastien
3f6a51bfd4
v4 parser: fixed problem with C code compilation (+ beautification of the code)
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1254 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-04-30 14:49:08 +00:00
sebastien
9f33835d6a
v4 parser:
...
* implemented handling of mod file local variables (eModFileLocalVariable)
* renamed "local parameters" to model local variables (eModelLocalVariables)
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1253 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-04-30 12:09:05 +00:00
michel
8ee3650ac3
v3+4 parser: reverted wrong correction to histval a few months ago
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1251 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-04-16 15:59:29 +00:00
michel
4271844ffe
v4 parser: M_.params initialized with Nan rather than zeros
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1243 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-04-14 16:49:41 +00:00
michel
59f3fa5185
v4 parser: when ramseypolicy instruction is present one must compute derivatives
...
to one order more than the order of approximation of the solution
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1206 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-03-10 20:41:35 +00:00
sebastien
c188e1e1be
v4 parser: removed OperatorTable (no longer needed)
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1205 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-03-10 08:44:18 +00:00
sebastien
573227a044
v4 parser:
...
* removed Expression class; the "ExprNode" class is therefore now used everywhere
* removed interprete class, and replaced it by a method in ExprNode and an global evaluation context in ModFile
* fixed breakage of SparseDLL / Block decomposition code introduced in previous revision
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1204 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-03-09 17:27:46 +00:00
sebastien
30c70a35e3
v4 parser:
...
* reorganised code in ModelTree so that block decomposition and SparseDLL code is clearly separated
* replaced DataTree::offset by ModelTree::mode, using an enumeration of the three modes which is more explicit
* reorganised ExprNode::writeOutput method by using a sixfold enumeration type (ExprNodeOutputType) corresponding to the 6 different contexts in which an expression can be written
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1203 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-03-06 17:14:35 +00:00
sebastien
68c57ae019
v4 parser: no temporary terms in local parameters declaration
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1200 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-02-28 10:21:20 +00:00
michel
cf200ccd4c
v4 parser: updating DynareBison.cc/hh
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1199 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-02-24 15:22:02 +00:00
michel
aa6e833462
v4 parser: bug correction in ModelTree.cc
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1198 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-02-24 15:21:08 +00:00
michel
eb5ab33a71
v4 parser: reverting DataTree.cc to revision 1190
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1197 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-02-24 15:20:23 +00:00
michel
f4d669f3e3
v4 parser: write local parameters before temporary terms in ModelTree
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1196 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-02-24 15:04:03 +00:00
michel
abd3b96583
v4 parser: added initialization of node_counter in DataTree
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1195 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-02-24 15:02:07 +00:00
sebastien
feec20209d
v4 parser: merged Fehrat's changes
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1190 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-02-21 23:28:16 +00:00
sebastien
934f5f21a7
v4 parser:
...
* added third order derivatives in dynamic file (triggered by order=3 option of stoch_simul/olr/osr/ramsey_policy)
* don't output hessian in dynamic file if order=1 is specified
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1180 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-02-08 11:56:46 +00:00
sebastien
c3d114a7a1
v4 parser:
...
* declared ExprNode::cost as const
* Makefile: removed DynareBison.{cc,hh} from "clean" rule. Added a "distclean" rule for that purpose
* various minor changes
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1179 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-02-05 09:55:41 +00:00
michel
ba57343ac3
v4 parser: adding position.hh for people who have an old bison
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1177 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-02-01 20:05:36 +00:00
michel
4bc9ebeeb6
v4 parser: adding location.hh for people who have an old bison
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1176 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-02-01 20:04:31 +00:00
michel
b514885d99
v4 parser: adding stack.hh for people who have an old bison
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1175 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-02-01 20:03:09 +00:00
michel
6c31af64cc
v4 parser: adding DynareBison.cc .hh for people who have an old bison
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1174 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-02-01 20:00:44 +00:00
michel
5b17081b2b
v4 parser.src: corrected bug in EstimatedParamStatement::WriteOutput
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1151 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-01-13 21:10:16 +00:00
sebastien
0c16f52806
v4 parser:
...
* reshaped DataTree/ModelTree using a more object-oriented approach
* improved expression sharing algorithm (temporary terms in output files), resulting in smaller output files for big models
* optimized performance (both in computing time and memory consumption)
* bugfix: the expressions stored in local parameters of models (pound expressions) are now derived
* bugfix: cosh(0) = 1
* removed some useless parentheses in output
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1148 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-01-09 19:00:05 +00:00
michel
f67d00cd34
v4 parser: corrected Hessian when declared exogenous variables aren't all present in the model;
...
add VariableTable::get_dyn_var_nbr()
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1141 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-01-06 11:29:32 +00:00
michel
3773ad9cc3
v4 parser: used initializer to initialize ModelTree::eq_nbr
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1138 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-01-05 19:56:39 +00:00
michel
7793bc700f
v4 parser: added initialization of eq_nbr=0 in ModelTree::ModelTree()
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1135 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-01-04 22:25:39 +00:00
michel
77cdcce658
v4: adding Ramsey policy to parser;
...
changes to Ramsey policy Matlab code
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1133 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-01-04 14:42:27 +00:00
sebastien
e3bb760692
v4 parser: made OperatorTable static
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1132 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-01-02 15:43:18 +00:00
michel
6b761cf937
v4 parser: added option mh_revover
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1131 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-12-26 09:23:01 +00:00
sebastien
637ca0f86e
v4 parser DynareFlex/DynareBison: removed unused tokens and other minor cosmetic changes
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1130 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-12-22 11:42:31 +00:00