Sébastien Villemot
fefccd4a1b
Reverts changes mistakenly added to commit f484942154
.
2019-01-22 18:21:57 +01:00
Sébastien Villemot
f484942154
Update dseries submodule
2019-01-22 18:10:16 +01:00
Sébastien Villemot
c711d34d1d
Dynare++ / sylvester equation solver: refactor Vector and ConstVector classes
...
- these classes now encapsulate a std::shared_ptr<{const, }double>, so that
they do not perform memory management, and several {Const,}Vector instances
can transparently share the same underlying data
- make converting constructor from ConstVector to Vector explicit, since that
entails memory allocation (but the reverse conversion is almost costless, so
keep it implicit); do the same for GeneralMatrix/ConstGeneralMatrix,
TwoDMatrix/ConstTwoDMatrix
- remove the constructors that were extracting a row/column from a matrix, and
replace them by getRow() and getCol() methods on {Const,}GeneralMatrix
- rename and change the API of the complex version Vector::add(), so that it is
explicit that it deals with complex numbers
- add constructors that take a MATLAB mxArray
2019-01-22 16:13:22 +01:00
Sébastien Villemot
8ebcd7cae6
Dynare++: fix check for QZ eigenvalue criterium
...
The criterium was previously incorrectly applied to the square absolute value
of eigenvalues. Rather apply it to the absolute value itself (as now done in
Dynare).
Ref #1632
2019-01-15 19:04:04 +01:00
Sébastien Villemot
b8791e9f13
Dynare++: various modernizations of numerical integration library
2019-01-14 18:56:49 +01:00
Sébastien Villemot
4a72266d05
Dynare++: use std::unique_ptr for memory management of workers in thread groups
2019-01-14 12:35:46 +01:00
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
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
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
ba609cce07
No need to redefine PI constant for MinGW
2019-01-08 17:46:36 +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)
1229372a6c
Defines M_PI (cross compilation for Octave).
2016-12-01 13:32:54 +01: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
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
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
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
615535ad88
Fix compilation errors with GCC 4.7
2012-05-08 16:10:10 +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
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
1bfbfbe73a
Dynare++: update global copyright notices to span 2004-2011
2011-01-14 16:41: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
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
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
5e9098edc5
Dynare++: fix case of Windows header name (for cross-compiling from Linux)
2010-08-24 16:24:03 +02: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
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
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
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
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
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