Commit Graph

209 Commits (6adf1c26392d737dc31844aa3add0441e040f4a8)

Author SHA1 Message Date
Stéphane Adjemian (Charybdis) 467c60c51e Removed trailing spaces. 2011-09-05 18:57:42 +02:00
Stéphane Adjemian (Charybdis) 5efcf7527d Added matlab/utilities/tests subfolder. 2011-09-05 18:57:42 +02:00
Stéphane Adjemian (Charybdis) 948594c35f Changed path according to last change in 9ccd794b637309e6f0548228b513689d8543f5c2. 2011-09-05 18:57:41 +02:00
Stéphane Adjemian (Charybdis) 316e16edc2 Changed path for internal documentation routines. Added verbose option (default is verbose==1). 2011-09-05 18:57:41 +02:00
Stéphane Adjemian (Charybdis) 9b00852e25 Added routines for generating internal documentation. 2011-09-05 18:57:41 +02:00
Houtan Bastani e3a3cebff8 set ms-sbvar paths in dynare_config 2011-05-30 17:46:31 +02:00
Sébastien Villemot 896a80928b Cosmetic change 2011-04-27 11:57:49 +02:00
Sébastien Villemot 7b67f40a11 Bump MATLAB version requirement to 7.0 2011-04-27 11:57:43 +02:00
Sébastien Villemot f978ebeff7 Provisions for MATLAB 7.12 (R2011a) 2011-04-08 11:07:03 +02:00
Sébastien Villemot da867f1c93 GSA: add to MATLAB/Octave path 2011-03-17 16:29:18 +01:00
Sébastien Villemot 8001239118 Remove nonexistent smoother directory from addpath 2011-02-23 12:25:23 +01:00
Sébastien Villemot 314c411d17 Fix matlab path of MS-SBVAR in config file 2011-02-04 11:55:31 +01:00
Stéphane Adjemian (Charybdis) 5c709e4733 Changed set_dynare_threads.m. The number of threads in parallelized mex files to be used if dynare is built with the openmp flag
(--with-openmp) is not passed by an environment variable anymore. The function set_dynare_threads changes the default value of the
number of threads (default is 1) in the options_.threads structure. Changed calls to sparse_hessian_times_B_kronecker_C and
A_times_B_kronecker_C dlls accordingly.
2010-11-15 13:06:39 +01:00
Sébastien Villemot 81823ad035 New oct-file for "ordschur": the diffuse filter now works under Octave 2010-10-21 15:43:13 +02:00
Marco Ratto f587e0f1d2 Added new parallel utilities in parallel subfolder;
Add parallel to dynare path;
2010-10-08 16:10:59 +02:00
Sébastien Villemot 1a27ed9f38 OpenMP support:
- removed build_matlab_multithread.m and isopenmp MEX file
- introduced a new option "--enable-openmp" in configure script
- when openmp support is compiled in, the default is still one thread; the user can set the number of threads with "set_dynare_threads(n)"
- closes #68
2010-09-27 15:56:19 +02:00
Sébastien Villemot c47b177577 Provisions for MATLAB R2010b (7.11) 2010-09-10 13:08:32 +02:00
Michel Juillard 49daa411f4 dynare_config.m: added path for SWZ 2010-09-08 21:08:20 +02:00
Michel Juillard 7668bc4a11 -new smoother function kalman/smoother/kalman_smoother.m
-fixing bugs in dynare_estimation_1.m
2010-03-23 18:17:15 +01:00
Michel Juillard b261eb0ba2 integration of partial information in stoch_simul (thanks to George, Joe and Paul) 2010-03-23 11:09:59 +01:00
Sébastien Villemot afc94953e9 Add provisions for MATLAB 7.10 (R2010a) 2010-03-10 18:44:46 +01:00
Stéphane Adjemian (Charybdis) e1db53caa0 dynare_config adds matlab/missing/bsxfun in the path if needed. bsxfun.m is a replacement for matlab's
built-in bsxfun function (missing in versions older than 7.4).
2010-02-19 00:31:43 +01:00
Sébastien Villemot 1ae1b5ff20 Backporting bicgstab function from Octave 3.2 to Octave 3.0 (closes #81) 2010-02-17 18:40:52 +01:00
sebastien 982ffa4996 Detection of MEX files: avoid confusion with directories of the same name than MEX files
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3263 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-17 14:20:14 +00:00
sebastien 502e3e1df8 Beautified MATLAB code (Unix newline convention + Emacs indentation), except: AIM, swz, particle
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3250 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-16 17:17:34 +00:00
sebastien dbff434fc1 dynare_config.m: reflect the fact that 64-bit DLLs need to be recompiled between 7.2 and 7.3
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3163 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-23 15:16:43 +00:00
sebastien 9262cf34d5 Fixed name of MEX for MATLAB directory (goes back to 6.5)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3156 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-17 19:01:59 +00:00
sebastien 04d5c56b20 dynare_config.m: test presence of dynare_simul_ DLL and display the result
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3131 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-06 12:03:19 +00:00
sebastien 30d2f00cc2 Reorganized the directory hierarchy for storing MEX files for MATLAB:
* mex/matlab/ is now the default location
* removed mex/2007a, mex/2007b and mex/2009a-64bit
* on Windows platforms, use version specific subdirs of mex/matlab if present (called win32-6.5.1-7.4, win32-7.4-7.9, win64-7.2-7.4, win64-7.5-7.7, win64-7.8-7.9)


git-svn-id: https://www.dynare.org/svn/dynare/trunk@3123 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-04 10:56:37 +00:00
sebastien 9ab04f3323 Renamed kordepert to k_order_perturbation
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3070 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-23 09:07:47 +00:00
sebastien a3f639aba5 Moved vec.m under matlab/missing/vec, and add it into the path only under MATLAB (vec exists under Octave)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2967 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-24 08:34:57 +00:00
sebastien 02640c3e43 k-order perturbation DLL:
* removed existing build system
* reorganized source: separated test files from the rest, removed obsolete test files
* incorporated the DLL and the standalone test executable to the new build system
* minor fixes to ensure compilation


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2959 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-23 13:14:05 +00:00
sebastien 85ac76b9ae Add isempty to regexp to get a boolean answer for a 32-bit systems
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2894 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-03 16:10:41 +00:00
sebastien e426a0214e Added new directory "mex/2009a-64bit" for 64-bit platforms using MATLAB 7.8 (R2009a) (MEX binary compatibility has been broken in R2009a for 64-bit platforms)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2891 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-03 13:09:34 +00:00
ferhat 9f45200924 simulate.dll has been replaced by bytecode.dll
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2881 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-02 14:40:54 +00:00
sebastien e9a4e5e18f Workaround for Octave 3.2.0:
In Octave 3.2.0, the which() function doesn't accept filenames, but accepts function names.
This bug will be fixed in Octave 3.2.1, but this workaround solves the issue.


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2807 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-07-03 10:36:11 +00:00
sebastien 4e9b23363a Reorganized the way we deal with functions which exist under only some versions of MATLAB and/or some versions of Octave:
* Created a directory matlab/missing to store them under subdirectories
* Add the needed subdirectories to the path from dynare_config.m
* Moved content of matlab/matlab/ and matlab/octave/ to matlab/missing/*/
* matlab/missing/ordeig/ordeig.m: new name of matlab/my_ordeig
* matlab/missing/ordschur/ordschur.m: fake replacement, displays an error message
* Removed old matlab/matlab/ and matlab/octave/ directories


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2805 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-07-03 10:20:42 +00:00
michel 4d7f60c803 v4.1: added 'file' to call to exist() function to avoid a bug when there exists a directory with the same name as the mex function
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2777 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-06-21 09:20:03 +00:00
sebastien 008fbff5c0 trunk dynare_config.m:
* fixed bug with Octave (under Octave, exist() return 2 instead of 3 if given the FULL path of a MEX)
* remove the path to MEX files if no MEX detected


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2648 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-29 11:35:05 +00:00
sebastien 096b2f2541 trunk:
* created a directory "matlab/matlab", for functions missing under Matlab (but existing under Octave)
* created a directory "matlab/octave", for functions missing under Octave (but existing under Matlab)
* moved "mex/octave/rcond.m" to "matlab/octave/"
* moved "matlab/rows.m" to "matlab/matlab/rows.m" (Octave has builtin "rows")
* renamed "matlab/cols.m" to "matlab/matlab/columns.m" (Octave has builtin "columns")
* moved "matlab/distributions/toolbox" to "matlab/matlab/stats"
* adapted "dynare_config.m" to reflect these changes


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2628 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-24 16:08:27 +00:00
stepan fe7c01675a Changes related to the multithreaded mex files (part I).
* 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
2009-04-03 11:01:55 +00:00
stepan 43d3aebbc4 v4.1: Added a test for the existence of isopenmp mex file (this file
does not exist if the user did not run buil_matlab.m in ./mex/sources).


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2457 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-13 13:28:24 +00:00
stepan c8a86252c7 v4.1: Added the possibility of multithreading for some mex files
(OpenMp is used).


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2453 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-11 14:57:34 +00:00
sebastien 9eb07ace8d trunk: reverted r2309 changeset
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2310 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-12-12 15:43:14 +00:00
kamenik 49c3d0c10e Added directory [dynareroot '/distributions/toolbox'] on the path.
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2309 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-12-12 15:31:32 +00:00
adjemian 9da509936c v4.1: Added ./matlab/kalman in the path.
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2181 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-20 14:46:00 +00:00
adjemian c5e73fcbaf v4.1: Added subfolders in ./matlab/kalman.
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2162 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-16 21:15:07 +00:00
adjemian f58cdcf676 v4.1: Files related to kalman filter (likelihood evaluation of a state space model with or without missing observations).
* Added a new tolerance parameter specific to the iteration on the riccati equation.
 * Added a kalman filter routine allowing for missing observations.
 * I do not distinguish anymore models with and without measurement errors (the same m file is used for both models to evaluate the likelihood). For a model without measurement errors H hat to be set to 0 scalar.

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2148 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-13 18:54:42 +00:00
sebastien 68f9ca256e trunk: added information message on the presence/absence of simulate.dll
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2144 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-13 15:20:43 +00:00
adjemian 7aadec0ec5 v4.1:
+ Moved functions located in ./distribution to ./distributions/toolbox
+ Moved distribution related functions to ./distributions

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2055 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-09-09 21:47:13 +00:00
george 786b12bc0b Corrected addpath for AIM
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2022 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-09-02 18:46:10 +00:00
sebastien 8bef1f0399 v4 matlab:
* replaced dnorm, pnorm and qnorm by GPL alternatives in distributions/
* only add distributions/ to the path if under Matlab without Statistics toolbox


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1979 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-08-04 13:33:57 +00:00
sebastien db50368418 v4 matlab: fixed some existing copyright headers (and some other minor header issues)
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1974 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-08-01 12:40:33 +00:00
george bee92a9714 The path to the AIM directory is added by dynare_config.m
for start, options_.useAIM = 0 is set by default in global_initialization.m so that system uses mjdgges by default. 

If AIM is to be used, options_.useAIM = 1 needs to be set either in the model <>.mod file, before invoking, estimate and/or stoch_simul, or by issuing appropriate command for estimate and/or stoch_simul. 
GP July '08

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1966 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-28 09:46:07 +00:00
sebastien ddaaf9e1e3 v4 matlab:
* added a function matlab_ver_less_than() for testing Matlab version
* updated dynare_config.m and build_matlab.m accordingly
* removed tests to check whether we are older than Matlab 6.5 (R13), since we don't support those old versions anymore
* removed a few unnecessary uses of eval()


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1936 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-07 17:08:55 +00:00
sebastien e08cad8265 v4: merged Octave branch into trunk
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1899 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-06-24 18:20:48 +00:00
sebastien b87a453c7e v4 matlab:
* removed sylvester3.m and sylvester3a.m (have been moved to gensylv/ subdir)
* display an error message when dynare called without argument


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1852 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-05-27 09:46:44 +00:00
adjemian c61d46e1f6 Cosmetic change.
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1827 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-05-16 08:22:46 +00:00
adjemian e85af5dc11 Added a dynare configuration routine and bug corrections.
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1826 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-05-16 08:18:37 +00:00