Commit Graph

419 Commits (3e1a2ad450f80f667a647d0740b15b7d763d87df)

Author SHA1 Message Date
Sébastien Villemot d8dcfa131e Preprocessor: changed the prototype of DataTree::AddLocalVariable() 2010-04-23 18:32:14 +02:00
Ferhat Mihoubi a812b0130e The functions erf, normpdf and normcdf work fine with bytecode option 2010-04-16 17:00:05 +02:00
Sébastien Villemot 1c51ddf34b Preprocessor: rename a function argument to avoid name conflict with standard error filestream 2010-04-15 17:46:05 +02:00
Sébastien Villemot 71d577bcb8 Preprocessor:
* give the possibility of calibrating measurement errors in the "shocks" blocks (only for observed endogenous variables)
* M_.H is now initialized in the preprocessor
* only one "varobs" statement is now accepted in a MOD file
2010-04-14 15:03:41 +02:00
Sébastien Villemot e50f555585 Preprocessor: minor fix in header inclusion 2010-04-06 11:07:19 +02:00
Michel Juillard 6f880da1f5 adding option SELECTED_VARIABLES_ONLY 2010-04-02 11:51:21 +02:00
Sébastien Villemot 656a515832 Preprocessor: removed spurious warnings 2010-03-29 12:52:29 +02:00
Sébastien Villemot c33d6fb110 Preprocessor: fixed bug with warnings (they were all disabled) 2010-03-29 12:44:20 +02:00
Michel Juillard f52c96d4c0 added options filter_covariance filter_decomposition for new version of the smoother 2010-03-22 21:57:46 +01:00
Sébastien Villemot f9cac656d1 Preprocessor: removed unfinished 'prior_analysis' and 'posterior_analysis' statements 2010-03-18 14:56:22 +01:00
Houtan Bastani 042a3ced7c second derivatives of model equations w.r.t. parameters. 2010-03-16 10:15:19 +01:00
Houtan Bastani 49e4bc89ae small fix to implementation of second derivatives of jacobian w.r.t. parameters 2010-03-15 17:23:55 +01:00
Houtan Bastani c7093a8385 second derivatives of jacobian w.r.t. parameters 2010-03-15 16:02:07 +01:00
Houtan Bastani be6b9dcd09 bug fix: missing break in switch statement 2010-03-15 15:59:54 +01:00
Michel Juillard 1638dae2a0 Merge branch 'master' of ssh://kirikou.dynare.org/srv/d_kirikou/git/dynare 2010-03-15 12:05:33 +01:00
Michel Juillard 9a8331da83 SWZ:
- reverting part of last change to handling of Qi and Ri in ComputingTasks.cc: r is the number of lags present in the restrictions
- fixing handling of Dirichlet option in mhm_input.dat. This fixes the strange Signal messages when running C executables.
- fix path in test_upper_cholesky.mod
2010-03-15 12:03:37 +01:00
Houtan Bastani 9d5e280b82 bug fix: prevent vars with leads/lags from being used outside of the model block. 2010-03-15 10:47:44 +01:00
Houtan Bastani 673bf79a5e derivative of hessian w.r.t. params. 2010-03-11 16:51:07 +01:00
Houtan Bastani 424849830c minor code cleanup. 2010-03-11 12:04:06 +01:00
Houtan Bastani 9c2e06a091 Added erf as an internally supported function and updated manual. 2010-03-11 12:00:37 +01:00
Houtan Bastani 50258dae49 Added normpdf as an internally supported function and updated manual. 2010-03-11 10:16:40 +01:00
Michel Juillard 1849436c0a - reversed ordering for lower and upper Cholesky
- added tests
- fixed various bugs
- modified initial values
Still unfinished
2010-03-10 08:32:51 +01:00
Houtan Bastani 0b26ea602e fixed spacing 2010-03-09 16:40:52 +01:00
Sébastien Villemot 0f1b58b09b Preprocessor: minor refactoring and documentation of ExprNode::writeOutput() methods 2010-03-09 12:16:32 +01:00
Houtan Bastani 22bdb1a223 Allow temporary terms to work with external functions 2010-03-09 11:21:14 +01:00
Houtan Bastani 52cbb40775 Added expression sharing for external functions 2010-03-03 11:43:22 +01:00
Houtan Bastani a70b60604c Modified external functions to enforce consistent number of function arguments within model_block 2010-03-03 11:40:13 +01:00
Houtan Bastani 46e56b59c0 Restricted syntactical variances in the implementation of the external_functions statement. 2010-02-24 15:37:52 +01:00
Sébastien Villemot e24c9c5ad1 Preprocessor: minor cosmetic changes related to external functions 2010-02-23 19:08:54 +01:00
Houtan Bastani 9abc7563c1 Add support for external functions 2010-02-23 18:15:18 +01:00
Sébastien Villemot b652c563ba Preprocessor: add error message when using USE_DLL with MSVC and some function unsupported by MSVC 2010-02-23 16:59:34 +01:00
Sébastien Villemot e70d899c66 Preprocessor:
* in DataTree, new functions for testing if some opcode (unary, binary or trinary) is used somewhere in the tree
* removed DataTree::containsSteadyState(), rather use a call to the new utility function
2010-02-23 16:45:56 +01:00
Sébastien Villemot db0dbfdaa4 Preprocessor: full support for normcdf() function, in evaluation and in C files (closes #84) 2010-02-23 14:39:49 +01:00
Sébastien Villemot c471a41fef preprocessor: under Octave/Windows, with USE_DLL, do not require "cygwin" or "msvc" option (closes #76) 2010-02-17 18:40:52 +01:00
sebastien e0e25fff7d preprocessor: added missing header
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3391 ac1d8469-bf42-47a9-8791-bf33cf982152
2010-01-28 14:18:40 +00:00
ferhat bce6509773 Adds location indications in error message of "bytecode" + minor correction (string passed as &string).
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3374 ac1d8469-bf42-47a9-8791-bf33cf982152
2010-01-22 16:42:08 +00:00
ferhat f13b95cb87 "bytecode" option can be used without "block" option
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3373 ac1d8469-bf42-47a9-8791-bf33cf982152
2010-01-22 10:03:29 +00:00
houtanb e616667f75 expectation conditional on a restricted information set
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3367 ac1d8469-bf42-47a9-8791-bf33cf982152
2010-01-18 22:08:44 +00:00
stepan 0dcff27478 Fixed a bug introduced in commit 3319 (trunk). If my understanding is correct, some parenthesis
were missing in the IF condition (causing a preprocessor error). 



git-svn-id: https://www.dynare.org/svn/dynare/trunk@3336 ac1d8469-bf42-47a9-8791-bf33cf982152
2010-01-10 21:35:32 +00:00
ferhat 0808ba42b7 Add new model option no_static : avoid to compute the static model. Useful for models without steady-state.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3319 ac1d8469-bf42-47a9-8791-bf33cf982152
2010-01-08 11:06:25 +00:00
sebastien 22000da5ea Changes by Ferhat:
* fix options stack_solve_algo={2,3,4} (closes #68)
* fix crashes for singular normalizations (closes #44) and implement decreasing cutoff
* fail for stack_solve_algo=2 under Octave (because there is no gmres function in Octave)


git-svn-id: https://www.dynare.org/svn/dynare/trunk@3279 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-21 10:29:21 +00:00
sebastien 80e8c10327 Fix problem with USE_DLL under Octave 3.2 (closes #70)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3269 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-18 13:35:50 +00:00
sebastien a33bcad666 Added missing 'nograph' option to 'forecast' command + Fixed affiliations in ref manual
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3265 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-18 08:35:12 +00:00
sebastien 3aa8876538 Beautified preprocessor code (uncrustify + emacs + manual adjustments, in particular with templates in MacroValue)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3249 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-16 17:13:23 +00:00
sebastien 160ec5d7ca preprocessor + bytecode DLL: various enhancements to block and bytecode options (changes by Ferhat)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3244 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-16 13:21:31 +00:00
houtanb 04aa1dbdb3 changed preprocessor internals to support vector<int> type. changed svar_identification to store symbols by symbol ids. Added missing Doxygen comments.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3240 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-14 15:54:00 +00:00
sebastien 07d536d020 * Fix USE_DLL option at order 2 (closes #64)
* Added a corresponding test


git-svn-id: https://www.dynare.org/svn/dynare/trunk@3236 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-14 11:06:29 +00:00
sebastien 11dc0707c3 preprocessor: fixed USE_DLL under Linux and add a provision for MacOS (need to be tested)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3226 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-11 15:34:47 +00:00
sebastien 44f82ae843 preprocessor: fixed typo
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3224 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-11 14:52:04 +00:00
sebastien 628f0aa8af USE_DLL option now works with MSVC + Added new options for Windows to 'dynare' command, to select the compiler: 'cygwin' and 'msvc' + Added the mexopts.bat for Cygwin in the SVN
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3223 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-11 14:46:21 +00:00