|
1 | 1 | Stan Math Library Release Notes
|
2 | 2 |
|
| 3 | +====================================================================== |
| 4 | +v5.0.0 (10 December 2024) |
| 5 | +====================================================================== |
| 6 | + |
| 7 | +Breaking changes: |
| 8 | + |
| 9 | + - Removed deprecated `_log()` probability functions. (#2995) |
| 10 | + - Moved constraint transforms to their own folder. (#3039) |
| 11 | + - Updated arena_matrix to use move semantics. (#2928) |
| 12 | + - Un-vendored a great many unused boost libraries. (#3129) |
| 13 | + - C++17 is now required. |
| 14 | + |
| 15 | + Other changes: |
| 16 | + |
| 17 | + - Added `sum_to_zero_constrain`, `sum_to_zero_free`, and `check_sum_to_zero`. (#3101) |
| 18 | + - Added beta_neg_binomial_lpmf. Allows modeling heavy-tail count data. (#3108) |
| 19 | + - Added beta_neg_binomial_lccdf. (#3114, #3118) |
| 20 | + - Added beta_neg_binomial_lcdf. (#3116) |
| 21 | + - Added beta_neg_binomial_cdf. (#3120) |
| 22 | + - Added beta_neg_binomial_rng. (#3126) |
| 23 | + - Added overloads for tuples of bounds to `lub_free` and `lub_constrain`. (#3087) |
| 24 | + - Added error checking functions for row/column stochastic matrices. (#3095) |
| 25 | + - Added constructor to vari for passing initial values and adjoints. (#3089) |
| 26 | + - Improved efficiency of `finite_diff_gradient_auto`. (#3096) |
| 27 | + - Functions concerned with the number of entries in a container (`size`, `cols`, `rows`, ...) now consistently use `long int` as their return type. (#3086) |
| 28 | + - Removed support for adding makefile variables in `~/.config/stan/make.local`. Use the `make/local` file in the Math directory instead. (#3090) |
| 29 | + - Fixed an indexing bug inside gp_matern32_cov. (#3084) |
| 30 | + - Fixed the new `wiener_lpdf` overloads evaluating their expression template arguments more than once. (#3112) |
| 31 | + - Fixed some failures to compile calls to `pow` when using libc++ 19. (#3110) |
| 32 | + - Updated templated complex functions in the Stan math library to be better candidates than the standard library functions during ADL. (#3122) |
| 33 | + - Fixed a warning about a mismatched struct/class declaration from clang 18. (#3091) |
| 34 | + - Fixed compilation of `fabs` with Apple Clang 15. (#3093) |
| 35 | + - Fix Eigen issue [2852](https://gitlab.com/libeigen/eigen/-/issues/2852) so that Eigen's kronecker product type works with `value_type_t`. (#3124) |
| 36 | + |
3 | 37 | ======================================================================
|
4 | 38 | v4.9.0 (3 June 2024)
|
5 | 39 | ======================================================================
|
|
0 commit comments