Commit Graph

36 Commits (master)

Author SHA1 Message Date
Johannes Pfeifer b3ce518433 Further naming consistency improvements 2023-10-25 11:22:50 +02:00
Johannes Pfeifer 879d92fbf8 Move many functions towards consistent naming
Related to #1776
2023-10-24 22:21:15 +02:00
Sébastien Villemot 0a9dc0137a
k_order_welfare MEX: fix documentation of output arguments 2022-07-05 11:55:33 +02:00
Sébastien Villemot 10af04c6d8
Use Unicode copyright symbol (in UTF-8 encoding) in all source files
It is now supported by the MATLAB editor (as of R2022a).

The old ASCII notation is left in some files that we copy as-is from other
sources (e.g. in the contrib/ and m4/ subdirectories).

The particles submodule is not updated at this point, because it is in an
inconsistent state.

[skip ci]
2022-04-13 14:54:25 +02:00
Normann Rion 3d27672c58
kth-order approximation of conditional welfare
Partially addresses issue #1680:
- unconditional welfare resorts to dynare++ simulation tools, which shall be updated very soon
TO DO:
- implement a function computing kth-order approximation of simulated moments of y
2021-06-15 15:04:31 +02:00
Sébastien Villemot 766fff88f6
Use secure URL for link to GNU licenses 2021-06-09 17:35:05 +02:00
Sébastien Villemot bc053018a0
Remove risky steady state (unfinished) code
Incidently, remove the possibility of passing model derivatives as arguments to
the k_order_perturbation. That possibility was only used by the risky steady
state code.

Closes: #1338
2021-01-22 11:32:36 +01:00
Sébastien Villemot 7e770f69e7
Remove workaround for errors in MEX files
Because at some point throwing exceptions from MEX files (with mexErrMsgTxt())
was not working under Windows 64-bit, we had designed a workaround to avoid
using exceptions.

Most MEX files were returning an error code as their first (or sometimes last)
argument, and that code would have to be checked from the MATLAB code.

Since this workaround is no longer needed, this commit removes it. As a
consequence, the interface of many MEX files is modified.

For some background, see https://www.dynare.org/pipermail/dev/2010-September/000895.html
2020-01-10 18:33:11 +01:00
Sébastien Villemot 86a607a4fc
k-order DLL: make the output arguments ready for arbitrary order 2019-04-08 18:47:49 +02:00
Stéphane Adjemian (Charybdis) 5417b27ac7 Fixed indentation of matlab files. 2017-05-16 15:10:20 +02:00
Stéphane Adjemian (Charybdis) a53636e24e Fixed copyright notices. 2017-05-16 14:11:15 +02:00
Stéphane Adjemian (Charybdis) 62c954ff12 Fixes #1287. 2017-01-25 22:13:36 +01:00
michel 80eb1faab2 moving mex directory
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1690 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-04 21:31:12 +00:00
michel 290722e3fd mex/source/build.m: replaced system() by eval(). The call to system isn't necessary and creates a path problem with R2008a
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1688 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-03 16:01:05 +00:00
sebastien dd5c5cbba0 v4 matlab/mex:
* build.m: changed preprocessor source directory name
* updated binary for simulate / Linux x86-32 / Matlab 7.4


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1687 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-03 11:24:51 +00:00
michel 4dc23e191e v4 matlab/mex:
* fixed problem with compilation of simulate DLL under Linux x86-64
* updated binaries for Linux x86-64 + Matlab 7.5


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1685 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-03 09:59:21 +00:00
sebastien d8d191bb1c v4 matlab/mex:
* adapted build.m for MacOS/PowerPC
* added corresponding binaries for Matlab 7.5


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1683 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-31 10:41:15 +00:00
michel d01ed3ca16 mex/2007b: added missing mjdgges.mexa64
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1681 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-30 20:41:32 +00:00
michel ba3ced9ca3 mex/source/simulate: changed some cast to (long int) for compatibility with x64
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1680 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-30 20:40:19 +00:00
sebastien c0c56b6d7d v4 matlab/mex: added binaries for GNU/Linux i386 + Matlab <= 7.4
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1679 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-30 17:09:47 +00:00
sebastien b8b8de83ec v4 matlab/mex:
* tuned build.m for MacIntel
* added corresponding binaries for Matlab 7.5


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1678 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-30 17:03:41 +00:00
sebastien 5a7560252b v4 matlab/mex/sources: fixed problems with compilation of simulate DLL under Linux
* Linux filenames are case sensitive, had to fixed case in #include directives
* itoa() function does not exist under Linux; replaced it by calls to sprintf()
* replaced anti-slashes by slashes in pathnames; this works under Windows


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1677 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-30 16:18:06 +00:00
ferhat 509f4f1e51 Deterministic simulations without compiler updated
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1645 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-25 16:48:55 +00:00
michel ee8b3fee5e v4: removed use of ordqz and reinstated 2007b/mjdgges.mexw32
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1619 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-18 19:59:10 +00:00
sebastien caec99eb72 v4 mex/sources: removed old build files, fixed SVN properties
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1562 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-11 11:54:49 +00:00
michel cc6fe587ed removed mex/2007b/mjdgges.*
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1543 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-05 17:32:50 +00:00
michel 04684d794a add mex/2007b/*.mexa64
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1541 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-05 17:08:58 +00:00
michel d2ed461f78 bug typo correction
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1540 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-05 17:04:09 +00:00
michel 759e94fe63 v4: uploading version w32/2007b of dlls
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1527 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-03 09:13:07 +00:00
michel b63703fcf3 v4: modified build.m for R2007b Windows. mjdgges.mexw32 is still crashing
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1526 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-03 09:08:34 +00:00
sebastien 4c95507b66 v4: unified build system for MEX files
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1519 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-12-28 15:37:26 +00:00
sebastien c4e78163b8 v4: removed mex/common/
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1518 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-12-28 13:51:34 +00:00
michel ed0b94f402 v4: added build.m for gensylv f or glnxa64. Needs to be generalized for other OS/ARCH
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1511 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-12-21 11:47:19 +00:00
michel 9d9826766c v4: corrected bugs in kronecker dlls for Linux 64
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1510 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-12-21 11:21:20 +00:00
michel 374d590835 v4: adapted kroneker dlls for Matlab versions < 7.5 (Windows) Linux versions < 7.5 still to be done
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1500 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-12-20 10:52:31 +00:00
adjemian 598a6363f1 Creation of a subdirectory mex in the matlab folder (sources + mex files).
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1495 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-12-19 15:58:38 +00:00