Nick
b998b1c292
Minor PCHIP cleanup ( #984 )
...
The comment that the finite difference approximation to the derivative
was the only way to produce monotonicity was wrong.
In addition, the error message gave no hint as to its origin. Fix this.
2023-05-08 12:34:38 +02:00
jzmaddock
d5960de3db
Fix case where b is a negative integer and z is also negative. ( #983 )
...
* Fix case where b is a negative integer and z is also negative.
Add tests etc.
Fixes: https://github.com/boostorg/math/issues/982 .
2023-05-04 09:17:16 +01:00
Matt Borland
298a243ccd
Fix for scipy issue 18302 ( #977 )
2023-04-21 12:31:23 +02:00
Madiyar
109a814e89
Fix fisher_f mode ( #976 )
...
* Fix fisher_f mode
The mode for F-distribution is defined when `df1 > 2` according to https://en.wikipedia.org/wiki/F-distribution . It is also reasonable since `df2 * (df1 - 2) / (df1 * (df2 + 2))` becomes zero or negative when `df1 <= 2`
Co-authored-by: Matt Borland <matt@mattborland.com >
2023-04-14 12:30:53 +02:00
Matt Borland
93448acea7
Merge pull request #946 from mborland/logcdf
...
Add logcdf to distributions
2023-04-13 14:10:35 +02:00
Matt Borland
9a3b8bc853
Merge pull request #968 from mborland/430
...
Fix rounding for non-representable numbers
2023-04-05 17:17:18 +02:00
Matt Borland
3a81f17b14
Replace language version check with feature check
2023-04-05 14:15:59 +02:00
Matt Borland
2c141fe268
Disable __float128
2023-04-03 17:43:50 +02:00
Matt Borland
03f4498b16
Change handling for non-literal types
2023-04-03 17:04:06 +02:00
Matt Borland
93b31d1e19
Use boost::math fpclassify functions
2023-04-03 15:40:28 +02:00
Matt Borland
c597cb1112
Fix ccmath fpclassify for poison
2023-04-03 15:03:11 +02:00
Matt Borland
e5b4f3f0c3
Improve trunc handling
2023-04-03 14:50:22 +02:00
Matt Borland
dc676d54f9
Fix extra characters
2023-04-03 14:25:08 +02:00
Matt Borland
1de39c69ef
Add coverage for lround and iround
2023-04-03 14:06:29 +02:00
Matt Borland
8dfc73533d
Fix __float128 test macros
2023-04-03 13:54:06 +02:00
Matt Borland
63f452a71e
Merge pull request #969 from mborland/readme
...
Update README
2023-04-03 13:45:21 +02:00
Matt Borland
201f178028
Merge remote-tracking branch 'upstream/develop' into 430
2023-04-03 13:41:42 +02:00
Matt Borland
b3d9de82f7
Merge pull request #972 from mborland/PCH
...
Disable PCH on MSVC until B2 is fixed
2023-03-31 16:47:00 +02:00
Matt Borland
62ee2bc7f1
Disable PCH on MSVC until B2 is fixed
2023-03-31 14:30:52 +02:00
Matt Borland
4459621e12
Update README
2023-03-28 12:24:55 +02:00
Matt Borland
b67bfb749f
Remove long double testing
2023-03-22 12:00:48 -07:00
Matt Borland
3200ce108d
Change comparison to max
2023-03-21 08:11:00 -07:00
Matt Borland
6989ad19ff
Don't use constexpr calculation with concept tests
2023-03-20 17:50:04 -07:00
Matt Borland
c901be5ca2
Fix __float128
2023-03-20 17:49:27 -07:00
Matt Borland
b1a95fa2c1
Add BOOST_PREVENT_MACRO_SUBSTITUTION
2023-03-20 17:03:47 -07:00
Matt Borland
5a50ec7868
Simplify and constexperize
2023-03-20 15:22:44 -07:00
Matt Borland
5284fb7fa8
Explicitly cast the result
2023-03-16 21:49:43 -07:00
Matt Borland
b8fb413405
Compensate for signedness
2023-03-16 21:23:52 -07:00
Matt Borland
f349ddbb5a
Fix for long doubles
2023-03-16 20:11:05 -07:00
Matt Borland
73b8ffc13c
Fix llround for non-representable numbers
2023-03-16 19:26:23 -07:00
Matt Borland
53766896dd
Merge pull request #967 from mborland/warnings
...
Fix -Wmaybe-uninitialized in bessel jy series
2023-03-10 17:56:15 -08:00
Matt Borland
1f94d9806b
Fix -Wmaybe-uninitialized in bessel jy series
2023-03-10 12:31:51 -08:00
Matt Borland
a619c3c96b
Merge pull request #966 from mborland/exception
...
Remove unneeded boost library includes
2023-03-09 12:18:33 -08:00
Matt Borland
77c8e2aa14
Remove unneeded boost library includes
2023-03-09 08:26:46 -08:00
Matt Borland
2fe1facdb5
Merge pull request #965 from boostorg/quad
2023-03-07 11:09:09 -08:00
Matt Borland
d3a3dd3620
Conditionally disable MP testing for pFq
2023-03-07 07:53:53 -08:00
jzmaddock
cf6cd75477
Improve error handling in non-central distributions. ( #963 )
...
* Improve error handling in non-central distributions.
* Try turning debug symbols off for msvc-14.0.
So we don't run out of disk space on CI.
2023-03-07 12:11:29 +00:00
Matt Borland
e06292f69f
Conditionally disable MP testing and move to proper test suite
2023-03-06 10:44:48 -08:00
Matt Borland
0b97dfa8d7
Add macro to limited amount of CI runs
2023-03-06 10:34:56 -08:00
Matt Borland
c5ffe88c2f
Conditionally disable MP concept checks
2023-03-06 10:32:11 -08:00
Matt Borland
0b448cfd1e
Disable MP tests unless specifically activated
2023-03-06 09:22:38 -08:00
Matt Borland
49df0cc017
Fix -Wmaybe-uninitialized
2023-03-06 08:42:07 -08:00
jzmaddock
bf3bc2e6c2
Fix ibeta_inv for very small p. ( #962 )
...
* Fix ibeta_inv for very small p.
Change assert's in temme_method_1_ibeta_inverse to corrections when guess goes out of range.
Change handling of non-convergence in second_order_root_finder to use bracketing when the end points are many orders of magnitude apart.
Fixes: https://github.com/boostorg/math/issues/961 .
* Add missing copyright.
[CI SKIP]
2023-03-05 13:18:27 +00:00
Matt Borland
82ccb85907
Merge pull request #960 from mborland/959
...
Fix for issue #959
2023-03-03 09:08:32 -08:00
Matt Borland
c7e22bf95b
Fix formatting
2023-03-02 10:01:01 -08:00
Matt Borland
8b52854cb5
Use control points to determine amount of scratch space needed
2023-03-02 09:47:23 -08:00
Matt Borland
8cfdbb6d2e
Update cxxstd field ( #958 )
...
[ci skip]
2023-02-27 08:19:41 -08:00
jzmaddock
7203fa2def
Fix library version number.
...
Regenerate docs.
[CI SKIP]
2023-02-23 18:15:50 +00:00
jzmaddock
016da990e2
Update history.
...
Regenerate docs.
2023-02-23 17:13:51 +00:00
Matt Borland
5576533ae2
Merge pull request #955 from mborland/17916_2
...
Replace int with long long in nct pdf and cdf
2023-02-23 08:21:54 -08:00