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

2009 Commits

Author SHA1 Message Date
jzmaddock
ff5ee61c69 hypergeometric_1F1_backward_recurrence_for_negative_a: remove dead code that can never be called in current version (code was inherited from original SOC project).
Also comment out some unused approximations.
2019-01-27 09:50:42 +00:00
jzmaddock
f00093cdf3 Test special cases, code tidy up, fix a couple of bugs exposed by new tests. 2019-01-27 09:28:56 +00:00
Nick Thompson
a1cade5a90 Save an xorpd instruction by initializing not to zero, but to the first value. Save a division for each element by dividing the filters by the spacing (square of the spacing for the second derivative). [CI SKIP] 2019-01-26 21:34:16 -07:00
Nick Thompson
d49133027a Remove (in this case harmless) division by zero to appease UBSan [CI SKIP] 2019-01-26 14:54:08 -07:00
Nick Thompson
175e375934 Rename filter computation functions to reflect the fact that multiple orders of differentiation may be computed. [CI SKIP] 2019-01-23 10:10:36 -07:00
Nick Thompson
b2f3054e2f Compute filters in higher precision and cast back to low precision so that high-p filters are accurate. [CI SKIP] 2019-01-22 15:46:19 -07:00
Nick Thompson
c9020ceb48 Consider using higher precision for calculation of filters. [CI SKIP] 2019-01-22 12:14:21 -07:00
Nick Thompson
b8cc83e49e Refactor so as to not store a reference member, make call threadsafe, compute entire vector in one go. 2019-01-22 12:14:21 -07:00
Nick Thompson
941bb1a008 Add denoising second derivative. 2019-01-22 12:14:21 -07:00
Nick Thompson
31ec7a9b0c Cleanup [CI SKIP] 2019-01-22 12:14:21 -07:00
Nick Thompson
bc10441044 Remove sign-compare warnings. Take advice of cppcheck. Grammar in documentation [CI SKIP] 2019-01-22 12:14:21 -07:00
Nick Thompson
119aff9ff2 Lanczos smoothing differentiators. 2019-01-22 12:14:21 -07:00
Nick Thompson
fedeabb06e Also change concept and include test [CI SKIP] 2019-01-22 12:12:11 -07:00
Nick Thompson
de584cc4ae Begin rearrangement. 2019-01-22 12:12:11 -07:00
Nick Thompson
1bface6481 Merge branch 'develop' into differentiation 2019-01-21 12:55:26 -07:00
Nick Thompson
e6f97af63f Add comment from Higham about overflow resistance. [CI SKIP] 2019-01-21 12:40:33 -07:00
Nick Thompson
c21ba1ad55 Include is_complex.hpp [CI SKIP] 2019-01-20 15:57:01 -07:00
Nick Thompson
dad9010fbe Do not include boost/type_traits.hpp; narrow the scope and include is_complex.hpp [CI SKIP] 2019-01-20 15:50:24 -07:00
jzmaddock
bb104ce44f 1F1: optimise performance of A&S 13.6.4 approximation.
Cache Bessel I values via backwards recursion.
[CI SKIP]
2019-01-20 18:26:59 +00:00
jzmaddock
d57b689b86 Merge branch 'hypergeometric_soc_2014' of https://github.com/boostorg/math into hypergeometric_soc_2014 2019-01-20 11:28:05 +00:00
jzmaddock
fbba64a30c 1F1: Fix some multiprecision errors, refactor difficult/unsolved cases into separate tests and only test where appropriate.
[CI SKIP]
2019-01-20 11:27:38 +00:00
Nick Thompson
8fd1d3cfae Do not include all of type traits, only include is_complex.hpp. 2019-01-19 15:00:03 -07:00
Nick Thompson
b576cb0ce7 Fix non-portable include path warning. [CI SKIP] 2019-01-18 20:45:36 -07:00
Nick Thompson
74de9889f9 Performance improvements for Hoyer sparsity [CI SKIP] 2019-01-18 20:19:27 -07:00
jzmaddock
695486b1ce hypergeometrics: Correct all the conceptual errors, fix up concept tests and generally test many more types.
[CI SKIP]
2019-01-18 19:31:50 +00:00
Nick Thompson
ff366e85a2 Add variance of N-sided die as unit test [CI SKIP] 2019-01-18 10:00:43 -07:00
Nick Thompson
8930420005 Performance improvements [CI SKIP] 2019-01-17 16:49:59 -07:00
jzmaddock
73cf58243e 1F1: Correct typo in type name. 2019-01-17 18:16:13 +00:00
Nick Thompson
d8514771ac Merge branch 'develop' into differentiation 2019-01-16 11:25:45 -07:00
Nick Thompson
75e7832a54 Add unsigned integer tests for Hoyer sparsity. 2019-01-16 11:14:53 -07:00
Nick Thompson
21e9e6cbc4 Merge branch 'develop' into sequence_tools [CI SKIP] 2019-01-16 10:52:30 -07:00
jzmaddock
def238994e Improve and test the recurrence tools.
[CI SKIP]
2019-01-15 19:31:31 +00:00
jzmaddock
7936e9892f 1F1: Lots of small corrections to support multiprecision types. 2019-01-14 18:58:45 +00:00
Nick Thompson
f3af883c6d Patch up univariate statistics for some integer types. [CI SKIP] 2019-01-12 14:57:16 -07:00
Nick Thompson
ce7fdbe581 Take care of integer overflow. [CI SKIP] 2019-01-12 12:53:53 -07:00
Nick Thompson
fb4f7748cd Refactor kurtosis calculation to use first_four_moments. 2019-01-11 15:19:48 -07:00
Nick Thompson
8d267da5e1 Add hamming_distance, l1_distance, l2_distance, sup_distance, lp_distance. Add more tests for integer datatypes. [CI SKIP] 2019-01-11 14:23:39 -07:00
Nick Thompson
df447ae00d Rename 'absolute_median' to 'median_absolute_deviation' [CI SKIP] 2019-01-07 10:50:06 -07:00
Matt Pulver
bdbf7d0206 return static_cast<result_type>(0) in round() for types whose arithmetic constructors are declared explicit. 2019-01-05 11:44:48 -05:00
jzmaddock
0703952423 1F1: Add special handling for a,b,z all positive and large.
[CI SKIP]
2019-01-03 12:00:58 +00:00
jzmaddock
f145a69538 1F1: Fix special case in Bessel approximation where b-a == 0 2019-01-03 11:59:51 +00:00
Nick Thompson
12a36657aa Merge branch 'develop' into differentiation 2018-12-29 10:57:02 -07:00
Nikita Kniazev
27c7e57b51 Do not include the whole Predef for a single macro 2018-12-28 14:56:27 +03:00
Nick Thompson
a27c4bc96c Also change concept and include test [CI SKIP] 2018-12-27 20:38:27 -07:00
Nick Thompson
a250691ed1 Begin rearrangement. 2018-12-27 18:59:44 -07:00
Nick Thompson
ff09a81d67 Reduce the number of stack variables and hopefully increase the probability of inlining discriminant calculation [CI SKIP] 2018-12-27 18:21:07 -07:00
Nick Thompson
ae17d3a8a3 Use quadratic_roots to simplify M2M4 SNR estimator. [CI SKIP] 2018-12-27 14:22:12 -07:00
Nick Thompson
bee2889e85 Change solve_quadratic to quadratic_roots. [CI SKIP] 2018-12-27 12:44:46 -07:00
jzmaddock
16f7c25c18 1F1: big method selection logic update:
* Hook up A&S 13.3.6 Bessel approximation for a ~ b.
* Refactor selection logic into separate functions.
* Remove one workaround-method that is no longer needed.
* Apply rescaling for a == b special case.
[CI SKIP]
2018-12-27 19:17:50 +00:00
jzmaddock
1c99408605 hypergeometric_pFq_checked_series.hpp: Big update to correctly handle negative b crossing the origin, also variable b values. 2018-12-27 19:13:59 +00:00