- 28 Jan, 2019 7 commits
-
-
Houtan Bastani authored
-
Houtan Bastani authored
-
Houtan Bastani authored
-
Sébastien Villemot authored
-
Houtan Bastani authored
-
Stéphane Adjemian authored
Update dynare.texi See merge request Dynare/dynare!1642
-
Wenddy SHu authored
-
- 25 Jan, 2019 4 commits
-
-
Sébastien Villemot authored
-
Sébastien Villemot authored
In particular, the test binary now errors out in case of test failure.
-
Houtan Bastani authored
-
Houtan Bastani authored
-
- 24 Jan, 2019 4 commits
-
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
Sébastien Villemot authored
- Remove the GeneralMatrix(const ConstVector &) constructor, since it is hides a memory allocation (copying the ConstVector into a fresh Vector). This helped detecting and fixing several unneeded memory allocations. Some other memory allocations are now more visible (with an explicit Vector{} constructor). - Add checks in GeneralMatrix(Vector, …) and ConstGeneralMatrix(ConstVector, …) constructors for verifying that the {Const,}Vector has unit-stride (this was an implicit assumption so far) and is large enough for storing rows*cols elements. - Add GeneralMatrix::operator=(const ConstGeneralMatrix &). - Delete ConstGeneralMatrix::operator=().
-
Sébastien Villemot authored
Many BLAS/LAPACK calls were making the assumption that LD==rows when passing matrices. In some cases this was correct (because of implementation details, in particular because how the copy constructor of GeneralMatrix is implemented). But in other cases it was a bug. With this commit, the actual value for LD is systematically used (this fixes existing bugs and prevent possible future ones if the implementation details were changed).
-
- 23 Jan, 2019 2 commits
-
-
Stéphane Adjemian authored
-
Stéphane Adjemian authored
-
- 22 Jan, 2019 4 commits
-
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
Sébastien Villemot authored
- 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
-
Sébastien Villemot authored
By the way, simplify copy constructor/assignment.
-
- 18 Jan, 2019 1 commit
-
-
Houtan Bastani authored
-
- 17 Jan, 2019 1 commit
-
-
Sébastien Villemot authored
-
- 16 Jan, 2019 2 commits
-
-
Houtan Bastani authored
-
Sébastien Villemot authored
-
- 15 Jan, 2019 5 commits
-
-
Sébastien Villemot authored
-
Sébastien Villemot authored
By the way, reactivate two tests that actually pass.
-
Sébastien Villemot authored
This quadrature is supposed to generate quadrature points that are quasi-normally distributed. Basically it applies the inverse normal CDF to the Halton low-discrepancy sequence. The problem is that it gives poor numerical accuracy, and therefore fails the tests. Since it is actually used nowhere in Dynare++, remove that code.
-
Sébastien Villemot authored
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
-
Sébastien Villemot authored
-
- 14 Jan, 2019 2 commits
-
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
- 10 Jan, 2019 6 commits
-
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
Sébastien Villemot authored
No longer needed now that files have C++-specific extensions.
-
- 09 Jan, 2019 2 commits
-
-
Sébastien Villemot authored
-
Sébastien Villemot authored
Performed using modernize-use-using from clang-tidy. https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-using.html
-