1. 12 Feb, 2019 1 commit
  2. 11 Feb, 2019 1 commit
    • Sébastien Villemot's avatar
      Dynare++ tensor library: modernize the Symmetry class · 1f7d3bed
      Sébastien Villemot authored
      We now use a initializer list constructor for creating symmetries of the form
      $y^n$, $y^n u^m$, $y^nu^m\sigma^k$.
      
      The constructor taking a single integer is used to initialize a symmetry of a
      given length.
      
      Similar changes are made to IntSequence.
      
      This behavior is similar to std::vector.
      1f7d3bed
  3. 06 Feb, 2019 1 commit
  4. 29 Jan, 2019 1 commit
  5. 28 Jan, 2019 1 commit
    • Sébastien Villemot's avatar
      Dynare++: use C++11 threads (instead of POSIX threads API) · 752a02a3
      Sébastien Villemot authored
      On Windows, this means that a POSIX threads implementation is no longer needed,
      since C++11 threads are implemented using native Windows threads.
      
      On GNU/Linux and macOS, POSIX threads are still used under the hood.
      
      A new m4 macro (AX_CXX11_THREAD) is used to add the proper compilation
      flags (instead of AX_PTHREAD).
      752a02a3
  6. 24 Jan, 2019 1 commit
    • 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
  7. 22 Jan, 2019 1 commit
    • 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
  8. 10 Jan, 2019 1 commit
  9. 08 Jan, 2019 2 commits
  10. 04 Jan, 2019 1 commit
  11. 02 Jan, 2019 1 commit
  12. 08 Nov, 2018 2 commits
  13. 02 Oct, 2018 1 commit
  14. 01 Oct, 2018 1 commit
  15. 02 Aug, 2018 1 commit
  16. 18 Jul, 2018 1 commit
  17. 02 Jul, 2018 1 commit
    • Sébastien Villemot's avatar
      Fix invalid memory write in k-order DLL · cb46a269
      Sébastien Villemot authored
      The bug would show at order 3 when the last output argument (derivs) is not
      requested (in practice every 3rd order solution without pruning). The DLL would
      still attempt to write into it, causing an invalid memory access.
      cb46a269
  18. 28 Jun, 2018 1 commit
  19. 27 Jun, 2018 1 commit
  20. 05 Jun, 2018 1 commit
  21. 17 May, 2018 1 commit
    • Sébastien Villemot's avatar
      Remove qzcomplex Oct-file · 02084ce3
      Sébastien Villemot authored
      It's actually not needed. The QZ complex decomposition can be obtained in
      Octave on real matrices by casting them to the complex type.
      02084ce3
  22. 16 May, 2018 1 commit
  23. 14 May, 2018 1 commit
  24. 22 Sep, 2017 1 commit
  25. 28 Jun, 2017 1 commit
  26. 05 Jun, 2017 1 commit
  27. 18 May, 2017 1 commit
  28. 16 May, 2017 2 commits
  29. 08 May, 2017 2 commits
  30. 05 Apr, 2017 1 commit
  31. 01 Dec, 2016 2 commits
  32. 27 Oct, 2016 1 commit
  33. 11 Oct, 2016 1 commit
  34. 15 Jul, 2016 1 commit
  35. 19 Nov, 2015 1 commit
    • ferhat's avatar
      - In extended path · ac2e5cfd
      ferhat authored
        - fix an error with results print out
        - fix an error withe exogenous initialization
      ac2e5cfd