* created a distinct expression tree for the static model (thus giving better sharing of sub-expressions and better computation of temporary terms for the static model)
* for that purpose, created StaticModel and DynamicModel classes (ModelTree still persists, but only contains code shared between StaticModel and DynamicModel)
* removed sparse static file (to be later replaced by new algorithm for steady state computation on large models)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2592 ac1d8469-bf42-47a9-8791-bf33cf982152
* fixed synopsis and options of estimation command
* version number equal to 4.0.3.1 (for immediate release)
* various cosmetic changes
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2590 ac1d8469-bf42-47a9-8791-bf33cf982152
an hypercube of max dimension 1111).
Because of a fortran 77 source compiled with gfortran (g77 is no more
available on recent debian system), we have to override the gfortran
library shipped with matlab. This can be done using the LD_PRELOAD
environment variable in the .bashrc *or* removing the libraries
distributed with matlab *or* modifying the script .matlab7rc.sh. We
may provide a (python or whatever) script to do this when dynare is
installed.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2574 ac1d8469-bf42-47a9-8791-bf33cf982152
* Bug fix in prior_sampler.
* Print more informations (BK conditions, steadys state or mjdgges
* problems...) when running get_prior_info.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2567 ac1d8469-bf42-47a9-8791-bf33cf982152
in Matlab version 7.3, Matlab Lapack library only uses it from version 7.8
(needs to be merged in 4.0)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2565 ac1d8469-bf42-47a9-8791-bf33cf982152
the one from the matlab version <mod>_dynamic.m is so we sparse it anyway to be able to pass it to sparse_hessian_times_B_kronecker_C
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2564 ac1d8469-bf42-47a9-8791-bf33cf982152
the computation of the prior density.
bayestopt_.p1 is always the prior mean
bayestopt_.p2 is always the prior standard deviation
bayestopt_.p3 is unchanged
bayestopt_.p4 is unchanged
bayestopt_.p5 [new field] is the prior mode
bayestopt_.p6 [new field] is the first hyper-parameter of the prior density
bayestopt_.p7 [new field] is the second hyper-parameter of the prior density
These fields are defined in set_prior and are never changed after. In
the previous version of Dynare, the hyper parameters of the densities
were updated at each iteration of the optimization routine or the
metropolis.
Removed fields pmean and pstdev.
Vectorized the code in priordens.
Fixed the bug mentionned by Gianni. If a (logged) density is evaluated
outside the prior domain, the output of priordens if minus infinity
(instead of a complex number).
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2556 ac1d8469-bf42-47a9-8791-bf33cf982152
set_dynare_threads in ./matlab/thread/multi (the user has no access
to this function if mex files are compiled without the openmp flag).
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2551 ac1d8469-bf42-47a9-8791-bf33cf982152
* Removed from build_matlab.m the compilation of mex files with openmp.
* Added build_matlab_multithread.m (where openmp is used if availabe).
* Cosmetic changes.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2549 ac1d8469-bf42-47a9-8791-bf33cf982152
- build_matlab.m: mwSignedIndex actually appeared in Matlab 7.3 (like mwSize and mwIndex)
- mjdgges.c: use a typedef instead of a #define for mwSignedIndex
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2540 ac1d8469-bf42-47a9-8791-bf33cf982152