|
1 | 1 | Stan Math Library Release Notes
|
2 | 2 |
|
| 3 | +====================================================================== |
| 4 | +v4.2.0 (5 October 2021) |
| 5 | +====================================================================== |
| 6 | + |
| 7 | +Miscellaneous: |
| 8 | + - Updated Powell and Newton solvers to use an adjoint method to propagate derivatives in reverse mode which should result in modest speed-up. Added variadic interfaces (`algebra_solver_powell_impl` and `algebra_solver_newton_impl`). (#2421) |
| 9 | + - Cleanup unused local typedefs. (#2505) |
| 10 | + - Fix tbb initialization so that if STAN_THREADS is not defined then the number of threads is set to 1. (#2514) |
| 11 | + - Bugfix for range checks not overriding STAN_THREADS. (#2530) |
| 12 | + - Bugfix for vectorized log include order. (#2542) |
| 13 | + - Added vectorized checks called by the stanc compiler. (#2556) |
| 14 | + - Adds an overload for the constrain functions on whether to accumulate jacobians into log probability argument.(#2559) |
| 15 | + - Updated algorithm for inv_Phi which is approximately 2x faster with precision of 16 digits. Based on the Fortran algorithm described in Wichura, M. J. (1988) Algorithm AS 241: The percentage points of the normal distribution. Applied Statistics, 37, 477–484.(#2566) |
| 16 | + - Vectorized unconstrain and constraing functions. (#2574, #2580) |
| 17 | + - Fixed generalized inverse so that it works for less than full rank symmetric matrices. (#2577) |
| 18 | + |
| 19 | +Varmat: |
| 20 | + - Added `var<Matrix>` overloads for `append_row()`, `append_col()`, `rep_vector()`, `rep_row_vector()`, `to_vector()`, `divide()`. (#2484, #2487, #2521, #2557) |
| 21 | + - Added nested vectorized functions for the new matrix type. (#2502) |
| 22 | + - Added support for basic slicing and dimension queries operators support var<Matrix> types. (#2507) |
| 23 | + - Added several unary functions for `var<Matrix>` as well as division.(#2527) |
| 24 | + - Allow accumulator to accept `var<Matrix>` matrix types(#2535) |
| 25 | + |
| 26 | +Complex: |
| 27 | + - Unary vectorized functions support containers of complex numbers(#2549) |
| 28 | + - Added complex scalar functions get_real(), get_imag(), and to_complex.(#2554) |
| 29 | + |
| 30 | +OpenCL: |
| 31 | + - Added prim-only OpenCL implementations for `qr_Q`, `qr_R`, `qr_thin_Q`, `qr_thin_R`. (#2479) |
| 32 | + - Fixed a bug for kernel generator operation `block`, `eigenvalues_sym`, `eigenvectors_sym`. (#2479, #2512) |
| 33 | + - Added OpenCL implementation for `cumulative_sum`. (#2483) |
| 34 | + - Fixed a bug that made OpenCL `identity_matrix` unusable. (#2499) |
| 35 | + - Added reverse mode for indexing.(#2511) |
| 36 | + - Fixed a number of bugs related to conversions of `arena_matrix_cl` into `matrix_cl`. Before this PR such a conversion invoked kernel generator and made a copy of data. Now only references to data are updated.(#2538) |
| 37 | + - Fixes kernel generator allocating more local memory than it needed.(#2541) |
| 38 | + - Added OpenCL implementation of sorting (`sort_asc` and `sort_desc`).(#2550) |
| 39 | + - Bugfix OpenCL kernels so that they can no longer modify a const `matrix_cl`.(#2553) |
| 40 | + |
3 | 41 | ======================================================================
|
4 | 42 | v4.1.0 (2 June 2021)
|
5 | 43 | ======================================================================
|
|
0 commit comments