I’m trying to write some code that will solve Smets-Wouters 2007 on Python for a research project and using Dynare to check my work. I’m wondering if Dynare has stored anywhere that matrix A,B for the generalized eigenvalue problem/Schur decomposition (and ultimately f_xx,f_yy,f_xs…when I do this for second-order methods). I’ve even been looking into the matlab code but it’s tough to wade through. Any pointers would be helpful even if its not in M_ or oo_. I have found oo_.dr.ghx, ghu, gx etc. which is helpful but I need to debug somewhat earlier than that and am a little confused what is in dr.edim and what is dr.state_var-dr.edim. Thanks for your help,
Cameron