Commit Graph

8816 Commits (3fffcc2a3f43d2bda5fec18906a893a92ae15e38)

Author SHA1 Message Date
Houtan Bastani 3fffcc2a3f Use Julia 4.0 syntax
This reverts commit d208391c6d.
2015-09-01 11:05:39 +02:00
Houtan Bastani 1d17f6b770 remove fill!(residual, 0.0) statements as all elements of residual are assigned to 2015-08-21 17:13:38 +02:00
Houtan Bastani d2c3debeb8 add @inbounds to model equations, temporary vars, and model vars 2015-08-21 17:13:38 +02:00
Houtan Bastani ccd383cbed fix array indexing for Julia 2015-08-21 17:13:38 +02:00
Houtan Bastani 2a9761ff33 clean up printing 2015-08-21 17:13:32 +02:00
Houtan Bastani 5666e12e8f add assertions at beginning of function call 2015-08-21 12:05:38 +02:00
Houtan Bastani 59122a1e73 fix comments in generated files 2015-08-21 12:00:47 +02:00
Houtan Bastani 8715878971 remove duplicate try/catch 2015-08-21 11:40:43 +02:00
Houtan Bastani 73a0ad51d6 update static & dynamic function comments 2015-08-20 15:28:32 +02:00
Houtan Bastani a686a47ce7 check function output argument sizes 2015-08-20 15:26:10 +02:00
Houtan Bastani b00ed9f0a4 write third derivatives of static and dynamic functions more efficiently 2015-08-20 14:41:15 +02:00
Houtan Bastani 129c8d9e46 fix typo in 357afaab47 2015-08-20 14:02:22 +02:00
Houtan Bastani 357afaab47 update comments in static & dynamic funcitons 2015-08-20 12:27:43 +02:00
Houtan Bastani c4d3eb5b3c write Hessians of static and dynamic functions more efficiently 2015-08-20 12:18:19 +02:00
Houtan Bastani 786d1bfcf1 add @inbounds to static and dynamic Jacobian 2015-08-20 12:12:17 +02:00
Houtan Bastani a244754a15 replace zeros with fill! and remove spzeros in static and dynamic functions 2015-08-20 11:33:19 +02:00
Houtan Bastani 6572b6f14f replace empty sparse calls with spzeros 2015-08-19 17:12:06 +02:00
Houtan Bastani 996f67c622 fix type in function header 2015-08-19 14:38:35 +02:00
Houtan Bastani 83cf41c3d2 replace Array{Type,1} with Vector{Type} 2015-08-19 14:10:07 +02:00
Houtan Bastani 0f76765bd8 add types to dynamic, static, and steady_state function calls 2015-08-19 12:11:08 +02:00
Houtan Bastani d65e9306cb remove unnecessary get*Function functions 2015-08-19 11:28:25 +02:00
Houtan Bastani a875de9a21 ignore .jl files under tests/ 2015-08-19 11:14:47 +02:00
Houtan Bastani 09541f10ef load steady_state! function into model.steady_state 2015-08-19 10:59:30 +02:00
Houtan Bastani ae7132f7ae make steady state file modify variables in place 2015-08-18 16:31:30 +02:00
Houtan Bastani 534609ffce change getPowerDeriv to get_power_deriv to accord with Julia function naming style 2015-08-18 15:49:48 +02:00
Houtan Bastani 6ac346606b adding using Utils to dynamic & static files 2015-08-18 15:45:23 +02:00
Houtan Bastani 2e7e9bc8f0 update static model to use multiple dispatch 2015-08-18 15:42:24 +02:00
Houtan Bastani 252688cf4a update dynamic model to use multiple dispatch 2015-08-18 15:32:30 +02:00
Houtan Bastani f2cc9d3899 preprocessor: add utf-8 tokenizing 2015-08-17 17:09:40 +02:00
Houtan Bastani bba553ff32 modify *_set_auxiliary_variables to work in julia 2015-08-17 15:36:18 +02:00
Houtan Bastani a917d5e998 only add path to LOAD_PATH if it is not already there 2015-08-17 12:29:59 +02:00
Houtan Bastani 96869fbd76 add workspace() command to the beginning of test.jl 2015-08-17 11:45:24 +02:00
Houtan Bastani d208391c6d undo change introduced in 9556d37fd6 because this breaks functionality in 0.3.2 2015-08-17 11:44:53 +02:00
Houtan Bastani cf3cdf0d59 remove unnecessary braces 2015-08-17 11:17:26 +02:00
Stéphane Adjemian (Charybdis) 7c0cf3eff3 Added bash script for deleting generated files. 2015-08-13 11:12:39 +02:00
Stéphane Adjemian (Charybdis) ed12ea429b Added @dynare macro. 2015-08-13 11:11:50 +02:00
Stéphane Adjemian (Charybdis) 9556d37fd6 Removed deprecated syntaxes. 2015-08-12 19:03:29 +02:00
Stéphane Adjemian (Charybdis) b2bf59e8da Added example (rbc model). 2015-08-12 18:37:41 +02:00
Houtan Bastani 8f92b975e4 write dynamic model output
Conflicts:
	preprocessor/DynamicModel.cc
2015-07-29 14:59:09 +02:00
Houtan Bastani 114b446bff Merge branch 'master' into julia 2015-07-29 14:53:35 +02:00
Houtan Bastani f26551509c preprocessor: simplify writing of NNZDerivatives 2015-07-29 14:52:15 +02:00
Houtan Bastani 45d1f7c5b6 add linear option to options 2015-07-29 13:31:42 +02:00
Houtan Bastani 8a4357640e remove unnecessary assignment as the field is assigned in the constructor 2015-07-29 13:22:40 +02:00
Michel Juillard fe861fee76 fixed bug introduced in commit 1bd2a1b1c2 2015-07-29 11:54:10 +02:00
Houtan Bastani e5d0ba599a fix writing of aux vars, predetermined vars, and observed vars 2015-07-29 11:51:27 +02:00
Houtan Bastani 570230d8f0 rename model__ to model 2015-07-29 11:35:10 +02:00
Houtan Bastani 0126dec837 create options 2015-07-29 11:30:01 +02:00
Houtan Bastani 2b7fc247f7 bug fix in writing of dynamic params derivs file 2015-07-29 10:40:30 +02:00
Michel Juillard 9a7aac65de fixing type in documentation 2015-07-29 09:23:16 +02:00
Houtan Bastani bc49d06e61 simplify modules created by preprocessor 2015-07-28 18:00:00 +02:00