Commit Graph

1325 Commits (3117bf79f2799f4e77a86fd60518905b3a0dddc0)

Author SHA1 Message Date
Houtan Bastani 3117bf79f2 preprocessor: fix scoping problem with temporary variables 2015-09-04 15:28:06 +02:00
Houtan Bastani 0f75ddbd64 replace cend with end and cbegin with begin 2015-09-03 16:06:37 +02:00
Houtan Bastani 13be25314e preprocessor: rework temporary terms 2015-09-03 15:25:36 +02:00
Houtan Bastani 4e7aa84fee raise cost of oPowerDeriv to always create a temporary variable if it has been encountered at least twice 2015-09-03 14:25:17 +02:00
Houtan Bastani 82cee99723 temp 2015-09-02 18:50:09 +02:00
Houtan Bastani 62249da603 preprocessor: fix bug introduced in eb2890d1f58f2285306821c85fa631b865fb80b6 2015-09-02 15:30:33 +02:00
Houtan Bastani 2618211859 preprocessor: julia: print only those temporary vars needed for the computation of (residuals, g1, g2, g3) in the respective dynamic! and static! functions
(cherry picked from commit eb2890d1f58f2285306821c85fa631b865fb80b6)
2015-09-02 15:30:25 +02:00
Houtan Bastani 7c28c672a4 Revert "preprocessor: julia: print only those temporary vars needed for the computation of (residuals, g1, g2, g3) in the respective dynamic! and static! functions"
This reverts commit eb2890d1f58f2285306821c85fa631b865fb80b6.
2015-09-02 15:29:52 +02:00
Houtan Bastani 7f014b94df preprocessor: julia: print only those temporary vars needed for the computation of (residuals, g1, g2, g3) in the respective dynamic! and static! functions 2015-09-01 18:29:10 +02:00
Houtan Bastani 31c45684e0 preprocessor: add const declaration to temporary terms 2015-09-01 14:58:46 +02:00
Houtan Bastani d3a76b9a3a preprocessor: fix typo in julia temporary terms output 2015-09-01 14:34:40 +02:00
Houtan Bastani 893cb9d816 preprocessor: turn on temporary terms for julia 2015-09-01 14:11:38 +02:00
Houtan Bastani 7cc90013cd Merge branch 'julia' 2015-09-01 11:35:16 +02:00
Houtan Bastani 9e6f62d988 preprocessor: fix build on wheezy due to bug introduced in f143b54142ae1c1f27a22842c3d994323e59f16d 2015-08-31 14:33:00 +02:00
Houtan Bastani c6836b33ef preprocessor: allow for [paths] block in dynare config file. closes #1039 2015-08-28 18:06:30 +02:00
Houtan Bastani 1e307ca50f preprocessor: read config file before macroprocessor run. #1039 2015-08-28 16:09:47 +02:00
Houtan Bastani ee6880bfdb preprocessor: macroprocessor: add @#includepath macro. #1039 2015-08-28 14:43:26 +02:00
Houtan Bastani 38443b0775 preprocessor: fix bug introduced in 1ba04976aac043deca38edb03e0dfc866dfadd67. #1039 2015-08-28 11:13:19 +02:00
Houtan Bastani 9f90d6ae8c preprocessor: macroprocessor: add -I switch. closes #1039 2015-08-27 16:49:12 +02:00
Michel Juillard a538e29f1e expand extended preprocessor + first implementation of Petsc interface 2015-08-27 10:00:51 +02:00
Houtan Bastani 73a1ca92c0 preprocessor: posterior_kernel_density option to estimation. #1035 2015-08-25 11:09:08 +02:00
Houtan Bastani d8d2124866 preprocessor: allow first_obs option of estimation to accept a vector of integers. #1034 2015-08-25 10:30:21 +02:00
Michel Juillard 50097bc054 adding writeResidualsC() for external files 2015-08-24 14:53:27 +02:00
Michel Juillard 203ddeba3d finalize svar_global_identification_check 2015-08-24 14:53:27 +02:00
Houtan Bastani c35938929f remove fill!(residual, 0.0) statements as all elements of residual are assigned to 2015-08-21 17:13:38 +02:00
Houtan Bastani 5c0c9efd6f add @inbounds to model equations, temporary vars, and model vars 2015-08-21 17:13:38 +02:00
Houtan Bastani 089f9a7eb2 fix array indexing for Julia 2015-08-21 17:13:38 +02:00
Houtan Bastani 4a4a4c1d54 clean up printing 2015-08-21 17:13:32 +02:00
Houtan Bastani 34e649afc7 add assertions at beginning of function call 2015-08-21 12:05:38 +02:00
Houtan Bastani fb51517ac7 fix comments in generated files 2015-08-21 12:00:47 +02:00
Houtan Bastani 1d4002a3c7 remove duplicate try/catch 2015-08-21 11:40:43 +02:00
Houtan Bastani c1d3b521ed update static & dynamic function comments 2015-08-20 15:28:32 +02:00
Houtan Bastani 5789d1f33b check function output argument sizes 2015-08-20 15:26:10 +02:00
Houtan Bastani 87ddbce87b write third derivatives of static and dynamic functions more efficiently 2015-08-20 14:41:15 +02:00
Houtan Bastani 3419772879 fix typo in 357afaab47ebe52cecdffb8a7f8b12c754f22470 2015-08-20 14:02:22 +02:00
Houtan Bastani cb0b8c9ba3 update comments in static & dynamic funcitons 2015-08-20 12:27:43 +02:00
Houtan Bastani 046bc44e8a write Hessians of static and dynamic functions more efficiently 2015-08-20 12:18:19 +02:00
Houtan Bastani 1c27ff3cc4 add @inbounds to static and dynamic Jacobian 2015-08-20 12:12:17 +02:00
Houtan Bastani 4808c8a1ce replace zeros with fill! and remove spzeros in static and dynamic functions 2015-08-20 11:33:19 +02:00
Houtan Bastani a10efd7c4b replace empty sparse calls with spzeros 2015-08-19 17:12:06 +02:00
Houtan Bastani 22f409af4f fix type in function header 2015-08-19 14:38:35 +02:00
Houtan Bastani 1b0d63abe9 add types to dynamic, static, and steady_state function calls 2015-08-19 12:11:08 +02:00
Houtan Bastani cbe1027428 remove unnecessary get*Function functions 2015-08-19 11:28:25 +02:00
Houtan Bastani 6156c76f79 load steady_state! function into model.steady_state 2015-08-19 10:59:30 +02:00
Houtan Bastani 6b96a83d8b make steady state file modify variables in place 2015-08-18 16:31:30 +02:00
Houtan Bastani 3bf6b14049 change getPowerDeriv to get_power_deriv to accord with Julia function naming style 2015-08-18 15:49:48 +02:00
Houtan Bastani 73a25ed90c adding using Utils to dynamic & static files 2015-08-18 15:45:23 +02:00
Houtan Bastani c8f9e1229f update static model to use multiple dispatch 2015-08-18 15:42:24 +02:00
Houtan Bastani dae79ecafb update dynamic model to use multiple dispatch 2015-08-18 15:32:30 +02:00
Houtan Bastani 33f2e2077c preprocessor: add utf-8 tokenizing 2015-08-17 17:09:40 +02:00