Commit Graph

5028 Commits

Author SHA1 Message Date
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
pabristow
04c43aba75 Cosmetic tidy. 2014-11-03 12:11:50 +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
pabristow
397a3cf4ff Merge branch 'arcsine_dist' of https://github.com/boostorg/math into arcsine_dist 2014-10-30 12:15:13 +00:00
pabristow
2de39afe7e Fixed silly mistake causing real_concept tests to fail 2014-10-30 12:14:33 +00:00
jzmaddock
6bf9d2bffc [arcsine]Fix concept failures 2014-10-30 11:46:05 +00:00
jzmaddock
3c4d1804e1 Merge branch 'develop' 2014-10-30 11:35:53 +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
pabristow
477e194490 Corrected previous failures using real_concept. tested locally OK on MSVC and gcc 4.8 2014-10-28 16:37:43 +00:00
jzmaddock
4e07c9bf74 Fix compilation errors from real_concept. 2014-10-27 17:50:11 +00:00
jzmaddock
83e6f58614 Add tests for small x. 2014-10-27 17:40:12 +00:00
pabristow
0a932fa52b Expanded tests from double, but errors - see email 27 Oct14 2014-10-27 15:51:54 +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
jzmaddock
5f89e70efd [Polygamma]
Add test cases.
Rewrite polygamma_atinfinityplus to avoid spurious underflow/overflow.
Rewrite polygamma_attransitionplus to call polygamma_atinfinityplus rather than have it's own routine.
Change condition which selects when polygamma_atinfinityplus can be called.
2014-10-21 13:12:26 +01:00
pabristow
39b499bd42 Add arcsine example 2014-10-20 14:38:03 +01:00
pabristow
c4c36c2c86 Added graphs (dist_graphs would not handle arcsine) 2014-10-20 14:37:21 +01:00
pabristow
716e7eff75 First draft of working docs. Need more tests. 2014-10-20 14:36:03 +01:00
jzmaddock
eb2525b516 Merge branch 'develop' into bernoulli-tgamma
Conflicts:
	doc/equations/bernoulli_numbers2.mml
	doc/equations/bernoulli_numbers2.png
	doc/equations/bernoulli_numbers2.svg
	doc/equations/generate.sh
	doc/equations/tangent_numbers.png
	doc/equations/tangent_numbers.svg
	doc/math.qbk
	include/boost/cstdfloat.hpp
	include/boost/math/policies/error_handling.hpp
	include/boost/math/special_functions/detail/bernoulli_details.hpp
2014-10-18 17:49:49 +01:00
jzmaddock
15ab15494c Merge branch 'develop' 2014-10-12 17:32:55 +01:00
jzmaddock
f1a4201589 Minor doc editing.
Update history.
Regen docs.
2014-10-05 09:13:26 +01:00
pabristow
7d303aaab0 Initial rough drafts of arcsine (only committed so can pick up better diagnostics in error_handling from inf_dist branch) 2014-10-03 10:12:05 +01:00
pabristow
d0a3f8326b Attempt to correct graph failure for arcsine(-1, 1) where no mode and lower support negative means the 1% margin was added so -1.01 instead of subtracted to -0.99. 2014-10-03 09:58:16 +01:00
jzmaddock
317125fcca Merge branch 'develop' of https://github.com/boostorg/math into develop 2014-09-28 18:09:48 +01:00
jzmaddock
9860071f84 Remove all references to tr1 components.
Update data generators to use Boost.Multiprecision.
2014-09-28 18:09:27 +01:00
pabristow
818cf3ab11 Merge branch 'develop' of https://github.com/boostorg/math into develop 2014-09-25 16:42:20 +01:00
pabristow
91734c66e3 Many cosmetic edits to hyperexponential 2014-09-25 16:40:15 +01:00
pabristow
5a6d292729 Changed comments on snips. 2014-09-25 16:38:38 +01:00
jzmaddock
bd807c74e1 Fix more spurious overflows detected by Rocco Romeo. 2014-09-24 18:02:00 +01:00