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. 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
  5. 10 Jan, 2019 1 commit
  6. 08 Jan, 2019 1 commit
  7. 04 Jan, 2019 1 commit
  8. 08 Nov, 2018 1 commit
  9. 18 May, 2017 1 commit
  10. 16 May, 2017 2 commits
  11. 15 Jul, 2016 1 commit
  12. 21 Mar, 2014 1 commit
    • Sébastien Villemot's avatar
      Fix an invalid memory access in k_order_perturbation DLL. · 050b495a
      Sébastien Villemot authored
      In the case where a 2nd/3rd derivative is symbolically not zero but numerically
      zero at the evaluation point, the last lines of the g2/g3 matrices (in
      KordpDynare::calcDerivativesAtSteady()) where uninitialized (these matrices
      store the sparse hessian/3rd-deriv in coordinate list form, i.e. with 3 columns
      and as many rows as non-zero elements). When reconstructing the dense
      hessian/3rd-deriv matrix out of g2/g3, this would result in invalid memory
      accesses.
      050b495a
  13. 12 Jun, 2013 1 commit
  14. 07 Jul, 2012 1 commit
  15. 06 Jul, 2012 1 commit
  16. 04 Feb, 2011 2 commits
  17. 22 Dec, 2010 1 commit
  18. 06 Dec, 2010 2 commits
    • Sébastien Villemot's avatar
      K-order DLL: code simplification · 2d84d8dc
      Sébastien Villemot authored
      2d84d8dc
    • Sébastien Villemot's avatar
      Bugfix at order 3 (hopefully was not affecting final results, thanks to Pablo... · a9b4331a
      Sébastien Villemot authored
      Bugfix at order 3 (hopefully was not affecting final results, thanks to Pablo Winant for spotting this):
      - in the 3rd derivatives matrix, among symmetric elements, the first one had
      the right values but the following ones were set to zero
      - moreover, the k-order DLL was trying to add all the symmetric elements in the
      folded tensor, instead of only keeping one value among all the symmetric ones
      - hopefully, Ondra's tensor library was (silently) refusing to add symmetric
      elements after the first (and right) value had been added
      - so the final result was correct
      a9b4331a
  19. 20 Sep, 2010 1 commit
  20. 25 Jun, 2010 1 commit
  21. 22 May, 2010 1 commit
  22. 09 Mar, 2010 3 commits
  23. 09 Feb, 2010 1 commit
  24. 17 Dec, 2009 1 commit
  25. 16 Dec, 2009 1 commit
  26. 07 Dec, 2009 3 commits
  27. 01 Dec, 2009 1 commit
  28. 30 Nov, 2009 2 commits
  29. 29 Nov, 2009 1 commit
  30. 03 Nov, 2009 1 commit
  31. 23 Oct, 2009 1 commit
  32. 02 Oct, 2009 1 commit