Commit Graph

2211 Commits (84aae713a686a25ae920948282816ff95e1aee54)

Author SHA1 Message Date
houtanb fe723f0dab allow for vector <int> to be passed by Bison and modified processing of svar statement accordingly.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3221 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-10 22:49:50 +00:00
sebastien db008078db dynare++: fixed typos in doc of kord library
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3220 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-10 18:52:39 +00:00
michel 74a8acc29c 4.1 adding instruments option to ramsey_policy; ramsey_policy can now use a *_steadystate.m file
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3219 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-10 14:59:32 +00:00
houtanb 203c6582ba svar: allow for two options to be passed instead of only three.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3218 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-09 16:32:30 +00:00
houtanb a1a73b3a17 fixed svar so when the equations option is passed a vec_int it outputs a column vector.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3217 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-09 16:17:12 +00:00
sebastien 2f7c327b0e k-order:
* in the preprocessor, fail if k_order_solver given without use_dll
* updated the reference manual, in particular w.r. to the new wiki page on MEX compilation under Windows


git-svn-id: https://www.dynare.org/svn/dynare/trunk@3216 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-09 11:50:58 +00:00
sebastien 728fb07d34 mjdgges.m: improve warning message
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3215 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-09 09:36:54 +00:00
houtanb 16e1bb2ef0 swz: implementation of svar
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3214 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-09 00:38:53 +00:00
george 6ef321d09c added missing " >> mex.def" for mexFunction as Matlab could not find mexFunction any more
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3213 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-08 18:45:33 +00:00
houtanb a2f878a179 swz: markov switching statement
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3212 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-08 16:46:13 +00:00
michel 7ac2213f9d 4.1 preprocessor: removing -v option in mex under Linux
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3211 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-08 15:12:59 +00:00
michel 84b65c9179 mex for Linux (to be tested)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3210 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-08 14:02:02 +00:00
michel 5958a3256c 4.1 preprocessor: exporting "Dynamic" symbol is necessary only in Windows; added test for ispc
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3209 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-08 12:00:55 +00:00
michel 64bf9ac188 4.1 preprocessor: exporting Dynamic symbol when making mex file for dynamic model with Matlab
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3208 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-08 11:49:25 +00:00
sebastien 4bcbd06980 k_order_perturbation: cosmetic change
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3207 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-08 10:01:41 +00:00
sebastien 20d4107493 qz/mjdgges.m: under Octave, warn users if some eigenvalues are > 1.0 but <= qz_criterium in modulus (Octave can't change the criterium)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3206 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-08 09:36:03 +00:00
george effee9ffab removed more leaks
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3205 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-07 17:03:59 +00:00
george 5c75c9aaee removed more leaks in calcDerivatives
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3204 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-07 12:48:18 +00:00
george 12d7abab24 removed leaks in calcDerivatives
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3203 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-07 12:35:55 +00:00
michel cf933608d0 4.1: solution for QZ in Octave (to be tested)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3202 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-07 12:25:24 +00:00
sebastien c402bd8969 qz/mjdgges.m: fail under Octave, since Octave can't compute a complex QZ
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3201 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-07 11:34:54 +00:00
michel 8198b1a1eb 4.1 k_order_perturbation: correcting bug in releasing _dynamic.DLL (Windows version)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3200 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-06 21:21:06 +00:00
michel 5031122649 4.1 k_order_perturbation: simplifying dynamic_dll code
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3199 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-06 14:10:43 +00:00
michel f22fa8979c 4.1 k_order_perturbation: fixing typos
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3198 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-06 13:21:52 +00:00
george c6ed380a08 Additional #if !defined(__CYGWIN32__) && !defined(_WIN32)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3197 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-06 12:21:38 +00:00
michel e690320b1d 4.1: more defined __CYGWIN32__
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3196 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-06 11:56:11 +00:00
george 684d8ac822 Cleared up DynareMxArrayToString in k_order_perturbation.cpp and changed #ifdef to #if defined() in dynamic_dll.cpp
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3195 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-06 00:03:22 +00:00
houtanb 965c743537 swz: svar_identification
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3194 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-04 21:32:19 +00:00
george a5dad180ca opt taken out
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3193 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-03 09:58:58 +00:00
george 95f36d5d68 yss error taken out
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3192 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-03 09:37:06 +00:00
george aa6cf78250 Adding loglinear correction and the 2nd output argument for the 1st order as there must be 1+order output variables
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3191 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-03 08:14:10 +00:00
sebastien 95547b3d09 Build system: for MATLAB < 7.1, require that the user provides MEXEXT on the configure command line
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3190 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-02 13:42:25 +00:00
sebastien 686e9858f7 k_order_perturbation tests: added some comments and incorporated them into the testsuite
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3189 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-01 18:07:36 +00:00
sebastien ee3ceb7db6 M-files and preprocessor:
* removed "options_.simul", and instead test if "options_.periods" is non-zero
* test for the incompatibility of options "periods" and "hp_filter" in "stoch_simul.m", instead of in the preprocessor
Reference manual:
* removed "simul" options, updated "periods"
* updated "order" option (for 3rd order)
* added "k_order_solver" option
* give some hints for installing a compiler for users of MATLAB for Windows


git-svn-id: https://www.dynare.org/svn/dynare/trunk@3188 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-01 17:51:47 +00:00
sebastien 59ca45e4f4 Removed last remnants of "ct_" global variable
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3187 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-01 16:30:56 +00:00
sebastien 36f82af66f Reference manual: fixed syntax of histval
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3186 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-01 15:54:20 +00:00
sebastien 0dd2bdf39a k_order_perturbation: fix for compilation with MS Visual C++
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3185 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-01 15:18:48 +00:00
michel 9d977e720b SWZ: updating SWZ test file tests/swz/test1.mod
removing useless function


git-svn-id: https://www.dynare.org/svn/dynare/trunk@3184 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-01 14:05:41 +00:00
michel d37763635b SWZ: adding identification/upper_cholesky.m
cleaning up code


git-svn-id: https://www.dynare.org/svn/dynare/trunk@3183 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-01 13:52:52 +00:00
george ff6f2a90ea Updating Working Prototype for performance testing
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3182 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-01 13:34:34 +00:00
houtanb 8cfdeacc50 slight bug fix: allow vec_int type to be specified with commas
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3181 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-01 12:17:44 +00:00
sebastien ad71ee53c2 k_order_perturbation: cosmetic changes for the sake of clarity
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3180 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-30 20:31:11 +00:00
michel 48dad3e37a 4.1: add preprocessor interface for k_order_solver
rename use_k_order to k_order_solver in Matlab procedures
     fix tests


git-svn-id: https://www.dynare.org/svn/dynare/trunk@3179 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-30 19:54:45 +00:00
sebastien 19a3db853e preprocessor: fixed option "use_dll" (and therefore "k_order_solver") for Octave
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3178 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-30 16:36:00 +00:00
sebastien 03600d9131 k_order_perturbation DLL:
* no longer use mexPrintf()/mexErrMsgTxt() outside mexFunction(): use exceptions to report errors, in order to be able to integrate the code in a standalone executable
* fixed a few memory leaks (other still remain)
* fixed a buffer overflow issue in the filename of the dynamic MEX (using C++ string object)
* various cosmetic cleanups


git-svn-id: https://www.dynare.org/svn/dynare/trunk@3177 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-30 16:31:27 +00:00
stepan 9a23cee31c * Changed name of ct_ --> options_.terminal_condition. The default value is zero
(the terminal condition is y_{T} = y^{\star}), other possible values
  are  1  (terminal  condition   is  y_{T+1}=y_{T})  and  2  (terminal
  condition is  y_{T+1}=TransitionMatrix*y_{T}, where TransitionMatrix
  is given by the first order approximation of the reduced form model).
* Added mode options_.terminal_condition=2 in perfect_foresight_simulation.m.



git-svn-id: https://www.dynare.org/svn/dynare/trunk@3176 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-30 16:24:57 +00:00
michel 622a2d7ec2 4.1: adding tests for k_order_perturbation
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3175 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-30 12:22:32 +00:00
houtanb 6d5f9b53c6 swz keywords and structure introduced for future implementation of functionality
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3174 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-30 00:38:26 +00:00
michel d2b1765c48 v4.1: changing Matlab routines for results display and simulation at order = 3
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3173 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-29 21:05:16 +00:00
michel 1820b3a4fb v4.1: remove matlab/kordpert not need anymore
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3172 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-29 21:02:52 +00:00