Sébastien Villemot
38c24347ff
Use C++14 std::conditional_t (instead of custom IF template)
2019-01-09 17:26:28 +01:00
Sébastien Villemot
922014c2fa
Port to C++11 using keyword
...
Performed using modernize-use-using from clang-tidy.
https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-using.html
2019-01-09 17:21:14 +01:00
Sébastien Villemot
60fd92ddce
Port to C++11 override keyword
...
Performed using modernize-use-override from clang-tidy.
https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-override.html
2019-01-09 16:26:42 +01:00
Sébastien Villemot
9656904d41
Port to C++11 nullptr keyword
...
Performed using modernize-use-nullptr from clang-tidy.
https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-nullptr.html
2019-01-09 16:25:31 +01:00
Sébastien Villemot
7df31f68d9
Port to C++ delete keyword
...
Performed using modernize-use-equals-delete from clang-tidy.
https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-equals-delete.html
2019-01-09 16:23:04 +01:00
Sébastien Villemot
197cbea919
Port to C++11 syntax for default constructors
...
Performed using modernize-use-equals-default from clang-tidy.
https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-equals-default.html
2019-01-09 16:16:29 +01:00
Sébastien Villemot
1052046954
Port to C++11 emplace() method on containers
...
Performed using modernize-use-emplace from clang-tidy.
https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-emplace.html
2019-01-09 16:00:05 +01:00
Sébastien Villemot
cbcd0a6950
Port to C++11 default members initializers
...
Performed using modernize-use-default-member-init from clang-tidy.
https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-default-member-init.html
2019-01-09 15:58:45 +01:00
Sébastien Villemot
966a1c2ac0
Port to C++11 auto keyword
...
Performed using modernize-use-auto from clang-tidy.
https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-auto.html
2019-01-09 15:51:19 +01:00
Sébastien Villemot
7e003cc591
Port some constructors to pass-by-value using C++11 move semantics
...
Performed using modernize-pass-by-value from clang-tidy.
https://clang.llvm.org/extra/clang-tidy/checks/modernize-pass-by-value.html
2019-01-09 15:46:04 +01:00
Sébastien Villemot
2024330568
Port to C++11 range-based for loops
...
Performed using modernize-loop-convert from clang-tidy.
https://clang.llvm.org/extra/clang-tidy/checks/modernize-loop-convert.html
2019-01-09 15:44:26 +01:00
Sébastien Villemot
8b56ab6f11
Use C++11 erf/erfc instead of custom one
2019-01-08 17:49:15 +01:00
Sébastien Villemot
ba609cce07
No need to redefine PI constant for MinGW
2019-01-08 17:46:36 +01:00
Sébastien Villemot
f9df2bee2f
Use C++11 unordered_{map,set} instead of boost's
2019-01-08 17:38:21 +01:00
Sébastien Villemot
188d6296d7
Dynare++: finish to apply Dynare C++ coding style and extensions (.cc/.hh)
2019-01-08 17:12:05 +01:00
Sébastien Villemot
ce1ef47093
dynare++ / tensor library (TL): move away from CWEB
...
By the way apply Dynare C++ coding style and extensions (.cc/.hh).
2019-01-08 16:09:25 +01:00
Sébastien Villemot
84255f9e9a
dynare++/integ: move away from CWEB
...
By the way apply Dynare C++ coding style and extensions (.cc/.hh).
2019-01-04 17:28:20 +01:00
Sébastien Villemot
df772325a2
dynare++/kord: move away from CWEB
...
By the way apply Dynare C++ coding style and extensions (.cc/.hh).
2019-01-04 16:32:05 +01:00
Sébastien Villemot
671fe4bcd4
Build system improvements on Windows (MinGW / MSYS2)
...
- Use the -static flag when linking Dynare++, so that shipping libquadmath and
libgcc DLL in the installer is no longer needed.
- Use AM_CXXFLAGS and AM_LDFLAGS variables for changing flags, since CXXFLAGS
and LDFLAGS are user variables. Also, this avoids passing these flags down to
configure scripts in subdirectories.
- Check for the SZIP library in the configure test for the MatIO, this is
needed under MSYS2.
- Statically link MatIO and GSL in MEX files for MATLAB, this is needed under
MSYS2.
2018-11-06 12:17:56 +01:00
Sébastien Villemot
1ff5c3f571
Fix various typos (thanks lintian).
2017-06-28 15:06:54 +02:00
Houtan Bastani
c8b7908aed
dynare++: make multi-line define because a single line is too long for pdf compilation on OS X
2017-05-23 11:16:13 +02:00
Stéphane Adjemian (Charybdis)
b4448937cc
Fixed indentation of c/h/cc/hh files.
2017-05-16 16:30:27 +02:00
Stéphane Adjemian (Charybdis)
1229372a6c
Defines M_PI (cross compilation for Octave).
2016-12-01 13:32:54 +01:00
Stéphane Adjemian
9653568fb6
Merge pull request #1247 from JohannesPfeifer/dyn++timing
...
Clarify the timing convention in dynare++
2016-08-23 16:45:26 +02:00
Johannes Pfeifer
90affdd775
Clarify the timing convention in dynare++
...
Closes #1244
2016-08-21 10:22:56 +02:00
Michel Juillard
e7a1988223
throwing exception if dgges reports an error
2016-07-17 14:40:15 +02:00
Stéphane Adjemian (Charybdis)
510c6641c9
Fixed compilation failure on Windows.
2015-03-27 10:55:48 +01:00
Stéphane Adjemian (Sedna)
82bd6bcdf3
Fixed c++ warnings.
2015-03-25 14:54:32 +01:00
Stéphane Adjemian (Sedna)
a97973d01f
Added method for recognizing unreferenced atoms. Call to this method replace catching the exception used before to recognize that an atom is not referenced.
2015-03-25 14:52:28 +01:00
Stéphane Adjemian (Sedna)
64346de401
Initial guess for Lagrange multipliers solved by SVD decomposition to improve conditioning.
2015-03-25 14:45:09 +01:00
Stéphane Adjemian (Sedna)
7ca3683281
Fixed bug. Uninitialized memory reads because the code was working with a std::map, which was volatile.
2015-03-25 14:37:58 +01:00
Michel Juillard
404f29e47e
dynare++ adding missing header
2013-10-10 10:04:14 +02:00
Sébastien Villemot
77dd7239b5
Dynare++: prevent repeated assignment of a parameter/variable
...
This is not correctly handled by the evaluator.
Closes #415
2013-08-27 15:17:07 +02:00
Michel Juillard
0c40ba0420
making dynare++ code compatible with Bison 2.7. Fixes #461
2013-08-07 15:23:22 +02:00
Houtan Bastani
fe7a1248ba
fix typo
2013-04-23 14:32:39 +02:00
Michel Juillard
ebae08a585
wrapped line too long for some versions of ctangle
2012-11-22 10:26:47 +01:00
Houtan Bastani
4fd6ebca50
add ldflags_matio to dynare++ tests
2012-09-26 12:36:09 +02:00
Sébastien Villemot
3589c04f49
Add missing CPPFLAGS_MATIO
2012-09-21 07:29:11 +02:00
Houtan Bastani
4f54391e94
add --with-matio option to configure
2012-09-19 12:11:57 +02:00
Sébastien Villemot
8789151c73
Dynare++: compatibility fixes with MatIO 1.5
2012-09-11 15:22:29 +02:00
Sébastien Villemot
cecb375be4
Link Dynare++ tests with MatIO
2012-09-11 15:01:26 +02:00
Sébastien Villemot
5f861cb0d8
Use MatIO in Dynare++ instead of the home-made engine
2012-08-23 18:31:07 +02:00
Michel Juillard
6dc64de7a9
fixing compiler warning about format argument
2012-07-31 21:50:59 +02:00
Michel Juillard
029d3dda08
dynare++: add steady state to first part of simulation when
...
interrupted by non finite result
2012-07-25 17:53:34 +02:00
Michel Juillard
cf6772bc90
added method to access derivatives of approximated solution function
2012-07-25 14:59:06 +02:00
Sébastien Villemot
c079ace8c3
Remove various compiler warnings
2012-06-08 19:06:03 +02:00
Sébastien Villemot
615535ad88
Fix compilation errors with GCC 4.7
2012-05-08 16:10:10 +02:00
Sébastien Villemot
d4b4060d69
Fix build failure with -Werror=format-security
...
See Debian bug #646258 (http://bugs.debian.org/646258 ) and
http://wiki.debian.org/ReleaseGoals/SecurityHardeningBuildFlags for details.
2011-11-07 15:29:06 +01:00
Ondra Kamenik
7076fe31e9
When applying substitutions to the atom assignings, they are done also for non-referenced atoms, as they could still be referenced in evaluations.
2011-05-17 10:42:57 +02:00
Sébastien Villemot
a23f4b7ebc
Dynare++: compatibility fix for MATLAB 7.12 (R2011a)
2011-04-11 11:49:18 +02:00
Sébastien Villemot
cdcfc23037
Dynare++ documentation: split comment lines (they are too long for old versions of pdftex)
...
(problem introduced in beb3b7f9c4
)
2011-03-22 10:36:36 +01:00
Ondra Kamenik
da664f5a26
Commented out not finished section.
2011-03-15 10:15:39 +01:00
Ondra Kamenik
ee4fd757d9
Added a description of --burn <num> option.
2011-03-15 10:15:35 +01:00
Ondra Kamenik
b05c7356ee
Implemented burn-in periods in simulations, irfs, and in real-time simulations.
2011-03-15 10:15:14 +01:00
Sébastien Villemot
beb3b7f9c4
Dynare++ documentation: fix invalid PDF problems
2011-03-11 12:33:43 +01:00
Sébastien Villemot
b7d06ea629
Dynare++: fix typo (thanks to Thomas Weber)
2011-02-23 10:07:47 +01:00
Sébastien Villemot
2b8b32a2f0
Fixed warning in gensylv
2011-02-04 16:55:51 +01:00
Sébastien Villemot
e0c0f2362b
Dynare++: further updates to tutorial (date, instructions for running dynare_simul.m)
2011-01-24 17:55:13 -05:00
Houtan Bastani
f21d54b7d5
dynare++: updated userguide installation procedure
2011-01-24 17:40:55 -05:00
Sébastien Villemot
696ee5c8f0
Dynare++ MATLAB simulation helper: add an error message when dynare_simul_ DLL not in the path
2011-01-20 16:03:54 -05:00
Sébastien Villemot
82a59bec79
Dynare++ MATLAB simulation helper: fixed commit 92cb073f3a
2011-01-20 15:56:26 -05:00
Sébastien Villemot
e0261d258c
Dynare++: fixed bug in tests
2011-01-20 15:42:53 -05:00
Sébastien Villemot
6b1f84ac27
Dynare++: in printf statements with size_t, remove %zd modifier introduced in
...
757d8c36e9
and replace it by %lu as a workaround.
The %zd modifier was introduced in C99 standard, but is not implemented by
MinGW.
2011-01-15 19:07:26 +01:00
Sébastien Villemot
bc8b8e9c84
Build system: Dynare++ now depend on Boost
2011-01-15 11:33:01 +01:00
Sébastien Villemot
1bfbfbe73a
Dynare++: update global copyright notices to span 2004-2011
2011-01-14 16:41:24 +01:00
Sébastien Villemot
bf13ddcb74
Dynare++: replace obsolete hash_set and hash_map by unordered_set and unordered_map
...
- use the implementation from boost
- since these classes will probably be included in the next C++ standard, they are also available natively from g++ with option -std=c++0x, but boost is probably better for the moment
2011-01-14 16:40:59 +01:00
Sébastien Villemot
1ca828c134
Dynare++: fixed warning about unused functions
2011-01-14 16:29:11 +01:00
Sébastien Villemot
ab87ccac06
Dynare++: fixed warning about conversion of string to char* and about non void functions returning nothing
2011-01-14 16:28:26 +01:00
Sébastien Villemot
af0175443b
Dynare++: fixed warning about comparison of signed with unsigned integers
2011-01-14 16:23:24 +01:00
Sébastien Villemot
610cb6387e
Dynare++: fixed warning about redefined NOMINMAX macro
2011-01-14 16:22:58 +01:00
Sébastien Villemot
757d8c36e9
Dynare++: fixed warnings about printf format strings
2011-01-14 16:22:26 +01:00
Sébastien Villemot
dbe288e3ca
Make sure "min" and "max" macros are never defined under Windows, this can create conflicts with "std::min" and "std::max"
2010-10-29 12:01:47 +02:00
Houtan Bastani
92cb073f3a
dynare_simul_: remove instances of mexErrMsgTxt
2010-09-23 10:45:35 +02:00
Houtan Bastani
982b4d0491
gensylv: remove instances of mexErrMsgTxt
2010-09-23 10:45:27 +02:00
Sébastien Villemot
a3640239ab
Removed all MSVC workarounds, since we can now definitely drop this compiler on
...
Windows/64-bit platform
2010-09-21 15:06:14 +02:00
Sébastien Villemot
3b4be852d5
Dynare++: added header include needed for some versions of GCC
2010-09-07 13:36:13 +02:00
Sébastien Villemot
5e9098edc5
Dynare++: fix case of Windows header name (for cross-compiling from Linux)
2010-08-24 16:24:03 +02:00
Sébastien Villemot
5375c23f10
Dynare++: fixed test.mod
2010-02-17 18:40:52 +01:00
sebastien
db008078db
dynare++: fixed typos in doc of kord library
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3220 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-10 18:52:39 +00:00
sebastien
4b93a63da0
Dynare++: minor change to fix compilation problem of PDF documentation
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3157 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-18 16:52:19 +00:00
houtanb
7a41d2d3ab
slight fix to help build on Mac OS X
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3153 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-17 13:24:25 +00:00
sebastien
295f998503
Dynare++ and k_order_perturbation DLL:
...
* support Microsoft Visual C++ 2008 compiler (necessary for 64-bit
platforms)
* use standard C++ headers for C Standard Library support
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3121 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-03 14:16:18 +00:00
sebastien
ba6c1da0ee
Build system: minor fixes
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3119 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-03 12:48:26 +00:00
sebastien
3edf964685
Build system: delete obsolete files
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3117 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-03 10:41:55 +00:00
sebastien
3d755ad8be
Dynare++, dynare_simul_ DLL: fixes for 64-bit MATLAB
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3113 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-02 12:03:02 +00:00
sebastien
a2c2865dc2
dynare++: renamed _Tm in __Tm (creates names clashes with MS Visual C++ and mingw64 headers)
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3107 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-30 18:19:42 +00:00
sebastien
31ed196c44
Various minor changes for compatibility with MS Visual C++ and GCC 4.4
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3105 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-30 16:29:16 +00:00
sebastien
096336f249
dynare++: fixed failure to build PDF doc of Tensor Library
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3043 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-14 09:32:48 +00:00
sebastien
343e0b3c7d
Build system: refactored the build system for MEX files, using two sub-packages with their own configure scripts
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3019 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-02 17:22:19 +00:00
sebastien
bfc4420e81
dynare++:
...
* fix the non-threaded mode
* use a more standard define to activate the POSIX threads mode
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3017 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-02 17:19:37 +00:00
sebastien
f9ccc49f14
Build system: use pdfetex instead of pdftex for sylvester.tex + other minor changes
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3010 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-02 10:29:54 +00:00
sebastien
1443f112bb
* Added back korderpert DLL to build system
...
* Fixes to Dynare++ for special LAPACK/BLAS integers in MATLAB
* Fixes to korderpert DLL for cross-platform compatibility
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3009 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-02 10:23:49 +00:00
sebastien
fdaf7a9921
Build system: various minor fixes
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3008 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-01 14:19:07 +00:00
sebastien
dde3f3795f
Build system:
...
* Simplified the way we deal with various Octave/MATLAB contexts from MEX files:
- only three defines: MATLAB_MEX_FILE, MATLAB_VERSION (hex number) and OCTAVE_MEX_FILE
- one header for MEX files: dynmex.h
- headers for BLAS and LAPACK: dynblas.h and dynlapack.h (used from Dynare++ and the MEX files)
* Merged the two sources trees of sylvester library
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3006 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-01 14:17:02 +00:00
sebastien
834c6002f6
Build system: fix for Dynare++ with ctangle/cweb and dummy changelog issue
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3005 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-01 11:21:42 +00:00
michel
ab512a39eb
dynare++: reverting last commit
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2988 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-28 11:41:07 +00:00
michel
b26a3a4d63
include matlab_versions_compatibility.h in dynare++ cblass.h
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2987 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-27 07:43:09 +00:00
sebastien
5d52ded375
Build system: minor fix for PDF files documenting Dynare++ src code
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2979 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-24 16:40:14 +00:00
sebastien
6a9485b4f0
Build system:
...
* disable building of k-order pert DLL for the moment
* rollback on the -fPIC flags for Dynare++: we can't use the same binary objects for standalone dynare++ and k-order DLL
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2974 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-24 12:58:53 +00:00
sebastien
edea5b303b
Build system: fixes for creation of the tarball
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2968 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-24 10:15:59 +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
af2e195d56
Build system: test for eplain (TeX package needed for Dynare++ source documentation)
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2947 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-18 09:28:30 +00:00
sebastien
e83d44a063
Dynare++: MinGW has an implementation of gettimeofday(), no need to provide one
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2944 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-17 16:17:36 +00:00
sebastien
31aff0e756
Various fixes to build system
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2937 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-17 08:14:44 +00:00
sebastien
584994255a
Fix again for Cygwin
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2930 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-16 13:07:43 +00:00
sebastien
a039b7fd90
Fix mistake introduced in previous commit
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2929 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-15 20:19:23 +00:00
sebastien
aeb07b16b4
Fix for Cygwin
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2928 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-15 17:32:33 +00:00
sebastien
78a216344f
dynare++ tensor library: improve on implementation of TensorContainer::writeMMap()
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2923 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-14 16:50:24 +00:00
sebastien
345a3e587a
New build system for standalone dynare++
...
Note that dynare++ will only be built if configure finds ctangle, blas, lapack and pthreads
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2922 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-11 17:34:15 +00:00
sebastien
0798669d20
Various minor fixed to dynare++ test programs for compatibility with newer gcc versions
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2921 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-11 17:12:24 +00:00
sebastien
0318615ed8
Various minor fixes to dynare++ documentation
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2920 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-11 17:08:55 +00:00
sebastien
b92b48c58e
Putting dynare++ under main dynare SVN repository
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2905 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-08 13:55:19 +00:00