Skip to content

Commit

Permalink
release/v4.2.0: updating version numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
serban-nicusor-toptal committed Oct 5, 2021
1 parent 57f05b7 commit 9995ae4
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ If this is a **feature request**, show what you expect to happen if the feature


#### Current Version:
v4.1.0
v4.2.0
38 changes: 38 additions & 0 deletions RELEASE-NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,43 @@
Stan Math Library Release Notes

======================================================================
v4.2.0 (5 October 2021)
======================================================================

Miscellaneous:
- 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)
- Cleanup unused local typedefs. (#2505)
- Fix tbb initialization so that if STAN_THREADS is not defined then the number of threads is set to 1. (#2514)
- Bugfix for range checks not overriding STAN_THREADS. (#2530)
- Bugfix for vectorized log include order. (#2542)
- Added vectorized checks called by the stanc compiler. (#2556)
- Adds an overload for the constrain functions on whether to accumulate jacobians into log probability argument.(#2559)
- 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)
- Vectorized unconstrain and constraing functions. (#2574, #2580)
- Fixed generalized inverse so that it works for less than full rank symmetric matrices. (#2577)

Varmat:
- Added `var<Matrix>` overloads for `append_row()`, `append_col()`, `rep_vector()`, `rep_row_vector()`, `to_vector()`, `divide()`. (#2484, #2487, #2521, #2557)
- Added nested vectorized functions for the new matrix type. (#2502)
- Added support for basic slicing and dimension queries operators support var<Matrix> types. (#2507)
- Added several unary functions for `var<Matrix>` as well as division.(#2527)
- Allow accumulator to accept `var<Matrix>` matrix types(#2535)

Complex:
- Unary vectorized functions support containers of complex numbers(#2549)
- Added complex scalar functions get_real(), get_imag(), and to_complex.(#2554)

OpenCL:
- Added prim-only OpenCL implementations for `qr_Q`, `qr_R`, `qr_thin_Q`, `qr_thin_R`. (#2479)
- Fixed a bug for kernel generator operation `block`, `eigenvalues_sym`, `eigenvectors_sym`. (#2479, #2512)
- Added OpenCL implementation for `cumulative_sum`. (#2483)
- Fixed a bug that made OpenCL `identity_matrix` unusable. (#2499)
- Added reverse mode for indexing.(#2511)
- 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)
- Fixes kernel generator allocating more local memory than it needed.(#2541)
- Added OpenCL implementation of sorting (`sort_asc` and `sort_desc`).(#2550)
- Bugfix OpenCL kernels so that they can no longer modify a const `matrix_cl`.(#2553)

======================================================================
v4.1.0 (2 June 2021)
======================================================================
Expand Down
2 changes: 1 addition & 1 deletion doxygen/doxygen.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ PROJECT_NAME = "Stan Math Library"
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = 4.1.0
PROJECT_NUMBER = 4.2.0

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
Expand Down
2 changes: 1 addition & 1 deletion stan/math/version.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#endif

#define STAN_MATH_MAJOR 4
#define STAN_MATH_MINOR 1
#define STAN_MATH_MINOR 2
#define STAN_MATH_PATCH 0

namespace stan {
Expand Down

0 comments on commit 9995ae4

Please sign in to comment.