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. 25 Jan, 2019 1 commit
  7. 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
  8. 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
  9. 10 Jan, 2019 2 commits
  10. 08 Jan, 2019 2 commits
  11. 04 Jan, 2019 2 commits
  12. 02 Jan, 2019 1 commit
  13. 13 Nov, 2018 1 commit
  14. 12 Nov, 2018 1 commit
  15. 08 Nov, 2018 2 commits
  16. 07 Nov, 2018 1 commit
  17. 06 Nov, 2018 1 commit
    • Sébastien Villemot's avatar
      Build system improvements on Windows (MinGW / MSYS2) · 671fe4bc
      Sébastien Villemot authored
      - 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.
      671fe4bc
  18. 02 Oct, 2018 1 commit
  19. 01 Oct, 2018 1 commit
  20. 27 Sep, 2018 1 commit
  21. 02 Aug, 2018 1 commit
  22. 18 Jul, 2018 1 commit
  23. 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
  24. 28 Jun, 2018 1 commit
  25. 27 Jun, 2018 2 commits
  26. 06 Jun, 2018 1 commit
  27. 05 Jun, 2018 2 commits
  28. 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
  29. 16 May, 2018 2 commits
  30. 15 May, 2018 2 commits
  31. 14 May, 2018 1 commit
  32. 16 Feb, 2018 1 commit