2
0
mirror of https://github.com/boostorg/math.git synced 2026-02-23 15:52:16 +00:00
Commit Graph

2863 Commits

Author SHA1 Message Date
jzmaddock
0ca4e3a8da [polygamma] doc regen. 2014-11-26 18:39:44 +00:00
jzmaddock
85b59d348b [Polygamma] Fix a few corner cases, and bail out early in reflection formula if n is too large. 2014-11-26 18:22:30 +00:00
jzmaddock
e21bca611f [polygamma] Remove series acceleration from polygamma_nearzero as it appears to make no real difference to the number of terms required. 2014-11-26 17:42:30 +00:00
jzmaddock
5ed8dc55a8 [Documentation] Apply patches from https://svn.boost.org/trac/boost/ticket/10816 2014-11-25 17:07:45 +00:00
jzmaddock
4194fea6d0 [polygamma] Fix integer overflow in branch check case, and bail out of transition code is the number of series evaluations is too high. 2014-11-24 18:08:31 +00:00
jzmaddock
a2863fb100 Merge branch 'bernoulli-tgamma' into develop
Conflicts fixed by regenerating docs:
	doc/html/index.html
	doc/html/indexes/s01.html
	doc/html/indexes/s02.html
	doc/html/indexes/s03.html
	doc/html/indexes/s04.html
	doc/html/indexes/s05.html
	doc/html/math_toolkit/conventions.html
	doc/html/math_toolkit/navigation.html
