Commit Graph

46 Commits (25121bca4f9c97fed28599e9f9adeba2028e5bd0)

Author SHA1 Message Date
Stéphane Adjemian (Charybdis) 6d2f049637 Moved routines and updated submodules dseries and dates. 2015-06-24 18:54:51 +02:00
Stéphane Adjemian 71700dff76 Merge pull request #942 from JohannesPfeifer/TaRB_integration
Integrate the TaRB-algorithm into Dynare
2015-06-19 14:30:56 +02:00
Johannes Pfeifer 0769fd1cce Add verbosity and SaveFile options to some optimizers
Also moves additional optimizer-related files to corresponding subfolder
Closes #894
2015-06-08 16:44:44 +02:00
Johannes Pfeifer c39331d526 Fix bugs in dyn_mex.m under Windows
Fixes string comparison and copy and paste error.
2015-06-07 14:07:11 +02:00
Houtan Bastani 902a5d2788 ensure that mex file exists before doing comparison 2015-05-12 10:55:24 +02:00
Michel Juillard a5a5490a12 adding feature to recompile MEX files only if the model has
changed (not activated yet)
detail of compilation code moved from preprocessor (ModFile.cc) to
./matlab/utilities/general/dyn_mex.m
2015-05-10 18:16:53 +02:00
Johannes Pfeifer fa1f7794d5 Delete stale files from previous MCMC runs
Closes #566. Also adds cosmetic changes to headers of affected routines
2015-05-09 15:13:59 +02:00
Stéphane Adjemian (Telemachus) a12e9d684a Force type consistency when comparing actual results and expected
results in unit tests (use logical type).
2014-11-09 22:17:46 +01:00
Stéphane Adjemian (Telemachus) 8fedac4d5e Replaced calls to dyn_assert by calls to dassert.
This routine is used to compare objects i -n unit tests.
2014-11-08 09:28:53 +01:00
Stéphane Adjemian (Scylla) 49e53f9299 Added isdiagonal routine. 2014-07-17 22:05:08 +02:00
Stéphane Adjemian (Scylla) 3f496b494d Moved routines under utilities folder. 2014-07-17 22:05:08 +02:00
Stéphane Adjemian (Charybdis) af1009d8a4 Merge branch 'master' into use-dynSeries 2014-06-12 17:42:52 +02:00
Stéphane Adjemian (Charybdis) 8507c27fab Removed display of current path in last unitary test. 2014-06-11 12:22:35 +02:00
Stéphane Adjemian (Charybdis) dd223e41f5 Rewrote compute_cova and renamed it nancovariance. Added a new routine to test if an array contain at least one NaN. 2014-05-22 19:27:14 +02:00
Stéphane Adjemian (Scylla) f183c047d5 Test the existence of the files and folder before deletion. 2014-04-30 10:42:39 +02:00
Stéphane Adjemian (Scylla) 0cd6c9917e Changed name of the clean routine (otherwise if a user types clean instead of clear all the generated files and data would be erased). 2014-04-30 10:42:39 +02:00
Stéphane Adjemian (Scylla) b907844152 Test the existence of the files and folder before deletion. 2014-04-29 15:50:37 +02:00
Stéphane Adjemian (Scylla) 2b8e6fba9c Changed name of the clean routine (otherwise if a user types clean instead of clear all the generated files and data would be erased). 2014-04-29 15:50:37 +02:00
Stéphane Adjemian (Scylla) fb75d1e19d Added a new routine for cleaning up a folder (delete all the files generated by Dynare). 2014-03-26 16:55:34 +01:00
Stéphane Adjemian (Scylla) 4b4de4102a Added new routine that converts a string of Key-Value pairs in a cell. 2014-02-03 12:25:29 +01:00
Stéphane Adjemian (Scylla) 8309ed5c96 Added a routine to test if we are currently estimating a model. 2014-01-30 12:48:48 +01:00
Houtan Bastani dd1a9aaee6 utilities: fixed name2tex regexprep for octave 2013-11-25 06:37:15 +01:00
Stéphane Adjemian (Scylla) 817060c954 Added unitary test for name2tex routine. 2013-11-22 16:53:02 +01:00
Stéphane Adjemian (Scylla) d02171080c Rewrote name2tex routine and fixed bug. 2013-11-22 16:53:02 +01:00
Stéphane Adjemian (Scylla) 1fe3e4bc77 Cosmetic change. 2013-11-22 16:53:02 +01:00
Stéphane Adjemian (Charybdis) ddd95361ba Cosmetic changes. Added isoctave function to replace exist('OCTAVE_VERSION'). 2013-11-04 10:54:45 +01:00
Stéphane Adjemian (Charybdis) f9315f1409 Added missing commented string (first line) for triggering the unitary tests. 2013-10-11 23:36:29 +02:00
Stéphane Adjemian (Charybdis) 1543a380c6 Expanded unitary test in compare_vectors routine to cover more cases. 2013-10-11 13:39:16 +02:00
Stéphane Adjemian (Charybdis) af4005f836 Fixed bugs. 2013-10-11 13:38:19 +02:00
Stéphane Adjemian (Charybdis) 6fff2fe75b Changed logic in the routine performing lexicographic comparison of vectors. 2013-10-11 12:09:31 +02:00
Stéphane Adjemian (Charybdis) c37c34a102 Fixed typo. 2013-10-10 18:27:31 +02:00
Stéphane Adjemian (Charybdis) a22852afad Added routine to compare vectors of common length by lexicographical order. 2013-10-10 16:56:42 +02:00
Stéphane Adjemian (Charybdis) 2e2315611c Fixed bug (conversion of variable names in tex).
(cherry picked from commit 80218a1b65)
2013-09-09 12:16:19 +02:00
Stéphane Adjemian (Charybdis) b76b0c8add Moved the commented first line, used to declare that the routine has unitary tests, after the declaration of the function, otherwise help is not displayed. 2013-09-05 11:34:19 +02:00
Stéphane Adjemian (Charybdis) 4052d4ccaf Cosmetic changes. Use skipline() instead of disp(' '). 2013-07-10 17:12:34 +02:00
Stéphane Adjemian (Charybdis) 3fd2a9845a Added routine. 2013-07-08 16:43:17 +02:00
Stéphane Adjemian (Charybdis) 0f48674771 Added name2tex to the unitary tests suite. 2013-07-05 15:33:46 +02:00
Stéphane Adjemian (Charybdis) a80ed38f5b Moved name2tex in matlab/utilities/general 2013-07-05 13:56:48 +02:00
Sébastien Villemot 61485ab809 Fix copyright notices 2013-06-12 17:04:46 +02:00
Stéphane Adjemian (Charybdis) bc1689fa05 Added iscellofchar function.
Test if all the elements of a two dimensional cell array are strings.
2013-03-29 14:53:34 +01:00
Sébastien Villemot 0ab230b474 Fix copyright notices 2012-10-31 17:03:49 +01:00
Stéphane Adjemian (Scylla) 43e2c9ecef Added a routine to test if a file exist. 2012-09-06 12:21:28 +02:00
Sébastien Villemot f9ecc164ce Move 'nanmean' under 'matlab/missing' and add the necessary logic 2011-09-27 16:59:21 +02:00
Stéphane Adjemian (Charybdis) 6e340c2ce8 Fixed typos in headers and cosmetic changes. 2011-09-19 23:20:33 +02:00
Stéphane Adjemian (Charybdis) 306137bd2b Reverted commit 3bf482ae5c. Added missing routine nanmean (computes the mean of the columns of a matrix
with some NaNs).
2011-09-17 23:58:20 +02:00
Stéphane Adjemian (Charybdis) f0addc9e39 Added routines from dynare-breaks branch. 2011-06-23 21:46:41 +02:00