george
5d1fdab1f0
separating dynamic_dll handling into new dynamic_dll.cpp from k_order_perturbation.cpp containing now only mex_function for k_order_perturbationDLL and renaming k_order_perturbation.h to dynamic_dll.h
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2865 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-08-24 16:06:39 +00:00
george
6fc142406f
separating dynamic_dll handling into new dynamic_dll.cpp from k_order_perturbation.cpp containing now only mex_function for k_order_perturbationDLL and renaming k_order_perturbation.h to dynamic_dll.h
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2864 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-08-24 16:01:25 +00:00
george
7174c5f3ce
Fixing changes in passing hessian from mex/dll as sparse instead full matrix
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2796 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-06-30 09:57:23 +00:00
george
c0808c9ae9
Fixing changes in passing hessian from mex/dll as sparse instead full matrix
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2795 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-06-30 07:33:40 +00:00
michel
53b0cf6306
k_order_perturbation: proposition of modification to integrate change to the storing of Hessian with option USE_DLL
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2790 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-06-25 14:35:28 +00:00
george
13adc61353
Deleting obsolete, redundant DYN_pp. We should not use Dyn_pp subdirectory in korderpert directory of mex/sources for building dynarelib.a needed for korderpert but the up-to-date dynare++.
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2712 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-28 12:38:59 +00:00
sebastien
d1fc072a63
trunk korderpert: beautified code using uncrustify
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2702 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-27 14:28:23 +00:00
sebastien
6f5d4b3c95
trunk: fixed several copyright headers
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2681 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-19 08:57:07 +00:00
george
473b4d9a2f
just formatting changes
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2659 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-06 10:10:27 +00:00
george
aa3b7c78f3
added returning g_0 for extracting ghs2
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2658 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-05 20:22:33 +00:00
george
cc477a360d
No functional changes, just clearing up
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2650 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-29 11:37:16 +00:00
michel
225a23d8a7
kordpert: added new example and standalone test code
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2617 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-23 06:30:57 +00:00
michel
37e9be0534
kordpert: added a simpler reordering algorithm; updated Makefile
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2616 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-23 06:24:43 +00:00
george
29130a04da
Update in handling hessian store
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2608 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-19 08:35:41 +00:00
michel
785aa69aaa
mex/korderpert: providing Makefile and Makefile.include for Linux
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2607 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-18 20:06:04 +00:00
michel
93d690e9f8
mex/korderpert: making k_order_test.cpp consistent with test case fs2000k.mod
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2606 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-18 20:04:47 +00:00
michel
08e29a5427
mex/korderpert: fixing problem with DLL calling in Linux and one bug in debug message
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2605 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-18 20:04:05 +00:00
george
1654e8914b
Added void KordpDynare::ReorderBlocks
...
a recursive, hierarchical block reordering of higher order, input model derivatives inc. Hessian
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2495 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-20 17:43:34 +00:00
george
5a564dbfbc
Update: adding storage of 2nd order derivative Hessian from <model>_dynamic in k_ord_dynare. Also, correction of handling DLL for windows in
...
k_order_perturbation
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2476 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-17 17:26:13 +00:00
michel
1e017007d0
fixing problems in Linux DLL handling
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2475 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-17 07:58:01 +00:00
george
f21969d7f7
latest changes for orders >1 as system was failing with exception in KOrder constructor complaining that the passed Model Derivatives container has
...
no tensors of order higher than or equal 2. So I had to initialise those as empty within the container - BUT NOT SURE that is enough
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2470 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-14 13:32:24 +00:00
michel
1b883df049
korderpert: correcting GCC 4.3 compatibility issue
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2469 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-14 12:48:57 +00:00
michel
b4b2b2b01c
resurrecting k_ord_dynare.h deleted by mistake
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2468 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-14 12:48:12 +00:00
michel
1941302652
kordpert: small change to make it compatible with gcc 4.3
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2465 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-14 11:02:32 +00:00
george
3945918e47
1) uses passed mexext for <model>_Dynamic extension.
...
2) improved Exception handling
3) improved dev bat files
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2445 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-03 11:01:10 +00:00
george
f131ac5879
update to k_order_perturbation.cpp: adding a new faction writeMMap to t_container.hweb,
...
modelled on lines similar to WriteMat4 that outputs all
symmetries to the Memory Map and is called directly from the k_order_perturbation.cpp. Test program updated too.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2444 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-02 09:59:50 +00:00
george
9ee2a23a5d
Updated for passing qz_criterium and unit root models
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2415 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-02-12 17:21:38 +00:00
george
91264b696f
changed k_order_perturbation.cpp to use dr.ys instead oo_.steady_state
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2410 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-02-09 19:16:59 +00:00
george
24969d42a7
Update test model without "both" and without unit root variables and new Matlab test emulator of FirstOrder.cpp
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2409 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-02-09 11:19:48 +00:00
george
c98d175e4b
Updates for prototype based on reading output mat file.
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2388 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-02-02 12:57:07 +00:00
george
e247e3ef0b
Update: k_ord_dynare.cpp that prints the order when running ReorderDynareJacobianIndice
...
and k_order_perturbation with MAT file printout
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2380 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-01-28 19:26:40 +00:00
george
88afe87f0c
Update: test main which writes MAT file too
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2379 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-01-26 19:48:53 +00:00
george
3165e2a6dc
Update, The exit from the walkstochsteady, i.e. the code in the main() following exit is not complete - it is there only for debugging up to that point.
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2375 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-01-26 18:08:08 +00:00
sebastien
2495aca72a
trunk:
...
* updated copyright headers of all files modified since January 1st: the copyright notice now encompasses 2009
* fixed various other copyright header issues
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2364 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-01-21 14:39:24 +00:00
michel
b1e3185592
separating lead and lag variables (m and P)
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2357 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-01-14 20:35:25 +00:00
george
a39c2eb17f
Update: jacobian reordering methods and update of sparse tensor population. Also, test .cpp using new 1 lag 1 lead model derived from fs2000a.
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2356 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-01-13 22:25:51 +00:00
george
a750cba621
This one is for testing fs2000k.mod model derived from fs2000a but with only 1 lead and 1 lag and auxiliary variables for C2(+1)=C(+2) and P2(+1)=P(+2) and uses npred=dr.npred-nboth. Still falling over, pending reordering of jacobian.
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2355 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-01-06 16:35:43 +00:00
george
75e3717e64
Modified so that the memory space for the derivatives matrix is allocated higher in the calling chain, inside calcDerivatives. Also, changed to pointer based handling of the sparse tensor. Still not working and pending changes for auxiliary variables for test model.
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2354 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-01-05 15:20:13 +00:00
george
057beacc95
tests.cpp removed - it is not needed for the k-order library and interferes with the build
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2348 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-12-31 14:21:31 +00:00
george
814d15788d
Modifying instruction for Makefile in the extern/matlab so that it works without cweb and hweb files and create k_ord_lib.a
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2347 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-12-31 12:54:02 +00:00
george
c731bc0320
Deleting binary library and modifying Makefile in the extern/matlab so that it works without cweb and hweb files and creates k_ord_lib.a
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2346 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-12-31 12:52:28 +00:00
george
ed39ec73a9
checks commented out from Approximation::approxAtSteady and Approximation::walkStochSteady
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2345 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-12-31 10:11:49 +00:00
george
2d328f6858
Update: apparently resolved segmentqtion error but falls in FirstOrder:: solve jacobian partitioning
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2344 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-12-30 18:08:50 +00:00
george
7bde4672f8
Update of the interface class module -
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2343 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-12-24 19:03:19 +00:00
george
d618138b2a
Update of test driver and main interface
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2340 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-12-23 23:37:17 +00:00
george
023ea4b954
Update: k_order core files and Dun_pp makefiles
...
Added: Test Exe driver k_order_test_main.cpp and the temporary .bat files for compiling and linking DLL and the Test Exe driver and Readme.txt
Also added needed utils Dyn_pp subdirectory and the temporarily needed integ subdirectory
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2337 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-12-21 19:48:58 +00:00
george
2493322c84
Update: Compiles and links but does not work yet
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2285 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-12-03 19:22:48 +00:00
george
e0a8365ec8
An update, still work to do
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2279 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-12-02 15:25:04 +00:00
george
ca0e886204
Update - not yet working
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2260 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-11-17 17:00:54 +00:00
george
1160ea9161
Interface update, not yet complete
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2241 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-11-06 10:14:13 +00:00