The next Math/Stan/CmdStan/stanc3 releases are about five weeks away - the feature freeze will happen on the 7th of November, and the release ten days later. I would like to get the release out well before the Thanksgiving holidays.
Please use this thread to let us know if there are any pull requests that need more attention or if you have any other suggestions regarding the release.
@spinkney I still have a hard time wrapping my head around the best way to encapsulate the _qf signatures. Iām currently extrapolating from only one data point since we donāt have a second one ready to go. Iām happy to work with you on it though, for starters we could just expose it was a ānormalā vectorized function if you can list out all the signatures
Oh good call! Iāll update that tomorrow. Iām just working on some more comprehensive tests to make sure that the method works across matrices and arrays of containers.
The System libs PR for the Math library is just about ready to be re-opened, the only tricky point is that the Sundials library version in Stan is updated past whatās available in distribution package managers (Stan uses 6.1.1, but the most recent in debian/ubuntu is 5.8.0). There were backwards-incompatible changes in the Math code (Sundials 6.0+ uses a different ācontextā initialisation), so Iām currently looking at whether I can detect the sundials version from the provided directory/library and #ifdef the relevant parts of the Math code
Awesome! If you canāt automatically detect what version, I think it would be reasonable to do what is done for TBB and require that the end-user set up a make variable when they set up the SUNDIALS_LIB etc. For TBB we call it TBB_INTERFACE_NEW, so maybe SUNDIALS_INTERFACE_OLD?
Iām re-opening the system-libraries PR in the Math lib today, then Iāll also be opening PRās later this week to add the signatures and manual entries for the new hypergeometric functions:
hypergeometric_2F1
hypergeometric_2F2
hypergeometric_3F2
I have a few more hypergeometric functions that Iāll be adding, but wonāt be ready in time for this release (@spinkney is there anything that you were particularly hoping for your functions? I have the 1F1 just about finished which could also go in this week)
@stevebronder the bernoulli one needs someone to look over the opencl code that reimplements the select function.
@rok_cesnovar I think the weibull pr needs that ^ select function implemented in opencl.
@rok_cesnovar For atan2 I commented out that binary vectorization test as the finite differences fails at infinite inputs. If you think thatās ok, then the pr is ready.
@andrjohns For the hypergeometric functions, that looks good!
@charlesm93 and I are also working on exposing the variadic forms of the algebraic solvers, which I think will be ready before the end of this week and would be nice to have, but can also wait a release if it gets too crammed.