math
math copied to clipboard
Boost.org math module
In order to get us green again, I've disabled 2 tests in test_autodiff_8.cpp for Clang/MacOS: https://github.com/boostorg/math/blob/a243640baddfaa318859d622fddb7abc3ba8a978/test/test_autodiff_8.cpp#L12 and https://github.com/boostorg/math/blob/a243640baddfaa318859d622fddb7abc3ba8a978/test/test_autodiff_8.cpp#L135 One for @pulver.
Is there any support for [generalized Laguerre polynomials](https://en.wikipedia.org/wiki/Gauss%E2%80%93Laguerre_quadrature), $L_n^\alpha(\cdot)$ where $\alpha > -1$ and $\alpha$ is a floating point number? I'm looking for functionality similar to what [scipy.special.roots_genlaguerre ](https://docs.scipy.org/doc/scipy/reference/generated/scipy.special.roots_genlaguerre.html) provides....
This line should be corrected At /math/distributions/geometric.hpp at line 404 ``` return std::log(p); // success_fraction ``` Now the code is ``` return log(p); // success_fraction ``` When building that library....
@jzmaddock This may not be _the_ fix but it certainly gets things working. I just tested different shapes of the issue distribution to find decent places to make the change...
OK folks, here's a bit of an experiment with C++ modules, it works with msvc but gcc leads to a fairly hopeless spiral of internal compiler errors :( There are...
generally - hexfloat is not supported - in the implementations, exceptions are used for flow control -> this procedure is/(has never been) sensible Suggestions a) via quadmath_snprintf/strtoflt128 - for gcc...
I am missing hypot(3 args). For an exact implementation there is just the discussion https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77776. Maybe you have some ideas. hypot(2 args) must then of course be adapted. math_fwd.hpp: ```...
In the expm1 case, tighten up error handling and testing.
Looking at the code line https://github.com/boostorg/math/blob/6103836593ee40700724465065d74bf92616f3fb/include/boost/math/tools/roots.hpp#L183 and the block following it, I am thinking: Are you missining `fmax = fmid;` there? Also, are you sure that the condition https://github.com/boostorg/math/blob/6103836593ee40700724465065d74bf92616f3fb/include/boost/math/tools/roots.hpp#L319 is...