Skip to content
Snippets Groups Projects
  1. Apr 02, 2025
  2. Nov 28, 2024
  3. Nov 18, 2024
  4. Nov 08, 2024
  5. Sep 09, 2024
    • Sébastien Villemot's avatar
      Initial HANK support · 1e68b2fc
      Sébastien Villemot authored
      – New “heterogeneity_dimension” statement
      – New option “heterogeneity” to “var”, “varexo”, “parameters”, “model” and
        “shocks” statements
      – New “SUM()” operator in “model” block
      1e68b2fc
  6. Jun 12, 2024
  7. May 16, 2024
    • Sébastien Villemot's avatar
      Refactor output for complementarity conditions · dc1ec15f
      Sébastien Villemot authored
      The vector of lower and upper bounds is now provided by
      {static,dynamic}_complementarity_conditions.m (which accepts parameters as an
      argument, in preparation for the possibility of having parameters in
      complementarity conditions).
      
      The index that denotes the reordering of equation residuals (so that the
      residual of an equation appears at the index of the endogenous appearing in the
      complementarity condition) is now in “M_.{static,dynamic}_mcp_equations_reordering”.
      
      Constraints declared through the ramsey_constraints block are also incorporated
      in this new interface (and therefore “M_.ramsey_model_constraints” has been
      removed).
      dc1ec15f
  8. Apr 15, 2024
  9. Dec 19, 2023
  10. Dec 14, 2023
  11. Dec 01, 2023
  12. Nov 30, 2023
  13. Nov 15, 2023
  14. Nov 14, 2023
  15. Oct 18, 2023
  16. Oct 17, 2023
  17. Oct 16, 2023
  18. Oct 10, 2023
  19. Oct 06, 2023
  20. Sep 14, 2023
  21. Jan 16, 2023
  22. Oct 11, 2022
    • Sébastien Villemot's avatar
      Simplify strsplit() using std::string_view · 198ff70b
      Sébastien Villemot authored
      By the way:
      – improve the semantics by having a consistent treatment of empty substring
        components (previously, only the last one was ignored)
      – move it to DataTree to make it more accessible from elsewhere (even though
        ideally it should be in a “utilities” namespace).
      198ff70b
  23. Oct 04, 2022
  24. Sep 13, 2022
  25. Jun 08, 2022
  26. May 18, 2022
    • Sébastien Villemot's avatar
      JSON output: fix handling of vector value options · 3516894a
      Sébastien Villemot authored
      The vectors were previously stored as strings internally, which would not
      necessarily contain the commas which are required in JSON (but not in
      MATLAB/Octave). The fix consists in internally storing those options as
      std::vector.
      
      Closes: #96
      3516894a
    • Sébastien Villemot's avatar
      No longer delete move constructor/assignment operator · 27952078
      Sébastien Villemot authored
      We follow the advice given by Josuttis in his book about move semantics.
      
      Deleting those member fuctions can be a bug if we want to allow copy semantics,
      because overload resolution will no longer fallback to the copy
      constructor/assignment operator when given an rvalue.
      
      In particular, this explain why it was not possible to delete the move
      assignment operator of the StaticModel class.
      27952078
  27. May 16, 2022
  28. May 03, 2022
  29. Apr 26, 2022
  30. Apr 21, 2022
  31. Mar 30, 2022
    • Sébastien Villemot's avatar
      Add new “log” option to “var” statement · 71edfd05
      Sébastien Villemot authored
      When an endogenous is declared with “var(log)”, say “y”:
      – creates an auxiliary named “LOG_y”
      – replaces “y(±l)” everywhere by “exp(LOG_y(±l))”
      – adds a new auxiliary equation “y=exp(LOG_y)”
      – adds a new definition “LOG_y=log(y)” in set_auxiliary_variables.m and
        dynamic_set_auxiliary_series.m files
      
      This option also works in conjunction with “deflator=…”, such as “var(log,
      deflator=…)” (the “log” must appear befor “deflator”). There are no provisions
      for combining “log” with “log_deflator”, because that would not make much sense
      from an economic point of view (amounts to taking the log two times).
      
      Ref. dynare#349
      71edfd05
    • Sébastien Villemot's avatar
Loading