Skip to content

Commit 9995ae4

Browse files
release/v4.2.0: updating version numbers
1 parent 57f05b7 commit 9995ae4

File tree

4 files changed

+41
-3
lines changed

4 files changed

+41
-3
lines changed

.github/ISSUE_TEMPLATE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ If this is a **feature request**, show what you expect to happen if the feature
2525

2626

2727
#### Current Version:
28-
v4.1.0
28+
v4.2.0

RELEASE-NOTES.txt

+38
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,43 @@
11
Stan Math Library Release Notes
22

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+
341
======================================================================
442
v4.1.0 (2 June 2021)
543
======================================================================

doxygen/doxygen.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ PROJECT_NAME = "Stan Math Library"
3838
# could be handy for archiving the generated documentation or if some version
3939
# control system is used.
4040

41-
PROJECT_NUMBER = 4.1.0
41+
PROJECT_NUMBER = 4.2.0
4242

4343
# Using the PROJECT_BRIEF tag one can provide an optional one line description
4444
# for a project that appears at the top of each page and should give viewer a

stan/math/version.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#endif
1313

1414
#define STAN_MATH_MAJOR 4
15-
#define STAN_MATH_MINOR 1
15+
#define STAN_MATH_MINOR 2
1616
#define STAN_MATH_PATCH 0
1717

1818
namespace stan {

0 commit comments

Comments
 (0)