1. 04 Feb, 2019 1 commit
  2. 02 Feb, 2019 3 commits
  3. 01 Feb, 2019 4 commits
  4. 31 Jan, 2019 7 commits
  5. 30 Jan, 2019 1 commit
    • Sébastien Villemot's avatar
      Dynare++: add LaTeX overview of the Tensor Library · 4f7330cb
      Sébastien Villemot authored
      The material of this document comes from the introduction to the library that
      had been lost in the move away from CWEB (formerly tl/cc/main.web).
      
      This file gives a good overview of the library. It has been adapted from TeX to
      LaTeX. Also I fixed a mistake in the Faà di Bruno's tensor formula.
      4f7330cb
  6. 29 Jan, 2019 3 commits
  7. 28 Jan, 2019 8 commits
  8. 25 Jan, 2019 4 commits
  9. 24 Jan, 2019 4 commits
    • Sébastien Villemot's avatar
      Add missing artefacts for Dynare++ · 14fe72e1
      Sébastien Villemot authored
      14fe72e1
    • Sébastien Villemot's avatar
      Run dynare++ testsuite in Gitlab CI · 0ecc9791
      Sébastien Villemot authored
      0ecc9791
    • Sébastien Villemot's avatar
      Refactor GeneralMatrix and ConstGeneralMatrix classes · 1ef1dedc
      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=().
      1ef1dedc
    • Sébastien Villemot's avatar
      Dynare++: ensure that all calls to BLAS/LAPACK use the correct LD values · a2f2814c
      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).
      a2f2814c
  10. 23 Jan, 2019 2 commits
  11. 22 Jan, 2019 3 commits
    • Sébastien Villemot's avatar
    • Sébastien Villemot's avatar
      Update dseries submodule · f4849421
      Sébastien Villemot authored
      f4849421
    • Sébastien Villemot's avatar
      Dynare++ / sylvester equation solver: refactor Vector and ConstVector classes · c711d34d
      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
      c711d34d