2014-11-23 18:41:51 +00:00
jzmaddock
a663232f38 [polygamma] Add two special cases for x = 1 and x = 0.5. 2014-11-22 18:37:31 +00:00
jzmaddock
76ae440ffd Fix msvc-14 warnings, and correct use of tolerances exposed by msvc-14 testing. 2014-11-20 18:01:47 +00:00
jzmaddock
ea950fbd27 Synch docs to code. 2014-11-20 10:41:26 +00:00
pabristow
870df2d32a Increased precision of skwnormal variance 2014-11-20 10:13:17 +00:00
jzmaddock
e2cd2e72dc [polygamma] Document new method for negative x in code comments, simply some code, change table to coefficients to store only non-zero values. 2014-11-20 09:56:21 +00:00
jzmaddock
075f9f893b [polygamma] Change low order negative-x cases to use new polynomial method. Change expected error rates to match. 2014-11-18 18:27:21 +00:00
jzmaddock
495d4655b4 [polygamma] remove dead code. 2014-11-17 18:23:30 +00:00
jzmaddock
f4b86c2996 [polygamma] Switch to new better method for handling negative arguments. 2014-11-17 18:12:25 +00:00
jzmaddock
26f063eca4 Fix accuracy issue in cos_pi.
Add tests for cos_pi and sin_pi.
Doc regen.
2014-11-16 17:18:17 +00:00
jzmaddock
9d6df5d835 [polygamma] Remove some dead code and tidy up initialization and policy usage. 2014-11-14 17:05:41 +00:00
jzmaddock
23081c32f4 [polygamma] Update negative arg behavior. 2014-11-14 12:46:46 +00:00
jzmaddock
04207ee430 Fix some typos. 2014-11-09 18:22:21 +00:00
jzmaddock
8147bb92d8 [Polygamma] Add equations and graphs. 2014-11-08 19:08:00 +00:00
jzmaddock
1beedd6487 [polygamma] Initial docs. 2014-11-08 11:50:48 +00:00
jzmaddock
2bcdfed1a4 [Polygamma] Remove dead code. 2014-11-08 11:03:45 +00:00
jzmaddock
dd92123098 [digamma] fix reference. 2014-11-07 16:57:18 +00:00
jzmaddock
50778a40c4 [digamma]Oops fix missing return statement on half integer special case. 2014-11-07 16:56:15 +00:00
jzmaddock
0e98fd90c2 [Polygamma] Add optimized trigamma version that uses rational approximations. 2014-11-07 16:32:41 +00:00
jzmaddock
ccf0f82244 [polygamma] Add trigamma to minimax finding code. 2014-11-07 16:31:48 +00:00
jzmaddock
8477de53b4 [polygamma]Fix spurious overflow for very large x. 2014-11-04 18:27:48 +00:00
jzmaddock
3478ee9c46 [polygamma] Fix GCC failures, a few bugs and forward policy arguments. Fix test data to be 128-bit safe. 2014-11-03 17:55:21 +00:00
jzmaddock
d50cf889f6 Add basic thread safety and initialization code. 2014-11-03 12:01:11 +00:00
jzmaddock
eccec791c7 [polygamma] Fix spurious overflow in transition zone, update cot derivative to work to arbitrary level. 2014-11-03 11:50:10 +00:00
jzmaddock
e70f53e670 [Polygamma] Fix issues with small negative arguments for x.
Tidy up a couple of cosmetic coding issues.
2014-10-31 18:51:14 +00:00
jzmaddock
8438b8a84b [Polygamma] Extend derivatives-of-cot method to larger orders.
Extend test cases for negative x.
Fix missing return statement on error condition.
2014-10-31 18:07:01 +00:00
jzmaddock
31c345108c [polygamma] Fix gcc-11 test failures. 2014-10-30 17:13:39 +00:00
jzmaddock
14f6e4fadc Fix typo in doc version, regenerate docs. 2014-10-30 11:34:41 +00:00
jzmaddock
812122d56f Fix include order to be alphabetical, update copyright. 2014-10-30 11:13:31 +00:00
jzmaddock
3f58ab9009 Fix copyright info. 2014-10-30 11:11:50 +00:00
jzmaddock
513606dec5 [Polygamma] Don't use integer values in SC_ macro as it doesn't work with __float128. 2014-10-30 11:09:20 +00:00
jzmaddock
081abc704a [zeta/polygamma]Add cache of odd-integer zeta values.
Fix even integer case to call fast closed-form code more often.
Fix initialization code to initializes new cache of even-integer values.
2014-10-30 11:08:36 +00:00
jzmaddock
8a36ba07d1 {Polygamma]Fix polygamma_nearzero to call correct zeta function overload. 2014-10-30 11:06:28 +00:00
jzmaddock
232e7af69b [polygamma] short circuit series evaluation when it can make no difference to the result. 2014-10-29 17:38:38 +00:00
jzmaddock
8362ab2a08 [polygamma]
Replace small-x expansion with one that's accelerated and avoids spurious overflow.
Also tweak selection logic, and reuse variables better.
2014-10-28 19:39:35 +00:00
jzmaddock
7427376bd9 [Polygamma]
Fix test data for small x - input x value were off slightly.
2014-10-28 19:37:50 +00:00
jzmaddock
83e6f58614 Add tests for small x. 2014-10-27 17:40:12 +00:00
jzmaddock
a3bed60089 More test failure fixes. 2014-10-26 16:25:19 +00:00
jzmaddock
22bc7212e7 [Polygamma]
Hook up concept checks.
Move test instantiations into instances lib.
Fix a few test failures.
Add Nikhar's trigamma tests.
2014-10-26 09:42:11 +00:00
jzmaddock
dffdb444ee Expand test cases for negative x.
Add comment on the calculation of derivatives of cot(x).
2014-10-25 17:28:09 +01:00
jzmaddock
bda3331ed3 [Polygamma]
Fix digits_base10 to actually return the correct value!
Add support for negative x.
Add missing using declaration to digamma.
Update tests with negative x tests.
2014-10-24 18:50:37 +01:00
jzmaddock
f2ae6940ca [Polygamma]
Optimize zeta function for integer arguments.
2014-10-23 17:08:19 +01:00
jzmaddock
29e86c8fcb [Polygamma]
Extend existing digamma implementation to true multiprecision.
Add integer and half-integer test cases for digamma.
Change polygamma to call digamma when order is zero.
2014-10-23 11:42:57 +01:00
jzmaddock
d9ea302cff Hook up basic multiprecision digamma. 2014-10-23 09:59:08 +01:00
jzmaddock
4bc3b6076c [Polygamma]
Fix real_concept compilation and runtime.
Add digits_base10 support function to policies.
2014-10-21 19:03:26 +01:00