Nick Thompson
9dce6d8bb9
Catmull-Rom: Add example and test to build, update docs.
2017-12-22 23:30:31 -07:00
Nick Thompson
1a29ce99c6
Demonstrate affine invariance of Catmull-Rom splines.
2017-12-22 21:52:52 -07:00
Nick Thompson
4cce07e15e
Implement tangent vector computation. Fix index lookup. Close all Catmull-Rom curves and document.
2017-12-22 16:31:36 -07:00
Nick Thompson
cad34ff756
First pass at a Catmull-Rom curve interpolator.
2017-12-21 16:12:24 -07:00
Nick Thompson
387e0db3e1
Link pthreads on linux.
2017-12-20 12:35:19 -07:00
pabristow
eff8ec3c74
Tidy before getting uptodate with develop branch
2017-12-07 16:44:33 +00:00
jzmaddock
15a1156b4c
Math.Hypergeometric_1F1: Update tests for small random values, fix resulting errors.
2017-12-02 19:10:50 +00:00
Nick Thompson
d53284370a
Use ADL to green some more builds. Add requirements to build on Chebyshev transform.
2017-11-29 15:09:20 -07:00
Nick Thompson
401e353385
Hopefully get a few more builds green; eliminate compiler warnings.
2017-11-28 08:41:23 -06:00
Nick Thompson
e83284d482
Add more feature flags. Think I still need to link pthread.
2017-11-27 22:40:28 -06:00
Nick Thompson
870b003fd3
Add requires cxx11_* to unit tests.
2017-11-27 15:52:50 -06:00
Nick Thompson
736cc6e7a3
Fix typo and hopefully build.
2017-11-27 14:33:37 -06:00
pabristow
66067c3b6b
Added include to test_value to ensure that when used standalone with GCC that supports suffix Q, multiprecision float128 is included.
2017-11-24 16:53:18 +00:00
Nick Thompson
57ba888a50
Unit test variance.
2017-11-23 14:18:05 -07:00
Nick Thompson
773076475c
Fix exception safety in threads.
2017-11-23 10:53:35 -07:00
Nick Thompson
a0e9b34d06
Atomic long doubles don't link with gcc 7.1
2017-11-22 11:08:17 -07:00
Nick Thompson
67578ce12b
Naive Monte-Carlo integration. Still needs to handle exceptions in threads.
2017-11-21 18:49:14 -07:00
pabristow
9b9414c256
numerous minor fixes for JM 1st comments on docs 19Nov17
2017-11-20 17:03:29 +00:00
jzmaddock
be326922dc
Math: add start of 1F1 implementation.
2017-11-19 11:58:26 +00:00
pabristow
80b4bf3bef
Change to jamfile
2017-11-18 12:02:51 +00:00
pabristow
21ccf8b183
More testing near zero and some typos fixed.
2017-11-17 17:57:45 +00:00
pabristow
6aa9f286ff
Tests OK, including multiprecision.
2017-11-16 17:58:59 +00:00
jzmaddock
587f2d8918
Math.Hypergeometric: Add 2F0 function and tests.
...
Also fix a couple of warnings in test_data.hpp, and improve the continued fraction form in 0F1.
2017-11-15 18:27:35 +00:00
jzmaddock
1783c3a74c
Math: Fix inspection report errors.
2017-11-09 19:39:32 +00:00
pabristow
89ae728836
added graphs and updated docs to use them.
2017-11-06 17:18:33 +00:00
pabristow
3c3c91709f
w-1 branch improvements and tests OK
2017-11-02 18:47:30 +00:00
jzmaddock
772efdb32b
Math.Quaternion: Add workarounds for older msvc versions.
2017-11-02 11:02:37 +00:00
jzmaddock
7c9f95fdac
Math.Quaternion: We need libquadmath when available on the link line.
2017-11-02 10:14:40 +00:00
jzmaddock
47fa45bee4
Import SOC headers, Test and fix up 1F0 and 0F1.
2017-10-29 19:33:39 +00:00
pabristow
04121d2872
Lambert w for huge z added, and test and more docs
2017-10-28 19:13:58 +01:00
pabristow
f51d987acd
added much on W-1 branch (handling tiny z), and more docs.
2017-10-27 18:18:06 +01:00
pabristow
d01d0c4eb8
Working version with C array of precomputed lookup tables, but still inline inside
2017-10-13 09:43:39 +01:00
pabristow
dd06d2beae
100 decimal digit precision values and tests OK.
2017-10-10 15:13:49 +01:00
jzmaddock
cba26dfeca
Math.Quaternion: add missing test file.
2017-10-07 08:06:17 +01:00
jzmaddock
97f61f0020
Math.Quaternion: Add workarounds for older compilers and fix up constexpr support.
2017-10-06 19:22:45 +01:00
jzmaddock
94e92dc5f4
Math.Quaternion: add swap method.
2017-10-05 18:12:24 +01:00
jzmaddock
601ee6e00f
Math.Quaternion: Rewrite test program, mostly remove valarray usage from header.
2017-10-05 12:50:24 +01:00
John Maddock
2eabd87de1
Math.Chebyshev: Fix up chebeshev_transform for more types.
2017-09-21 19:13:36 +01:00
jzmaddock
9ee7a93678
Math.Chebyshev: Modify chebyshev_transform to dispatch to correct fftw3 functions.
...
Begin to hook up fftw3 tests.
2017-09-21 13:40:23 +01:00
jzmaddock
a1c18789a0
Math.chebyshev: Hook up conceptual tests and fix resulting errors.
2017-09-21 11:52:59 +01:00
jzmaddock
c7f243239e
Math.chebyshev: Backport to C++03.
2017-09-20 19:07:17 +01:00
jzmaddock
a2da7915ae
Math.Chebyshev: include PCH header, and correct linker options in Jamfile.v2
...
Also fix some warnings from the test cases and increase the error tolerances for type float.
2017-09-20 18:25:07 +01:00
jzmaddock
82392e3e0c
Merge branch 'develop' into chebyshev
2017-09-20 17:59:38 +01:00
Nick Thompson
956864cbd5
Recurse when grid isn't sufficiently refined. Optimization potential exists by reusing function evaluations.
2017-09-17 21:16:48 -06:00
Nick Thompson
2cb935ec17
Use std::enable_if to obviate the need for C++17 if constexpr.
2017-09-17 16:23:50 -06:00
Nick Thompson
0acb51b78d
Linear time and numerically stable evaluation of derivative of Chebyshev series by a modified Clenshaw recurrence.
2017-09-17 14:02:43 -06:00
Nick Thompson
fe5d59d0f1
Split tests into FFTW-dependent and FFTW-independent. Improve documentation to the extent feasible.
2017-09-16 19:58:59 -06:00
Nick Thompson
cb470280ba
Chebyshev transform
2017-09-13 17:51:50 -06:00
jzmaddock
5755e1d37e
Merge pull request #87 from boostorg/gauss
...
Merge Gauss Kronrod code into develop.
2017-09-13 16:57:06 +01:00
jzmaddock
c5decc566e
quadrature: split up some more tests they the object files aren't too large on win x64.
2017-09-11 13:05:49 +01:00
jzmaddock
9c6b144082
Quadrature: Disable gauss concept checks in C++03
2017-09-11 12:06:50 +01:00
jzmaddock
646c67d0d9
Remove C++14'isms that crept into tests.
2017-09-07 19:05:36 +01:00
jzmaddock
4c0bec596c
Remove dead files.
2017-09-06 19:56:15 +01:00
jzmaddock
d9893f5e01
Quadrature: update conceptual tests for Gauss (Kronrod) quadrature.
2017-09-06 19:53:10 +01:00
jzmaddock
e09ad4c3aa
Quadrature: finish off Gauss and Gauss-Kronrod integration code and tests.
2017-09-06 18:03:15 +01:00
jzmaddock
7d2002db80
Quadrature: add gauss and gauss-kronrod quadrature.
2017-08-31 19:42:26 +01:00
pabristow
c1b8ffec7c
Needed to merge?
2017-08-31 12:50:11 +01:00
pabristow
c408d7ec1c
Restored test_out_of_range to original location as is used by other tests
2017-08-29 17:03:06 +01:00
pabristow
34fd59c372
students t allowing df and x infinite
2017-08-29 15:24:45 +01:00
jzmaddock
e7e915816f
Merge branch 'gauss_konrod' of https://github.com/NAThompson/math into gauss
...
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2017-08-24 11:47:26 +01:00
jzmaddock
f301e2a197
Merge pull request #72 from boostorg/pr66
...
PR66: Moved to here for integration testing.
2017-08-23 18:47:46 +01:00
jzmaddock
532f873cbc
Add missing polynomial_concept_check.cpp.
2017-08-22 08:04:53 +01:00
jzmaddock
be90278cb8
Quadrature: address more vc12 x64 failures.
2017-08-21 13:36:08 +01:00
jzmaddock
f6495af64c
Polynomial: more simplifications and modernizations.
...
Also update msvc performance results.
2017-08-21 13:15:39 +01:00
jzmaddock
58247a32d7
quadrature: deal with another vc12 x64 failure.
2017-08-20 08:30:35 +01:00
jzmaddock
9aa555a189
Quadrature: More fixes for VC12 test failures.
...
Comment: std::exp(x) returns NaN or similar for x large and negative on this platform instead of the expected 0.
2017-08-19 18:41:09 +01:00
jzmaddock
8aaf2d5e43
Quadrature: Fix error in test case.
2017-08-19 12:47:34 +01:00
jzmaddock
b15addd7b7
Quadrature: more tentative fixes for CI failures.
2017-08-18 18:25:21 +01:00
jzmaddock
307fd76013
quadrature: address msvc CI failures.
2017-08-17 20:18:08 +01:00
jzmaddock
98fe2e4581
Quadrature: add alternate forms of some of the problematic CRC test integrals.
2017-08-14 19:39:11 +01:00
pabristow
26aea4e7df
Big refactor JM small_z and tag_type select code
2017-08-10 17:49:17 +01:00
jzmaddock
68c80b5fc8
Merge branch 'pr66' of https://github.com/NAThompson/math into pr66_78
...
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2017-08-09 18:02:36 +01:00
jzmaddock
3770719aff
Quadrature: Remove the minimum levels requirement on tanh_sinh.
2017-08-07 19:04:42 +01:00
jzmaddock
1225612a28
quadrature: Remove unneeded test case, adjust one error rate, and finally silence some warnings.
2017-08-06 12:50:53 +01:00
jzmaddock
2fb22a46ad
Tentative fix for CI failures:
...
std lib installed does not support C++14 and clang, so try C++11.
Suppress internal compiler error with gcc (can not reproduce locally).
2017-08-04 16:48:44 +01:00
jzmaddock
8799d16502
quadrature: Fix some test failures, by breaking up the tests more and fixing the test requirements.
2017-07-25 19:33:49 +01:00
jzmaddock
c3eb9e73d9
quadrature: move the tolerance into the integrate method from the constructor.
...
Since nothing in the constructor depends on the tolerance, and we may wish to use different integration tolerances with the same integrator object.
Update the tests to match the new interface. Also add "direct" integration methods which do not adapt the range at all, but assume that we are using the integrators native range.
2017-07-25 18:26:21 +01:00
jzmaddock
5186181a96
exp_sinh: Fix failing gcc test.
2017-07-23 19:26:23 +01:00
jzmaddock
84ddab0e11
sinh_sinh: archive coefficient generation code.
2017-07-23 18:54:10 +01:00
jzmaddock
03b494abca
exp_sinh: Archive coefficient generation code.
2017-07-23 17:06:14 +01:00
jzmaddock
397d8ce9c9
exp_sinh: add support for pre-computed constants.
2017-07-20 19:55:44 +01:00
jzmaddock
a9b8ac9dad
tanh_sinh: Archive constant generating code.
2017-07-20 19:55:18 +01:00
jzmaddock
eb18bcd5aa
tanh_sinh: add some missing using declarations.
2017-07-18 18:34:51 +01:00
jzmaddock
d01778ed00
tanh_sinh: Fix a couple of test failures.
2017-07-17 19:41:15 +01:00
jzmaddock
6259b8c795
tanh_sinh: add support for 2 arg user functions.
...
Update tests accordingly and get everything passing locally.
2017-07-16 19:18:20 +01:00
jzmaddock
4984809487
tanh_sinh: Add support for a minimum complement value,
...
so we can prune the table size when going to extreme ends of the range isn't required.
2017-07-15 16:47:55 +01:00
jzmaddock
21b00bba62
Merge branch 'develop' into pr66
...
Fixed Conflicts:
test/Jamfile.v2
2017-07-15 16:06:27 +01:00
jzmaddock
80125ffb2c
tanh_sinh: Hook up infinite limits code to use the available complements of abscissa values where appropriate.
2017-07-12 19:17:29 +01:00
jzmaddock
1f45483ec1
Fix lambda expressions to be expression-template safe.
2017-07-11 18:45:59 +01:00
jzmaddock
4a5871ac71
tanh_sinh: Rework base class to cache refinements on demand.
2017-07-10 17:07:23 +01:00
jzmaddock
18938213e7
tanh_sinh: begin transforming code to calculate and store complements of abscissa values,
...
and use these in the range transformations so that there is no cancellation error when transforming to an abscissa value very close to zero.
2017-07-09 18:22:21 +01:00
jzmaddock
e9356e3c7b
Add dummy test case to test_polynomial.cpp...
...
so that Boost.Test also has something to test even when everything is #ifdef'ed out.
2017-06-30 19:25:16 +01:00
jzmaddock
9651db9ea7
Rework Jamfiles to make them easier to maintain,
...
also added examples to CI testing.
2017-06-29 18:27:26 +01:00
jzmaddock
6928324e4f
Fix Jamfile aliases.
2017-06-29 11:18:26 +01:00
jzmaddock
03d3adb050
Split test_polynomial.cpp up to make testing easier and object files smaller.
2017-06-28 18:36:31 +01:00
jzmaddock
2e6c9ca2b0
test_zeta.cpp: Need to set overflow policy even when pch is off.
2017-06-27 17:51:02 +01:00
jzmaddock
f1a324d7ff
Quadrature: add cpp_dec_float exp_sinh test to Jamfile.v2
2017-06-26 09:03:41 +01:00
jzmaddock
8b40c2cbb1
quadrature: Fix cpp_dec_float tests.
2017-06-26 09:02:09 +01:00
jzmaddock
6f96c8b229
quadrature: Get tests clean with older compilers.
...
Also make tanh_sinh constants static members since they're constants.
2017-06-25 11:44:08 +01:00
jzmaddock
040feb0240
Get the tests hooked up and working with a variety of compilers.
2017-06-24 09:48:32 +01:00
pabristow
555e0f416b
commit merge from develop
2017-06-22 17:05:02 +01:00
jzmaddock
b55167446f
Quadrature: Policify the code,
...
Make tanh_sinh quadrature arbitrary precision.
Rework tests so the object files are not so large.
Added some more example integrals to the tanh_sinh tests.
2017-06-21 18:29:46 +01:00
jzmaddock
5e3fd1574e
Merge branch 'double_exponential' of https://github.com/NAThompson/math into pr66
2017-06-17 18:10:25 +01:00
jzmaddock
9a8324c989
Merge pull request #71 from boostorg/pr65
...
PR based on #65 prepared for CI testing
2017-06-17 09:02:56 +01:00
jzmaddock
fdd959a32f
Merge branch 'cleanup' of https://github.com/NAThompson/math into pr65.
...
Also made a couple of minor modifications.
2017-06-16 19:35:13 +01:00
jzmaddock
34d413e830
trapezoidal: More fixes prior to merging:
...
Add new documentation section for integrators.
Remove isfinite from std_real_concept.hpp - it's not part of our conceptual requirements.
Add workarounds for older compilers that can't handle the default arguments to the function.
Restrict testing test_trapezoidal.cpp to compilers that handle lambdas.
Make the concept checks C++03.
Make test_trapezoidal.cpp compile with VC11's broken lambda support.
2017-06-16 18:13:42 +01:00
jzmaddock
f435cd3451
Bring trapezoidal.hpp more into line with the rest of Boost.Math:
...
Add policy support for error handling and epsilon.
Fix some warnings in the test case (msvc).
2017-06-15 19:14:31 +01:00
jzmaddock
a8bb78d25b
Merge branch 'romberg' of https://github.com/NAThompson/math into pr59
...
# Resolved Conflicts:
# test/Jamfile.v2
2017-06-15 18:26:48 +01:00
jzmaddock
b974a17ea8
add missing test file.
2017-06-10 11:43:57 +01:00
jzmaddock
9b2f878103
Update next.hpp and ulp.hpp to work with decimal types.
2017-06-10 11:11:58 +01:00
jzmaddock
a2cef181a8
test_barycentric_rational.cpp: switch to deterministic testing.
...
Previous code used random_device which would occasionally generate test sets with higher than expected error rates, this way we have something consistent to CI test against.
2017-06-08 08:48:57 +01:00
jzmaddock
d2f6525530
Increase tolerance in test_barycentric_rational.cpp
...
Test occasionally fails with msvc.
2017-06-07 17:41:15 +01:00
jzmaddock
540c93c542
CI: Fix more testing configuration issues.
...
* Disable testing the old mingw32 - it's too broken.
* Add feature dependency checks for new C++11 tests.
* Disable some tests that generate too large object files.
2017-06-05 09:32:00 +01:00
jzmaddock
1cf0598c54
Fix missing ) in pp-logic.
2017-06-04 19:33:59 +01:00
jzmaddock
5aa0fc1ec4
CI: Address CI failures and miss-configurations.
...
* Disable one concept check for gcc 6.2 which generates an internal compiler error.
* Increase expected error rate on one barycentric test - it was too tight to test on some platforms.
* Fix some __float128 miss-configurations.
2017-06-04 17:29:44 +01:00
jzmaddock
5c3624c0b8
Address CI failures:
...
* Fix bjam command line in appveyor file.
* Fix assertions triggered in bessel_i0.hpp.
* Remove common factor testing - it's moved to integer.
* Add lots of additional {} in initializers to silence clang warnings.
2017-06-04 13:12:33 +01:00
jzmaddock
1e03ffc53b
Split tests up for easier CI testing.
2017-06-03 13:14:25 +01:00
jzmaddock
0242c64eec
float_distance: Fix cases that span several orders of magnitude.
...
Add more tests.
See https://github.com/boostorg/multiprecision/issues/22 .
2017-06-02 19:40:52 +01:00
Nick Thompson
23403b61a1
Add concept test and include test.
2017-05-18 19:02:29 -06:00
Nick Thompson
a980bd8af3
Add concept and include test.
2017-05-18 18:23:01 -06:00
Nick
1753d6e9e4
Merge branch 'develop' into romberg
2017-05-18 17:34:52 -06:00
Nick Thompson
7660162d41
Add concept and include test.
2017-05-18 17:33:45 -06:00
John Maddock
0812745b14
Add -lquadmath to barycentric rational tests
2017-05-12 10:21:39 +01:00
Nick Thompson
78409954f2
Use quadrature namespace. Add example.
2017-05-11 21:51:35 -06:00
Nick Thompson
4801e2d8bf
Add namespace boost::math::quadrature. Remove throw when condition number of summation exceeds precision of type; how to properly mollify the condition number is not clear and should be done consistently rather than ad-hoc.
2017-05-11 21:03:00 -06:00
Nick Thompson
3bfeee838d
Double exponential quadrature.
2017-05-10 22:03:21 -06:00
pabristow
369ce4312b
Halley/Luu version working for 50 decimal digits 'reference' test values.
2017-05-10 18:21:35 +01:00
jzmaddock
47a126c938
Legendre-Stieltjes: Disable tests in C++03 mode which would fail.
2017-05-10 18:11:37 +01:00
jzmaddock
5db9e8870b
Legendre_stieltjes: hook up tests.
...
Add concept checks.
Fix some warnings, and reduce dependencies.
2017-05-09 19:13:44 +01:00
jzmaddock
83891e2b79
Merge branch 'legendre_stieltjes' of https://github.com/NAThompson/math into stieltjes
2017-05-09 18:36:53 +01:00
jzmaddock
0e4c9ce418
Merge branch 'legendre_prime' into develop
2017-05-09 12:37:52 +01:00
jzmaddock
27ded3276d
Remove C++11 isms from, legendre_prime header and tests - we don't want to break existing C++03 code using that header.
2017-05-09 12:18:43 +01:00
jzmaddock
97a4184df9
Hook up concept checks for legendre_p_prime.
...
Fix errors from above, add domain-error handling to the function.
2017-05-08 19:47:02 +01:00
jzmaddock
150a0b5afa
Merge branch 'legendre_derivatives' of https://github.com/NAThompson/math into legrende_prime
...
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2017-05-08 19:14:16 +01:00
John Maddock
72a757d770
Fix non C++11 compiler failures, plus some other build/test related issues on interpolator code
2017-05-07 08:52:04 +01:00
jzmaddock
87ab68456d
Improve interpolator documentation and examples.
2017-05-06 12:26:37 +01:00
jzmaddock
6e8687812f
Add concept checks for barycentric_rational.
2017-05-05 13:12:25 +01:00
jzmaddock
80e7f7027c
Merge branch 'barycentric' of https://github.com/NAThompson/math into interpolate_rat
...
Fix some msvc failures.
Suppress some compiler warnings.
Added iterator based constructor.
Moved docs to better position.
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2017-05-05 13:01:56 +01:00
jzmaddock
9c5604eec5
Add interpolation examples and tests to Jamfiles.
2017-05-04 13:19:09 +01:00
jzmaddock
adc2234d95
Merge branch 'barycentric' of https://github.com/NAThompson/math into interpolate_rat
...
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2017-05-04 13:18:05 +01:00
John Maddock
6afcd60c81
Bring gcd/lcm tests into line with the inteter versions.
2017-05-04 11:22:18 +01:00
John Maddock
4a569bf1c4
Fix header order include so that ADL works
2017-05-04 11:17:11 +01:00
John Maddock
7fab3cbb0e
change namespace for gcd/lcm test
2017-05-04 11:11:12 +01:00
Nick Thompson
bcff4eae78
Remove unused variables, variables set but unused, set floating point number that would flush to zero to identically zero.
2017-05-03 15:30:24 -06:00
Nick Thompson
cf35d745d1
Remove unused typedef. Fix dangling reference to policy in airy. Pipe unused variables in compile test to /dev/null to suppress compiler warnings. Remove comment within comment.
2017-05-03 10:13:18 -06:00
jzmaddock
b9362cb000
Add concept checks for cubic-spline code, and fix resulting errors.
2017-05-03 13:32:53 +01:00
jzmaddock
127178518d
Add iterator based construction to cubic B spline.
2017-05-03 13:07:54 +01:00
Nick Thompson
45226c7ef1
Numerical differentiation by finite differences and the complex step derivative.
2017-05-02 18:29:03 -06:00
jzmaddock
9dd532e01a
Merge branch 'develop' of https://github.com/NAThompson/math into interpolate
2017-05-02 19:30:31 +01:00
jzmaddock
6407bedb75
Bring polynomial gcd into line with new Boost.Integer code, and improve tests.
2017-05-02 19:12:18 +01:00
Nick Thompson
48a0cf714b
Put license information in each file. Do not throw when condition number is approaching an undefined value; use mollification. Improve documentation.
2017-05-02 12:02:02 -06:00
jzmaddock
8b55166363
Bring tests into line with new Boost.Integer gcd/lcm.
2017-05-02 18:50:00 +01:00
Nick Thompson
4632cb1169
Remove typos in documentation. Remove hacks for float128 in unit tests.
2017-05-02 10:33:36 -06:00
Nick Thompson
2bbadc69fb
Place copyright notices in file.
2017-05-01 18:36:26 -06:00
Nick Thompson
4b4c4e9364
Legendre-Stieltjes polynomials.
2017-04-30 15:58:10 -06:00
jzmaddock
ceae76a526
Switch to using Boost.Integer gcd/lcm.
2017-04-24 19:26:23 +01:00
Nick Thompson
a918d0f331
Return all zeros of the Legendre polynomial at once; there seems to be no benefit to having the user calculate them one at a time.
2017-04-22 15:47:22 -05:00
jzmaddock
fafda3176c
Fix gcd tests and code for clang on Linux
2017-04-20 14:43:28 +01:00
jzmaddock
82e3949024
GCD: Don't enable variadics unless the compiler supports them.
...
Update docs.
Escape from variadic GCD early when the result hits unity.
2017-04-15 18:31:01 +01:00
jzmaddock
c1ab95b6cc
Add rational and multiprecision types to common_factor_test.cpp.
...
Disable rational overloads if there is no numeric_limits support as boost::rational won't compile in that case anyway.
2017-04-15 18:13:30 +01:00
Nick Thompson
4110a69416
Zeros of Legendre polynomials. This uses a root bracketing given by Szego with an asymptotic by Tricomi to get a domain and an initial guess for the root, then refines it via Newton's method.
2017-04-14 15:51:39 -05:00
Nick Thompson
21bcf34a51
Derivative of Legendre polynomials of the first kind. Used to generate the weights of Gaussian quadratures.
2017-04-12 14:16:26 -05:00
jzmaddock
f74da283aa
Add variadic gcd and lcm variations, update tests to match.
2017-04-08 19:42:33 +01:00
jzmaddock
141fcf0b15
Disable test case which invokes undefined behaviour
2017-04-06 11:34:08 +01:00
jzmaddock
7795ad3fd1
Merge branch 'gcd_polynomial' into gcd_cpp14
2017-04-06 11:28:32 +01:00
jzmaddock
9d0dac1df9
gcd: add the function objects back.
...
Improve the gcd/lcm tests.
2017-04-04 18:29:45 +01:00
jzmaddock
e4c0fdb0f2
Make gcd/lcm independent of type_traits and mpl.
...
Later we'll try and reconcile this version with that in Boost.Integer.
2017-04-02 20:10:46 +01:00
Nick Thompson
fff12aa16b
Improve documentation for trapezoidal quadrature, explaining the role of the L1 norm calculation. Throw correct error type.
2017-03-28 13:56:18 -05:00
Nick Thompson
9f58f0d337
Add facility to check L1 norm and hence condition number of the quadrature sum. Throw when condition number exceeds the number of significant digits of the type.
2017-03-26 13:45:50 -05:00
pabristow
c5ee664a51
Refactored with policies and passes tests and timing.
2017-03-23 14:15:37 +00:00
pabristow
bdee37743d
Bug in values near to -exp(-1) corrected.
2017-03-13 10:03:33 +00:00
pabristow
0048d41dd6
Added new constants expminusone and sixth
2017-03-10 13:06:44 +00:00
pabristow
cea2465e3e
Need expminusone constant
2017-03-06 18:23:54 +00:00
pabristow
94d3cf4043
refactored to use local test_value.hpp
2017-03-06 18:10:52 +00:00
Nick Thompson
4efe710855
Add tests detailing the use cases which make it difficult to use std::unique_ptr for pimpl idiom. Also, test that evaluating the spline outside the interpolation region succeeds as best it can.
2017-03-06 11:12:51 -06:00
Nick Thompson
136e7411f5
Adaptive Trapezoidal Quadrature
...
This routine estimates the definite integral of a function f.
Assuming that f is periodic, it can be shown that this routine converges exponentially fast.
In fact, the test cases given exhibit exponential convergence with decreasing stepsize.
A potential improvement is using the Bulirsch sequence rather than the Romberg sequence to schedule the refinements.
However, the convergence is so rapid for functions of the class specified above that there seems to be no need at present.
This code is cppcheck clean, and runs successfully under AddressSanitizer and UndefinedBehaviorSanitizer.
2017-03-05 19:05:41 -06:00
Nick Thompson
2506d7ed1f
Use PIMPL so that the interpolant can be passed as a functor.
2017-03-02 17:16:21 -06:00
Nick Thompson
2b9d88d352
Fixes suggested by code review of PR #57 .
2017-03-02 11:54:55 -06:00
Nick Thompson
fee20ab932
Given a function f, known at evenly spaced samples y_j = f(a + jh),
...
this function constructs an interpolant using compactly supported cubic b splines.
The advantage of using splines of compact support over traditional cubic splines
is that compact support makes the splines well-conditioned.
The interpolant is constructed in O(N) time and can be evaluated in constant time.
Its error is O(h^4), and obeys the interpolating condition s(x_j) = f(x_j) for all samples.
In addition, f' can be estimated from s', albeit with lower accuracy.
This routine is cppcheck clean, and is clean under AddressSanitizer and MemorySanitizer.
2017-02-23 18:21:06 -06:00
jzmaddock
8507da5a59
Fix construct from floating point create_test_value overload.
2017-01-03 18:56:42 +00:00
pabristow
eb2707e8b0
Failed attempts to get create_test_value to work.
2017-01-02 18:31:16 +00:00
pabristow
ffb025ca2c
First very rough prototype of Lambert W function, example of calculating diode current versus voltage, and some tests, including multiprecision and fixed_point types. Not yet using policies and trouble near the singularity at z=-exp(-1) and large z.
2016-12-22 18:30:27 +00:00
jzmaddock
383c024400
Fix missing arguments.
2016-10-29 17:58:22 +01:00
jzmaddock
3370ea2f79
Add missing #include.
...
Fixes https://svn.boost.org/trac/boost/ticket/12537 .
2016-10-19 19:27:37 +01:00
jzmaddock
4787d870c6
Suppress some msvc warnings.
2016-10-19 19:22:37 +01:00
jzmaddock
f888dcb129
Including polynomial.hpp should get the gcd overloads as well.
2016-08-26 18:32:27 +01:00
Jeremy W. Murphy
64c887a3c9
Add overload of gcd() for polynomials with multi-precision integral coeffs.
...
And add a unit test to show that it works.
2016-08-25 23:02:03 +10:00
Jeremy W. Murphy
783dc6af46
Merge branch 'develop' into polynomial_ufd_gcd
2016-08-25 22:08:48 +10:00
inkstink
dd6ac8f9da
typos
2016-08-19 20:47:49 -04:00
inkstink
c9d9f446c5
fixed typos for real this time
2016-08-19 20:42:14 -04:00
inkstink
950d3990e4
fixed typos
2016-08-19 20:33:24 -04:00
jzmaddock
5d48124b80
Adjust Intel C++ error rates.
2016-08-10 18:52:26 +01:00
jzmaddock
a74dca9089
Merge branch 'develop' of https://github.com/boostorg/math into develop
2016-07-22 09:28:45 +01:00
jzmaddock
d3a570e91a
Fix Intel C++ test failures
2016-07-22 09:27:15 +01:00
John Maddock
48a2c84843
Fix expected error rates for Oracle C++ on Solaris
2016-07-19 17:54:30 +00:00
Jeremy W. Murphy
f04643225a
Define large integral test types for subresultant_gcd unit test.
2016-07-15 23:08:44 +10:00
Jeremy W. Murphy
2e024bd02d
Merge branch 'polynomial_ufd_gcd' into polynomial_ufd_gcd_2
...
# Conflicts:
# test/test_polynomial.cpp
2016-07-15 18:46:35 +10:00
Jeremy W. Murphy
579d6681bc
Merge branch 'develop' into HEAD
...
# Conflicts:
# test/test_polynomial.cpp
2016-07-15 18:42:53 +10:00
Jeremy W. Murphy
ce1d534414
Add case for zero to leading_coefficient and unit test.
2016-07-15 18:12:51 +10:00
Jeremy W. Murphy
208bd598e3
Tweak comment about normalization of result.
2016-07-15 18:05:31 +10:00
Jeremy W. Murphy
5ffcca3998
Remove Euclidean_gcd test; it's not relevant to this PR.
2016-07-15 18:05:14 +10:00
Jeremy W. Murphy
a27c8d5ad2
Consolidate merge further; test subresultant instead of Stein algorithm.
2016-07-15 18:00:06 +10:00
jzmaddock
94d81d96ce
Stop testing details that have been removed
2016-07-15 02:14:38 +01:00
jzmaddock
9127a2f707
Merge branch 'develop' of https://github.com/boostorg/math into develop
2016-07-15 01:31:17 +01:00
jzmaddock
12feba86fa
Remove references to removed gcd/lcd code.
2016-07-15 18:36:55 +01:00
jzmaddock
cbb0cce89b
Disable initializer_list support for GCC-4.4 as it doesn't fully support the new syntax and there appears to be no workaround.
2016-07-15 01:24:18 +01:00
Jeremy W. Murphy
6cf88b589e
Grab test fixtures from another branch.
2016-07-14 18:38:38 +10:00
jzmaddock
2934670e51
Disable some tests for older msvc compilers.
2016-07-11 18:31:51 +01:00
Jeremy W. Murphy
6f5537d273
[polynomial] Move gcd code into a new file.
2016-06-20 09:58:39 +10:00
Jeremy W. Murphy
95d4976b86
[polynomial] Rename gcd_ufd to subresultant_gcd.
2016-06-19 15:37:42 +10:00
Jeremy W. Murphy
412f881740
[polynomial] Add more unit tests for gcd_ufd.
...
Also, remove short from the list of integral types tested because the
particular values tested in gcd_ufd require larger intermediate values.
2016-06-18 21:46:47 +10:00
Jeremy W. Murphy
7c705d6f10
[polynomial] Remove superfluous typedefs in unit test.
2016-06-17 23:14:22 +10:00
Jeremy W. Murphy
48e856cf34
Merge branch 'develop' into polynomial_ufd_gcd
2016-06-16 23:21:48 +10:00
jzmaddock
e4cd194686
Fix misc clang issues
2016-06-04 19:26:59 +01:00
jzmaddock
1cb146a001
Merge branch 'develop' of https://github.com/boostorg/math into develop
2016-05-31 13:36:01 +01:00
jzmaddock
8cb9be7699
Change test data so it always uses the SC_ macro:
...
it helps multiprecision tests, and in particular allows us to test types whose precision varies at runtime.
2016-05-31 13:35:37 +01:00
Jeremy W. Murphy
d922f95fd5
Merge branch 'develop' into polynomial_ufd_gcd
...
# Conflicts:
# include/boost/math/tools/polynomial.hpp
# test/test_polynomial.cpp
2016-05-16 09:48:15 +10:00
Jeremy W. Murphy
94526e54c7
Merge branch 'develop' into polynomial_zero
...
# Conflicts:
# test/test_polynomial.cpp
2016-05-15 21:03:12 +10:00
Kolya Matteo
42249f03e7
Simplify one and zero polynomial declarations
2016-05-13 09:06:36 -04:00
Jeremy W. Murphy
e608dc6657
Rename clear() to set_zero().
2016-05-13 18:27:31 +10:00
Kolya Matteo
c7d7a0ce6e
Add unit tests for polynomial pow
2016-05-11 15:05:13 -04:00
Jeremy W. Murphy
a737a3f5c2
operator bool() and clear(): test for zero and set to zero respectively.
...
Checking for zero or non-zero and setting to zero are common operations,
so fast implementations
2016-05-11 14:02:16 +10:00
jzmaddock
bea587f3fd
Merge branch 'gcd_n' of https://github.com/jeremy-murphy/math into develop
...
# Resolved Conflicts:
# include/boost/math/common_factor_rt.hpp
# test/test_gcd.cpp
2016-05-09 18:59:17 +01:00
jzmaddock
c9bf1df944
Merge branch 'polynomial_shift' of https://github.com/jeremy-murphy/math into develop
...
# Resolved Conflicts:
# test/test_polynomial.cpp
2016-05-09 18:29:22 +01:00
jzmaddock
cace9b59de
Merge branch 'gcd' into develop
...
# Resolved Conflicts:
# test/test_polynomial.cpp
2016-05-09 18:15:54 +01:00
jzmaddock
c5084fc77e
Add complex and polynomial test cases.
2016-05-08 16:54:24 +01:00
jzmaddock
b953a8cad6
Add better error handling tests.
2016-05-07 18:45:51 +01:00
Jeremy W. Murphy
a56745b479
Merge branch 'develop' into polynomial_ufd_gcd
...
# Conflicts:
# test/test_polynomial.cpp
2016-05-07 18:32:42 +10:00
Jeremy W. Murphy
a822400320
Merge branch 'develop' into polynomial_shift
...
# Conflicts:
# test/test_polynomial.cpp
2016-05-07 18:27:46 +10:00
Jeremy W. Murphy
e3101bc0eb
Return pair of <T, I> that includes the termination position.
2016-05-07 14:33:35 +10:00
Jeremy W. Murphy
ffd40ccb5f
Actually test n = 1 for gcd_range.
2016-05-07 11:01:57 +10:00
Jeremy W. Murphy
df8c6584dc
Rename gcd_n to gcd_range.
2016-05-07 10:58:43 +10:00
Kolya Matteo
3d3a1f8d2a
Add tests for polynomial normalization with initializer lists (so the highest-degree term is nonzero)
2016-05-02 14:06:18 -04:00
Kolya Matteo
ece2283833
Add polynomial self-multiply-assign test case
2016-05-02 13:46:06 -04:00
Jeremy W. Murphy
d484fa657c
Remove inferior generalized gcd; include integral size promotion.
2016-04-20 22:53:56 +10:00
Jeremy W. Murphy
dc81bc8e6e
Add 4.6.1E, generalized gcd.
...
Should be useful for cross-validating 4.6.1C.
2016-04-20 01:38:05 +10:00
Jeremy W. Murphy
4dc7c31f48
Extra test for gcd of polynomial over ufd. But is it correct?
2016-04-18 01:46:43 +10:00
Jeremy W. Murphy
aa19132d74
4.6.1C: Greatest common divisor over a unique factorization domain.
2016-04-17 14:21:01 +10:00
Jeremy W. Murphy
573b9fc399
content and primitive_part of a polynomial over a ufd.
2016-04-15 13:14:18 +10:00
Jeremy W. Murphy
03e71021ac
Unit test.
...
# Conflicts:
# include/boost/math/common_factor_rt.hpp
2016-04-15 07:20:15 +10:00
Jeremy W. Murphy
5b8c448ce0
gcd of n values.
2016-04-14 14:22:12 +10:00
Jeremy W. Murphy
e963c67af2
Normalize after left-shift assignment to prevent denormalized zeroes.
2016-04-10 01:27:36 +10:00
jzmaddock
e1dd0645a7
Improve gcd tests.
2016-04-06 18:02:39 +01:00
jzmaddock
11500b787b
Merge branch 'polynomial_shift' of https://github.com/jeremy-murphy/math into gcd
...
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2016-04-06 17:58:21 +01:00
jzmaddock
0940e7d1e6
Revert "Don't use a library when an object file will do."
...
This reverts commit 86f3ae5463
.
2016-04-04 12:55:17 +01:00
jzmaddock
86f3ae5463
Don't use a library when an object file will do.
2016-03-28 13:11:54 +01:00
Jeremy W. Murphy
238cd6078b
polynomial: odd/even predicates.
...
We use the definition of odd and even consistent with considering x as the
smallest prime factor. That is, an even polynomial has a constant of zero.
2016-03-28 16:04:27 +11:00
Jeremy W. Murphy
e9da8a10bf
polynomial: Left and right shift operators.
...
Shifting adds or removes a factor of x in the same way that shifting adds
or removes a factor of 2 to integers.
2016-03-27 22:03:33 +11:00
jzmaddock
8a32bac2c8
Merge pull request #25 from jeremy-murphy/gcd_unit_tests
...
Gcd unit tests
2016-03-09 18:51:25 +00:00
jzmaddock
65f7440c2f
Minor fixes for polynomial division:
...
* Use Boost.Config macros not direct checks on C++ version.
* Use dedicated integer power function - fixes VC10 build failure, also prevents loss of digits when integer type is wider than double.
2016-03-02 19:37:46 +00:00
Jeremy W. Murphy
c491caf93b
Test zero across all types too.
2016-03-02 14:24:41 +11:00
Jeremy W. Murphy
93a0ff967d
Use the strictly correct brace initializer_list construction.
2016-03-02 13:38:36 +11:00
Jeremy W. Murphy
94535a0c98
Add gcd unit tests to Jamfile.
2016-02-25 08:55:27 -08:00
Jeremy W. Murphy
48838637c4
Explicitly use gcd from Boost.Math, not multiprecision type's.
2016-02-25 08:55:11 -08:00
Jeremy W. Murphy
b86b89c8e2
Unit tests for gcd.
2016-02-11 09:36:32 +11:00
Jeremy W. Murphy
7969de6fae
Add C++11 initializer_list constructor and assignment to polynomial class.
2016-01-31 19:04:37 +11:00
Jeremy W. Murphy
0e4bfc9f8e
Test cpp_int, cpp_rational, cpp_bin_float_single and cpp_dec_float_50.
2016-01-16 14:54:00 +11:00
jzmaddock
c36506f852
Merge pull request #17 from jeremy-murphy/polynomial_division
...
Polynomial division
2015-12-13 12:06:00 +00:00
Jeremy W. Murphy
99e6e2c3cb
A better and more instructive unit test for gcd.
2015-12-11 11:58:33 +11:00
jzmaddock
61520b2ca4
adjust exepected error rate for Intel C++
2015-12-03 12:44:34 +00:00
Jeremy W. Murphy
c313aed73b
Explicitly cast right-hand argument to avoid MSVC C2666.
2015-11-28 09:00:21 +11:00
Jeremy W. Murphy
292bfc6752
Denormalize zero in multiplication to fit algorithmic requirements.
...
Fixes bug introduced by normalizing zero to the empty set.
2015-11-20 11:33:00 +11:00
Jeremy W. Murphy
e459241687
Use a different polynomial to test arithmetic relations.
...
This one appears to reveal a bug in operator *=.
2015-11-19 09:08:27 +11:00
Jeremy W. Murphy
e6e1e9440b
Make the single-argument constructor explicit.
...
Prevent unexpected conversion to polynomial!
2015-11-18 12:15:35 +11:00
Jeremy W. Murphy
cca7e08d3f
Make an explicit note of which unit tests currently fail.
2015-11-17 10:17:30 +11:00
Jeremy W. Murphy
87268a735a
Division of polynomials over integers.
...
Test int and double throughout most of test suite.
2015-11-16 00:41:37 +11:00
Jeremy W. Murphy
94e961ec7c
Division and modulus by a number.
...
Test that multiplication by 0.5 is equal to division by 2.
2015-11-09 00:43:29 +11:00
Jeremy Murphy
6ee7f90bf8
Typedef the coefficient type.
2015-11-04 20:15:38 +11:00
Jeremy W. Murphy
ac2943e053
Unit tests for arithmetic in general, especially for zero.
2015-11-03 23:59:29 +11:00
Jeremy W. Murphy
5cbeac0297
Update unit test; enable in Jamfile.
2015-11-01 16:11:53 +11:00
pabristow
57a71ba5f8
#11768 : Skewness formula for triangular distribution corrected, tests added and docs updated.
2015-10-29 18:19:46 +00:00
Jeremy W. Murphy
03de702ee5
Unit testing...
2015-10-28 22:27:13 +11:00
Jeremy W. Murphy
f8fc1e4e35
Start making a unit test.
2015-10-27 10:35:06 +11:00
jzmaddock
aaa8a36a7e
Fix some gcc-5.1.0 warnings
2015-09-24 11:12:11 +01:00
jzmaddock
3287c922ea
Fix some corner cases in the beta functions.
...
Add better tests for the incomplete beta derivative.
Update docs to match.
2015-09-11 12:02:04 +01:00
jzmaddock
ce198cefe8
Fix some inspection report failures.
2015-09-08 12:04:27 +01:00
jzmaddock
59a2bd5cb8
Remove the quaternion directory and move contents elsewhere.
2015-09-07 19:09:55 +01:00
jzmaddock
0f91c5aca0
Removed octonion sub-folder and moved contents elsewhere.
2015-09-07 18:57:03 +01:00
jzmaddock
0884d77285
Add missing file
2015-09-06 19:31:53 +01:00
jzmaddock
c6593b149b
Fix GCC test failures when building with -fno-exceptions.
2015-09-06 19:21:17 +01:00
jzmaddock
ba365b5aaa
Enable running of tests with exception handling off.
...
And fix a few bugs that showed up in the process.
Currently msvc-only (not GCC as Boost.Test doesn't build).
2015-09-05 19:08:28 +01:00
jzmaddock
a0f0b96921
Fix case where non-centrality parameter for chi-squared is zero.
...
See https://svn.boost.org/trac/boost/ticket/11557 .
2015-09-04 09:40:08 +01:00
jzmaddock
7dcabda78b
Merge branch 'accuracy' into develop
...
Conflicts:
test/float128/test_polygamma.cpp
test/powm1_sqrtp1m1_test.hpp
2015-09-03 09:12:11 +01:00
jzmaddock
b91bb896ee
Use BOOST_MATH_CONSTEXPR in test case to match header code.
2015-08-29 13:16:00 +01:00
jzmaddock
0971847993
Disable tests when not supported.
2015-08-29 13:15:38 +01:00
jzmaddock
8bf3f1dd86
Add missing file.
2015-08-28 12:59:08 +01:00
jzmaddock
57219acee9
Make more functions constexpr and noexcept.
2015-08-28 12:27:41 +01:00
jzmaddock
7419a04d63
Fix expected error rates
2015-08-24 13:11:01 +01:00
jzmaddock
00aa19e4a5
Fix ldexp call in test case.
2015-08-24 13:07:40 +01:00
jzmaddock
bbf8a7eb4e
Fix iostream usage.
2015-08-23 17:52:06 +01:00
jzmaddock
7744ccc92e
zero mean for inverse_gaussian isn't allowed.
2015-08-23 17:51:47 +01:00
jzmaddock
bf29ef6628
Begin marking up functions as constexpr and noexcept where possible.
2015-08-23 17:50:56 +01:00
jzmaddock
c3793dbff2
One more try to get powm1 accuracy down.
2015-08-02 18:26:47 +01:00
jzmaddock
a18661ad40
Tweak powm1 one more time near the boundary conditions.
2015-07-31 19:19:47 +01:00
jzmaddock
da958ee36a
Some more tweaks to powm1.
...
Plus some more tests.
2015-07-31 09:25:31 +01:00
jzmaddock
74b8427084
Fix domain_error for k==1.
2015-07-11 09:49:17 +01:00
jzmaddock
c6d9a4ed67
Update expected error rates for __float128 polygamma.
2015-07-10 19:50:42 +01:00
jzmaddock
bab82f2eb1
Correct overflow handling in bessel derivatives.
2015-07-10 19:50:05 +01:00
jzmaddock
53d8de84d4
Fix data declarations.
2015-07-06 19:04:38 +01:00
jzmaddock
d9dc112aee
Fix bug in ellint_2 for very small angles.
...
With thanks to Rocco Romeo.
2015-07-05 19:42:31 +01:00
jzmaddock
63d186ae46
Fix very large test values.
2015-07-03 19:49:59 +01:00
jzmaddock
6db20ce240
Add new tables to old docs. Tweak table formatting slightly.
2015-07-03 18:40:09 +01:00
jzmaddock
ed25ba9494
Fix regular tests to match revised test headers.
2015-07-02 19:17:16 +01:00
jzmaddock
3fce8f582d
Fix Rmath build failure.
2015-07-02 16:34:33 +01:00
jzmaddock
07dd9f3046
Add Rmath support.
2015-07-02 13:39:03 +01:00
jzmaddock
d1f38592a1
Disable erf tests when there's nothing to test.
2015-07-02 13:11:28 +01:00
jzmaddock
7f8912a342
Fix test for too small test values.
2015-07-01 18:13:11 +01:00
jzmaddock
008ed4d9b7
Add non central distributions to accuracy reporting.
2015-06-30 19:37:15 +01:00
jzmaddock
c65a0d0915
Add missing include.
2015-06-29 19:51:57 +01:00
jzmaddock
ac29480468
Add missing using statement.
2015-06-29 19:50:02 +01:00
jzmaddock
287247f929
Add missing include.
2015-06-29 19:48:41 +01:00
jzmaddock
704a5cd269
Need using statement.
2015-06-29 19:42:32 +01:00
jzmaddock
bac9466df0
Add some more functions to the tests.
2015-06-29 19:24:38 +01:00
jzmaddock
7d013c0a47
Fix description of ibeta.
2015-06-29 11:56:22 +01:00
jzmaddock
8c00c32ec7
Fix up GSL bindings.
2015-06-28 19:12:59 +01:00
jzmaddock
4d5e744fee
Remove old comparison code - it gets in the way.
2015-06-28 09:32:20 +01:00
jzmaddock
6f08fd9bf7
Hook up remaining error tests.
2015-06-27 18:40:22 +01:00
jzmaddock
ffe8189526
Add initial version of new improved error-reporting mechanism.
2015-06-25 11:35:06 +01:00
jzmaddock
ee2d3a68af
Oh my, fix lots of typos (search and replace).
2015-06-18 18:47:50 +01:00
jzmaddock
2c3388d1ef
Fix typo.
2015-06-18 18:45:39 +01:00
jzmaddock
4bb59fe9a0
Fix typo.
2015-06-18 18:44:45 +01:00
jzmaddock
c4fe57b431
Make tests easier to compile for multiprecision types.
2015-06-04 13:16:33 +01:00
jzmaddock
794ce195f3
Fix some test failures in non-C++11 mode.
2015-05-26 19:37:01 +01:00
jzmaddock
2a94e603e5
Add relative_difference tests.
...
And fix resulting issues.
2015-05-26 17:17:47 +01:00
jzmaddock
afc1237939
Stop using modfl on Mingw - it crashes!
2015-05-25 19:20:09 +01:00
jzmaddock
69b2524d13
Document ulp function.
...
Improve tests, and fix issues that show up.
2015-05-25 08:47:34 +01:00
jzmaddock
94b8195aad
Add ulp function.
...
Update tests for relative_difference etc.
Add new functions to math_fwd.hpp.
Add new functions to concept tests.
2015-05-24 12:01:06 +01:00
jzmaddock
7757d28a8a
Fix polygamma test case.
...
Some test values were not compatible with testing at float precision.
2015-05-23 17:48:09 +01:00
jzmaddock
74a42f98ea
Fix various typos.
...
Change Schroeder to Schroder.
2015-05-18 18:23:47 +01:00
jzmaddock
8aaf48ecaa
Add test case for root-finding.
...
Also fix missing using declaration in roots.hpp.
2015-05-14 19:02:40 +01:00
jzmaddock
0b166f37ab
Merge branch 'develop' into rooting
2015-05-11 19:08:00 +01:00
pabristow
e7ae689ea5
New sections of examples or cube, fifth, multiprecision and nth root finding, and comparison of timing and iterations.
2015-04-26 17:41:10 +01:00
pabristow
1f0552daea
merged develop into rooting and rebuilt html
2015-03-12 12:31:01 +00:00
jzmaddock
ec7a31e982
Merge branch 'carlson' into develop
2015-02-20 13:30:24 +00:00
jzmaddock
f9901d8429
Add missing tests.
2015-02-19 19:35:33 +00:00
jzmaddock
7fa11a133f
Add Heuman Lambda Function.
2015-02-19 19:33:56 +00:00
jzmaddock
072d6ef395
Add Jacobi Zeta Function.
2015-02-19 16:49:03 +00:00
jzmaddock
026d5d2ee2
Hook up a full set of tests for ellint_d.
2015-02-18 18:04:02 +00:00
jzmaddock
c1200bf7cd
Add initial version of Elliptic Integral D.
2015-02-17 19:03:50 +00:00
jzmaddock
bf3f5528eb
Merge branch 'carlson' into develop
2015-02-17 13:08:21 +00:00
jzmaddock
110a5327b2
Apply more special cases to RD and RG plus tests.
2015-02-15 18:48:33 +00:00
jzmaddock
cbb1d9cb5f
Add RF(x, y, 0) as a special case.
2015-02-15 11:34:44 +00:00
jzmaddock
545961746c
Fix for issue https://svn.boost.org/trac/boost/ticket/10938
2015-02-05 19:02:52 +00:00
jzmaddock
529190e194
Merge branch 'master' of https://github.com/alexhenrie/math into develop
2015-02-05 18:10:30 +00:00
Alex Henrie
a4664e00d5
Correct spelling of "suppress"
2015-01-30 15:28:30 -07:00
jzmaddock
63525295e4
[Carlson RG] Fix test failures and concept-checking failures.
2015-01-21 17:46:14 +00:00
jzmaddock
11d4d7eb11
[Carlson elliptic Integrals] Add ellint_rg plus tests.
2015-01-08 13:43:37 +00:00
jzmaddock
2ba0b25c16
[Carlson Elliptic Integrals] Fix #includes and conceptual errors. Tweak RD convergence and error rates.
2015-01-08 09:47:20 +00:00
jzmaddock
64bf08fce4
[Carlson Elliptic Integrals] Add special cases for RF.
2015-01-07 19:00:25 +00:00
jzmaddock
89fcff4266
[Carlson Elliptic Integrals] Update RD to use Carlson's latest methods. Add more RD test cases. Update copyright info.
2015-01-07 18:24:08 +00:00
jzmaddock
b6e56ccd22
[constants] Fix namespace scope constants so they are constexpr, see https://svn.boost.org/trac/boost/ticket/10901
2015-01-05 18:32:30 +00:00
jzmaddock
5bd2b77ec4
[gamma_p_derivative] Fix spurious underflow spotted by Rocco Romeo.
2015-01-05 18:16:51 +00:00
jzmaddock
bc3d8ed2e3
[Incomplete Beta] Fix some more spurious underflows spotted by Rocco Romeo.
2015-01-05 17:39:13 +00:00
jzmaddock
b3d11e9545
[Ellint Carlson] Update RJ to carlson's latest algorithm. Add missing include to ellint_rc.hpp. Add more test cases for RJ special cases.
2015-01-05 11:46:34 +00:00
jzmaddock
04abb9d194
[ellint RF] rewrite to use carlson's latest methods.
2014-12-30 13:24:08 +00:00
jzmaddock
e6b86ba93d
[Ellint Pi] Fix spurious underflow in sqrt(-v*N).
2014-12-27 13:30:51 +00:00
jzmaddock
47c2f9254c
[Ellint Pi] Add some more special case handling, plus tests.
2014-12-26 17:21:10 +00:00
jzmaddock
18dd27295d
[Ellint Pi] Reorganize which reduction occurs in which order, and fix numerical stability issues identified by Rocco Romeo.
2014-12-25 16:52:37 +00:00
jzmaddock
83155a7a67
[Elliptic Pi] Change expression to not suffer spurious under/over flow, add test case.
2014-12-22 16:55:06 +00:00
jzmaddock
2ab808f547
[Ellint Pi] Try and actually use the correct equation for negative v in Pi[v, k] !
2014-12-21 19:08:18 +00:00
jzmaddock
57b38b0dfc
Add binomial_coefficient to math_fwd.hpp and test.
2014-12-21 13:09:40 +00:00
jzmaddock
5af7e8fdb8
[incomplete gamma] Fix corner cases identified by Rocco Romeo.
2014-12-20 19:18:25 +00:00
jzmaddock
0c1a603e17
[incomplete beta] Fix corner cases identified by Rocco Romeo.
2014-12-20 18:18:16 +00:00
jzmaddock
160beaa477
[Ellint Pi] Fix corner cases identified by Rocco Romeo and add tests for them.
2014-12-20 09:47:06 +00:00
jzmaddock
50bffe8005
Update conceptual requirements for root finding algorithms, and add concept test for them.
2014-12-14 09:44:03 +00:00
jzmaddock
533570755c
[polygamma] Fix preprocessor code SNAFU.
2014-12-11 09:32:35 +00:00
jzmaddock
1c57a6ab41
[tgamma] Up expected error rates - some are too tight for intel-linux.
2014-12-10 19:00:37 +00:00
jzmaddock
9c0c327f55
[hyperexponential] Disable initializer list tests for gcc-4.4.x as they seem not to be supported.
2014-12-10 18:54:57 +00:00
jzmaddock
cb29906ef9
[polygamma] Fix expected error rates when BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS is defined.
2014-12-10 18:40:22 +00:00
jzmaddock
4638c8dfd4
[non-central-t] Reorganize tests a little.
2014-12-10 18:38:09 +00:00
jzmaddock
593fee4ce6
[tests] Disable long double tests when not supported.
2014-12-10 18:23:17 +00:00
jzmaddock
7a4640f038
[tests] Fix expected error rate in test/test_bessel_airy_zeros.cpp.
2014-12-10 18:20:03 +00:00
jzmaddock
db33e22084
Merge branch 'develop' of https://github.com/boostorg/math into develop
2014-12-10 18:15:10 +00:00
jzmaddock
e7cdf218e8
[Bernoulli] We shouldn't test long double values if not supported.
2014-12-10 18:13:38 +00:00
pabristow
ebe6b8fdea
Loosen tolerance for quantile arcsine to allow tests to pass on ARM.
2014-12-10 17:23:37 +00:00
pabristow
ee8d6338fc
Merge branch 'develop' into arcsine_dist
...
Conflicts:
doc/html/backgrounders.html
doc/html/constants.html
doc/html/cstdfloat.html
doc/html/dist.html
doc/html/extern_c.html
doc/html/gcd_lcm.html
doc/html/index.html
doc/html/indexes.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/inverse_complex.html
doc/html/math_toolkit/acknowledgement.html
doc/html/math_toolkit/acknowledgements.html
doc/html/math_toolkit/acos.html
doc/html/math_toolkit/acosh.html
doc/html/math_toolkit/airy.html
doc/html/math_toolkit/airy/ai.html
doc/html/math_toolkit/airy/aip.html
doc/html/math_toolkit/airy/bi.html
doc/html/math_toolkit/airy/bip.html
doc/html/math_toolkit/archetypes.html
doc/html/math_toolkit/asin.html
doc/html/math_toolkit/asinh.html
doc/html/math_toolkit/atan.html
doc/html/math_toolkit/atanh.html
doc/html/math_toolkit/bessel.html
doc/html/math_toolkit/bessel/bessel_derivatives.html
doc/html/math_toolkit/bessel/bessel_first.html
doc/html/math_toolkit/bessel/bessel_over.html
doc/html/math_toolkit/bessel/bessel_root.html
doc/html/math_toolkit/bessel/mbessel.html
doc/html/math_toolkit/bessel/sph_bessel.html
doc/html/math_toolkit/building.html
doc/html/math_toolkit/c99.html
doc/html/math_toolkit/comp_compilers.html
doc/html/math_toolkit/comparisons.html
doc/html/math_toolkit/compile_time.html
doc/html/math_toolkit/compilers_overview.html
doc/html/math_toolkit/complex_history.html
doc/html/math_toolkit/complex_implementation.html
doc/html/math_toolkit/concepts.html
doc/html/math_toolkit/config_macros.html
doc/html/math_toolkit/constants.html
doc/html/math_toolkit/constants_faq.html
doc/html/math_toolkit/constants_intro.html
doc/html/math_toolkit/contact.html
doc/html/math_toolkit/conventions.html
doc/html/math_toolkit/create.html
doc/html/math_toolkit/credits.html
doc/html/math_toolkit/demo.html
doc/html/math_toolkit/directories.html
doc/html/math_toolkit/dist_concept.html
doc/html/math_toolkit/dist_ref.html
doc/html/math_toolkit/dist_ref/dist_algorithms.html
doc/html/math_toolkit/dist_ref/dists.html
doc/html/math_toolkit/dist_ref/dists/bernoulli_dist.html
doc/html/math_toolkit/dist_ref/dists/beta_dist.html
doc/html/math_toolkit/dist_ref/dists/binomial_dist.html
doc/html/math_toolkit/dist_ref/dists/cauchy_dist.html
doc/html/math_toolkit/dist_ref/dists/chi_squared_dist.html
doc/html/math_toolkit/dist_ref/dists/exp_dist.html
doc/html/math_toolkit/dist_ref/dists/extreme_dist.html
doc/html/math_toolkit/dist_ref/dists/f_dist.html
doc/html/math_toolkit/dist_ref/dists/gamma_dist.html
doc/html/math_toolkit/dist_ref/dists/geometric_dist.html
doc/html/math_toolkit/dist_ref/dists/hyperexponential_dist.html
doc/html/math_toolkit/dist_ref/dists/hypergeometric_dist.html
doc/html/math_toolkit/dist_ref/dists/inverse_chi_squared_dist.html
doc/html/math_toolkit/dist_ref/dists/inverse_gamma_dist.html
doc/html/math_toolkit/dist_ref/dists/inverse_gaussian_dist.html
doc/html/math_toolkit/dist_ref/dists/laplace_dist.html
doc/html/math_toolkit/dist_ref/dists/logistic_dist.html
doc/html/math_toolkit/dist_ref/dists/lognormal_dist.html
doc/html/math_toolkit/dist_ref/dists/nc_beta_dist.html
doc/html/math_toolkit/dist_ref/dists/nc_chi_squared_dist.html
doc/html/math_toolkit/dist_ref/dists/nc_f_dist.html
doc/html/math_toolkit/dist_ref/dists/nc_t_dist.html
doc/html/math_toolkit/dist_ref/dists/negative_binomial_dist.html
doc/html/math_toolkit/dist_ref/dists/normal_dist.html
doc/html/math_toolkit/dist_ref/dists/pareto.html
doc/html/math_toolkit/dist_ref/dists/poisson_dist.html
doc/html/math_toolkit/dist_ref/dists/rayleigh.html
doc/html/math_toolkit/dist_ref/dists/skew_normal_dist.html
doc/html/math_toolkit/dist_ref/dists/students_t_dist.html
doc/html/math_toolkit/dist_ref/dists/triangular_dist.html
doc/html/math_toolkit/dist_ref/dists/uniform_dist.html
doc/html/math_toolkit/dist_ref/dists/weibull_dist.html
doc/html/math_toolkit/dist_ref/nmp.html
doc/html/math_toolkit/ellint.html
doc/html/math_toolkit/ellint/ellint_1.html
doc/html/math_toolkit/ellint/ellint_2.html
doc/html/math_toolkit/ellint/ellint_3.html
doc/html/math_toolkit/ellint/ellint_carlson.html
doc/html/math_toolkit/ellint/ellint_intro.html
doc/html/math_toolkit/error_handling.html
doc/html/math_toolkit/exact_typdefs.html
doc/html/math_toolkit/examples.html
doc/html/math_toolkit/exp.html
doc/html/math_toolkit/expint.html
doc/html/math_toolkit/expint/expint_i.html
doc/html/math_toolkit/expint/expint_n.html
doc/html/math_toolkit/factorials.html
doc/html/math_toolkit/factorials/sf_binomial.html
doc/html/math_toolkit/factorials/sf_double_factorial.html
doc/html/math_toolkit/factorials/sf_factorial.html
doc/html/math_toolkit/factorials/sf_falling_factorial.html
doc/html/math_toolkit/factorials/sf_rising_factorial.html
doc/html/math_toolkit/fastest_typdefs.html
doc/html/math_toolkit/float128.html
doc/html/math_toolkit/float128/exp_function.html
doc/html/math_toolkit/float128/overloading_template_functions_w.html
doc/html/math_toolkit/float128/typeinfo.html
doc/html/math_toolkit/fp_facets.html
doc/html/math_toolkit/fp_facets/examples.html
doc/html/math_toolkit/fp_facets/facets_intro.html
doc/html/math_toolkit/fp_facets/portability.html
doc/html/math_toolkit/fp_facets/rationale.html
doc/html/math_toolkit/fp_facets/reference.html
doc/html/math_toolkit/fpclass.html
doc/html/math_toolkit/future.html
doc/html/math_toolkit/gcd_credits.html
doc/html/math_toolkit/gcd_function_object.html
doc/html/math_toolkit/gcd_header.html
doc/html/math_toolkit/gcd_history.html
doc/html/math_toolkit/getting_best.html
doc/html/math_toolkit/greatest_typdefs.html
doc/html/math_toolkit/hankel.html
doc/html/math_toolkit/hankel/cyl_hankel.html
doc/html/math_toolkit/hankel/sph_hankel.html
doc/html/math_toolkit/high_precision.html
doc/html/math_toolkit/high_precision/e_float.html
doc/html/math_toolkit/high_precision/float128.html
doc/html/math_toolkit/high_precision/use_mpfr.html
doc/html/math_toolkit/high_precision/use_multiprecision.html
doc/html/math_toolkit/high_precision/use_ntl.html
doc/html/math_toolkit/high_precision/using_test.html
doc/html/math_toolkit/high_precision/why_high_precision.html
doc/html/math_toolkit/hints.html
doc/html/math_toolkit/history1.html
doc/html/math_toolkit/history2.html
doc/html/math_toolkit/internals1.html
doc/html/math_toolkit/internals1/cf.html
doc/html/math_toolkit/internals1/minima.html
doc/html/math_toolkit/internals1/rational.html
doc/html/math_toolkit/internals1/roots.html
doc/html/math_toolkit/internals1/roots2.html
doc/html/math_toolkit/internals1/series_evaluation.html
doc/html/math_toolkit/internals1/tuples.html
doc/html/math_toolkit/internals2.html
doc/html/math_toolkit/internals2/error_test.html
doc/html/math_toolkit/internals2/minimax.html
doc/html/math_toolkit/internals2/polynomials.html
doc/html/math_toolkit/internals2/test_data.html
doc/html/math_toolkit/internals_overview.html
doc/html/math_toolkit/interp.html
doc/html/math_toolkit/intro_pol_overview.html
doc/html/math_toolkit/introduction.html
doc/html/math_toolkit/inv_hyper.html
doc/html/math_toolkit/inv_hyper/acosh.html
doc/html/math_toolkit/inv_hyper/asinh.html
doc/html/math_toolkit/inv_hyper/atanh.html
doc/html/math_toolkit/inv_hyper/inv_hyper_over.html
doc/html/math_toolkit/issues.html
doc/html/math_toolkit/jacobi.html
doc/html/math_toolkit/jacobi/jac_over.html
doc/html/math_toolkit/jacobi/jacobi_cd.html
doc/html/math_toolkit/jacobi/jacobi_cn.html
doc/html/math_toolkit/jacobi/jacobi_cs.html
doc/html/math_toolkit/jacobi/jacobi_dc.html
doc/html/math_toolkit/jacobi/jacobi_dn.html
doc/html/math_toolkit/jacobi/jacobi_ds.html
doc/html/math_toolkit/jacobi/jacobi_elliptic.html
doc/html/math_toolkit/jacobi/jacobi_nc.html
doc/html/math_toolkit/jacobi/jacobi_nd.html
doc/html/math_toolkit/jacobi/jacobi_ns.html
doc/html/math_toolkit/jacobi/jacobi_sc.html
doc/html/math_toolkit/jacobi/jacobi_sd.html
doc/html/math_toolkit/jacobi/jacobi_sn.html
doc/html/math_toolkit/lanczos.html
doc/html/math_toolkit/lcm_function_object.html
doc/html/math_toolkit/macros.html
doc/html/math_toolkit/main_faq.html
doc/html/math_toolkit/main_intro.html
doc/html/math_toolkit/main_tr1.html
doc/html/math_toolkit/mem_typedef.html
doc/html/math_toolkit/minimum_typdefs.html
doc/html/math_toolkit/namespaces.html
doc/html/math_toolkit/navigation.html
doc/html/math_toolkit/new_const.html
doc/html/math_toolkit/next_float.html
doc/html/math_toolkit/next_float/float_advance.html
doc/html/math_toolkit/next_float/float_distance.html
doc/html/math_toolkit/next_float/float_next.html
doc/html/math_toolkit/next_float/float_prior.html
doc/html/math_toolkit/next_float/nextafter.html
doc/html/math_toolkit/number_series.html
doc/html/math_toolkit/number_series/bernoulli_numbers.html
doc/html/math_toolkit/number_series/primes.html
doc/html/math_toolkit/number_series/tangent_numbers.html
doc/html/math_toolkit/oct_create.html
doc/html/math_toolkit/oct_header.html
doc/html/math_toolkit/oct_history.html
doc/html/math_toolkit/oct_mem_fun.html
doc/html/math_toolkit/oct_non_mem.html
doc/html/math_toolkit/oct_overview.html
doc/html/math_toolkit/oct_specialization.html
doc/html/math_toolkit/oct_synopsis.html
doc/html/math_toolkit/oct_tests.html
doc/html/math_toolkit/oct_todo.html
doc/html/math_toolkit/oct_trans.html
doc/html/math_toolkit/oct_typedefs.html
doc/html/math_toolkit/oct_value_ops.html
doc/html/math_toolkit/octonion.html
doc/html/math_toolkit/overview.html
doc/html/math_toolkit/overview_tr1.html
doc/html/math_toolkit/owens_t.html
doc/html/math_toolkit/perf_over1.html
doc/html/math_toolkit/perf_over2.html
doc/html/math_toolkit/perf_test_app.html
doc/html/math_toolkit/pol_overview.html
doc/html/math_toolkit/pol_ref.html
doc/html/math_toolkit/pol_ref/assert_undefined.html
doc/html/math_toolkit/pol_ref/discrete_quant_ref.html
doc/html/math_toolkit/pol_ref/error_handling_policies.html
doc/html/math_toolkit/pol_ref/internal_promotion.html
doc/html/math_toolkit/pol_ref/iteration_pol.html
doc/html/math_toolkit/pol_ref/namespace_pol.html
doc/html/math_toolkit/pol_ref/pol_ref_ref.html
doc/html/math_toolkit/pol_ref/policy_defaults.html
doc/html/math_toolkit/pol_ref/precision_pol.html
doc/html/math_toolkit/pol_tutorial.html
doc/html/math_toolkit/pol_tutorial/ad_hoc_dist_policies.html
doc/html/math_toolkit/pol_tutorial/ad_hoc_sf_policies.html
doc/html/math_toolkit/pol_tutorial/changing_policy_defaults.html
doc/html/math_toolkit/pol_tutorial/namespace_policies.html
doc/html/math_toolkit/pol_tutorial/policy_tut_defaults.html
doc/html/math_toolkit/pol_tutorial/policy_usage.html
doc/html/math_toolkit/pol_tutorial/understand_dis_quant.html
doc/html/math_toolkit/pol_tutorial/user_def_err_pol.html
doc/html/math_toolkit/pol_tutorial/what_is_a_policy.html
doc/html/math_toolkit/powers.html
doc/html/math_toolkit/powers/cbrt.html
doc/html/math_toolkit/powers/cos_pi.html
doc/html/math_toolkit/powers/ct_pow.html
doc/html/math_toolkit/powers/expm1.html
doc/html/math_toolkit/powers/hypot.html
doc/html/math_toolkit/powers/log1p.html
doc/html/math_toolkit/powers/powm1.html
doc/html/math_toolkit/powers/sin_pi.html
doc/html/math_toolkit/powers/sqrt1pm1.html
doc/html/math_toolkit/quat.html
doc/html/math_toolkit/quat_header.html
doc/html/math_toolkit/quat_history.html
doc/html/math_toolkit/quat_mem_fun.html
doc/html/math_toolkit/quat_non_mem.html
doc/html/math_toolkit/quat_overview.html
doc/html/math_toolkit/quat_synopsis.html
doc/html/math_toolkit/quat_tests.html
doc/html/math_toolkit/quat_todo.html
doc/html/math_toolkit/rationale.html
doc/html/math_toolkit/rationale0.html
doc/html/math_toolkit/refs.html
doc/html/math_toolkit/relative_error.html
doc/html/math_toolkit/remez.html
doc/html/math_toolkit/result_type.html
doc/html/math_toolkit/rounding.html
doc/html/math_toolkit/rounding/modf.html
doc/html/math_toolkit/rounding/round.html
doc/html/math_toolkit/rounding/trunc.html
doc/html/math_toolkit/run_time.html
doc/html/math_toolkit/sf_beta.html
doc/html/math_toolkit/sf_beta/beta_derivative.html
doc/html/math_toolkit/sf_beta/beta_function.html
doc/html/math_toolkit/sf_beta/ibeta_function.html
doc/html/math_toolkit/sf_beta/ibeta_inv_function.html
doc/html/math_toolkit/sf_erf.html
doc/html/math_toolkit/sf_erf/error_function.html
doc/html/math_toolkit/sf_erf/error_inv.html
doc/html/math_toolkit/sf_gamma.html
doc/html/math_toolkit/sf_gamma/digamma.html
doc/html/math_toolkit/sf_gamma/gamma_derivatives.html
doc/html/math_toolkit/sf_gamma/gamma_ratios.html
doc/html/math_toolkit/sf_gamma/igamma.html
doc/html/math_toolkit/sf_gamma/igamma_inv.html
doc/html/math_toolkit/sf_gamma/lgamma.html
doc/html/math_toolkit/sf_gamma/tgamma.html
doc/html/math_toolkit/sf_implementation.html
doc/html/math_toolkit/sf_poly.html
doc/html/math_toolkit/sf_poly/hermite.html
doc/html/math_toolkit/sf_poly/laguerre.html
doc/html/math_toolkit/sf_poly/legendre.html
doc/html/math_toolkit/sf_poly/sph_harm.html
doc/html/math_toolkit/sign_functions.html
doc/html/math_toolkit/sinc.html
doc/html/math_toolkit/sinc/sinc_overview.html
doc/html/math_toolkit/sinc/sinc_pi.html
doc/html/math_toolkit/sinc/sinhc_pi.html
doc/html/math_toolkit/spec.html
doc/html/math_toolkit/special_tut.html
doc/html/math_toolkit/special_tut/special_tut_impl.html
doc/html/math_toolkit/special_tut/special_tut_test.html
doc/html/math_toolkit/stat_tut.html
doc/html/math_toolkit/stat_tut/dist_params.html
doc/html/math_toolkit/stat_tut/overview.html
doc/html/math_toolkit/stat_tut/overview/complements.html
doc/html/math_toolkit/stat_tut/overview/generic.html
doc/html/math_toolkit/stat_tut/overview/headers.html
doc/html/math_toolkit/stat_tut/overview/objects.html
doc/html/math_toolkit/stat_tut/overview/parameters.html
doc/html/math_toolkit/stat_tut/overview/summary.html
doc/html/math_toolkit/stat_tut/variates.html
doc/html/math_toolkit/stat_tut/weg.html
doc/html/math_toolkit/stat_tut/weg/binom_eg.html
doc/html/math_toolkit/stat_tut/weg/binom_eg/binom_conf.html
doc/html/math_toolkit/stat_tut/weg/binom_eg/binom_size_eg.html
doc/html/math_toolkit/stat_tut/weg/binom_eg/binomial_coinflip_example.html
doc/html/math_toolkit/stat_tut/weg/binom_eg/binomial_quiz_example.html
doc/html/math_toolkit/stat_tut/weg/c_sharp.html
doc/html/math_toolkit/stat_tut/weg/cs_eg.html
doc/html/math_toolkit/stat_tut/weg/cs_eg/chi_sq_intervals.html
doc/html/math_toolkit/stat_tut/weg/cs_eg/chi_sq_size.html
doc/html/math_toolkit/stat_tut/weg/cs_eg/chi_sq_test.html
doc/html/math_toolkit/stat_tut/weg/dist_construct_eg.html
doc/html/math_toolkit/stat_tut/weg/error_eg.html
doc/html/math_toolkit/stat_tut/weg/f_eg.html
doc/html/math_toolkit/stat_tut/weg/find_eg.html
doc/html/math_toolkit/stat_tut/weg/find_eg/find_location_eg.html
doc/html/math_toolkit/stat_tut/weg/find_eg/find_mean_and_sd_eg.html
doc/html/math_toolkit/stat_tut/weg/find_eg/find_scale_eg.html
doc/html/math_toolkit/stat_tut/weg/geometric_eg.html
doc/html/math_toolkit/stat_tut/weg/inverse_chi_squared_eg.html
doc/html/math_toolkit/stat_tut/weg/nag_library.html
doc/html/math_toolkit/stat_tut/weg/nccs_eg.html
doc/html/math_toolkit/stat_tut/weg/nccs_eg/nccs_power_eg.html
doc/html/math_toolkit/stat_tut/weg/neg_binom_eg.html
doc/html/math_toolkit/stat_tut/weg/neg_binom_eg/neg_binom_conf.html
doc/html/math_toolkit/stat_tut/weg/neg_binom_eg/neg_binom_size_eg.html
doc/html/math_toolkit/stat_tut/weg/neg_binom_eg/negative_binomial_example1.html
doc/html/math_toolkit/stat_tut/weg/neg_binom_eg/negative_binomial_example2.html
doc/html/math_toolkit/stat_tut/weg/normal_example.html
doc/html/math_toolkit/stat_tut/weg/normal_example/normal_misc.html
doc/html/math_toolkit/stat_tut/weg/st_eg.html
doc/html/math_toolkit/stat_tut/weg/st_eg/paired_st.html
doc/html/math_toolkit/stat_tut/weg/st_eg/tut_mean_intervals.html
doc/html/math_toolkit/stat_tut/weg/st_eg/tut_mean_size.html
doc/html/math_toolkit/stat_tut/weg/st_eg/tut_mean_test.html
doc/html/math_toolkit/stat_tut/weg/st_eg/two_sample_students_t.html
doc/html/math_toolkit/synopsis.html
doc/html/math_toolkit/threads.html
doc/html/math_toolkit/tr1_ref.html
doc/html/math_toolkit/trans.html
doc/html/math_toolkit/tuning.html
doc/html/math_toolkit/tutorial.html
doc/html/math_toolkit/tutorial/non_templ.html
doc/html/math_toolkit/tutorial/templ.html
doc/html/math_toolkit/tutorial/user_def.html
doc/html/math_toolkit/value_op.html
doc/html/math_toolkit/zetas.html
doc/html/math_toolkit/zetas/zeta.html
doc/html/octonions.html
doc/html/overview.html
doc/html/perf.html
doc/html/policy.html
doc/html/quaternions.html
doc/html/special.html
doc/html/status.html
doc/html/toolkit.html
doc/html/using_udt.html
doc/html/utils.html
2014-12-08 12:45:58 +00:00
jzmaddock
515bd0cc0f
[polygamma tests] Add missing using declaration.
2014-11-30 13:05:10 +00:00
jzmaddock
56e60cbc88
[long double] Improve long double support testing.
2014-11-27 17:50:16 +00:00
pabristow
f9b2addcdc
Improved docs and tests and graphs.
2014-11-27 16:44:42 +00:00
jzmaddock
cc5628b2a4
[polygamma] tweak expected error rates.
2014-11-26 19:12:35 +00:00
jzmaddock
be4b5ad3cb
[polygamma] Tweak expected error rates.
2014-11-26 19:07:18 +00:00
jzmaddock
eab696d5d2
[polygamma] Fix brace initialization to prevent compiler warnings from clang.
2014-11-26 19:06:52 +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
pabristow
870df2d32a
Increased precision of skwnormal variance
2014-11-20 10:13:17 +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
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
0e98fd90c2
[Polygamma] Add optimized trigamma version that uses rational approximations.
2014-11-07 16:32:41 +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
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
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
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
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
716e7eff75
First draft of working docs. Need more tests.
2014-10-20 14:36:03 +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
jzmaddock
9860071f84
Remove all references to tr1 components.
...
Update data generators to use Boost.Multiprecision.
2014-09-28 18:09:27 +01:00
jzmaddock
bd807c74e1
Fix more spurious overflows detected by Rocco Romeo.
2014-09-24 18:02:00 +01:00
jzmaddock
b471723bd1
Fix bug cases reported by Rocco Romeo:
...
* Add another approximation for x very small.
* Add code to handle cases where tgamma(a) would overflow.
* Add tests for the above.
2014-09-14 17:05:15 +01:00
jzmaddock
d1d6d5b063
Fix derivative of incomplete beta in special cases where a = b = 0.5 and b = 1.
...
Add additional tests to non-central F and T distributions to verify above fix.
Fixes https://svn.boost.org/trac/boost/ticket/10480 .
2014-09-12 16:29:29 +01:00
jzmaddock
321d8f2eda
Merge branch 'hyper_exponential' into develop
2014-09-08 18:12:52 +01:00
jzmaddock
f73ecae7f5
Add some tests for the error handlers.
2014-09-05 18:56:49 +01:00
sguazt
e4d290b501
[distributions] Hyper-Exponential: added test for special cases (i.e., the one discussed under the 'Related distributions' section of the doc).
2014-09-04 16:07:50 +02:00
jzmaddock
60a6730fe2
Modify Marco's 1 and 2 arg constructors to use SFINAE to differentiate between iterators and ranges.
...
Add a 1 arg initializer list constructor.
Update tests accordingly.
2014-08-30 17:03:26 +01:00
sguazt
62ee849eab
[distributions] Hyper-Exponential: added more constructors and class construction test case.
2014-08-28 10:12:41 +02:00
jzmaddock
1d37f8ad9d
Add extended tests for difficult cases from https://github.com/boostorg/math/pull/8
2014-08-25 17:02:21 +01:00
jzmaddock
d8c97bec27
Add initializer_list support and tests.
2014-08-25 13:11:51 +01:00
jzmaddock
2915adc0f8
Fix tolerance, add a missing L suffix on test data.
2014-08-25 10:26:37 +01:00
sguazt
c33e0ee2e2
[distributions] Hyper-Exponential: fixed test results according to Mathematica output when instead of decimal numbers we use fractions.
2014-08-25 10:53:27 +02:00
sguazt
4044b0dd2d
Merged from branch 'hyper_exponential'.
2014-08-25 10:38:57 +02:00
sguazt
5f61ec432d
[distributions] Hyper-Exponential: fixed test results according to Mathematica test output where in place of decimal numbers we use the corresponding fractions.
2014-08-25 10:07:08 +02:00
sguazt
0c0337a0df
[distributions] Hyper-Exponential: Improved test unit to support long-double type.
2014-08-24 19:47:01 +02:00
jzmaddock
90d2ebc13a
Change test type list when there are no long double math functions.
2014-08-24 18:41:51 +01:00
jzmaddock
d424e2ef23
Fix some more warnings and enable tests for all the test types.
2014-08-24 18:40:21 +01:00
jzmaddock
b925b0c0e8
Add hyperexponential_distribution to concept checks, fix for warnings/bugs.
2014-08-24 15:21:36 +01:00
jzmaddock
ffc483f907
Up precision of tests.
...
Fix some conceptual compiler errors in hyperexponential_distribution.
2014-08-24 09:29:11 +01:00
Robin Eckert
81cfe69d32
add explicit test cases for rounding corner cases
2014-08-23 19:31:08 +02:00
Robin Eckert
2b5ef4aa93
pull out for loop body of rounding test for later test
2014-08-23 19:14:14 +02:00
sguazt
4fbfc1f2ce
[distributions] Hyper-exponential: increased tolerance (from 1e-3 to 1e-4).
2014-08-22 18:33:07 +02:00
sguazt
3621b083e2
[distributions] Hyper-Exponential: registered tests and fixed some test-related issue.
2014-08-22 16:37:35 +02:00
sguazt
412bba6a24
[distributions] Added Hyper-Exponential distribution.
2014-08-22 15:01:23 +02:00
jzmaddock
3fe188da32
Remove all references to pow23_four_minus_pi: it's been removed, see also https://github.com/boostorg/math/pull/5
2014-08-17 09:28:37 +01:00
jzmaddock
60441c5d3a
Add missing #includes, see https://github.com/boostorg/math/pull/5/files
2014-08-17 09:25:05 +01:00
jzmaddock
b6081dc422
Workaround broken --remove-test-targets option.
2014-06-27 17:11:12 +01:00
jzmaddock
ee8edd4c33
Fix up functions that were returning tools::max_value to call overflow_error instead.
...
See https://svn.boost.org/trac/boost/ticket/10111 .
2014-06-12 13:50:30 +01:00
jzmaddock
e20b44e8a9
Move headers that are mostly used for internal maintenance and testing into an "include_private" directory - this is to reduce dependencies on other Boost modules when using this library.
2014-06-09 16:08:35 +01:00
jzmaddock
501fa2ea38
Merge branch 'develop' of https://github.com/boostorg/math into develop
2014-04-10 10:40:07 +01:00
jzmaddock
ca866ccff6
Apply https://svn.boost.org/trac/boost/ticket/9865
2014-04-10 10:39:46 +01:00
pabristow
582e972d18
Merge branch 'develop' of https://github.com/boostorg/math into develop
2014-04-08 18:12:07 +01:00
pabristow
c05eb89f02
Removed test for zztest_max_digits10 as failing inexplicably for VS 12 only on teeks99 (passes locally)
2014-04-08 18:11:04 +01:00
pabristow
8d8a22a71e
Added output showing that works OK for VS 12.0 (though the VS 12.0 test is inexplicably reported as failing
...
http://www.boost.org/development/tests/develop/developer/output/teeks99-02e-win2008-64on64-boost-bin-v2-libs-math-test-zztest_max_digits10-test-msvc-12-0-debug-asynch-exceptions-on-link-static-threading-multi.html
)
The test itself will be removed from the jamfile, as does little useful now.
2014-04-08 18:08:08 +01:00
jzmaddock
60f6ab81a2
Shift some more expected error rates.
2014-03-31 19:00:52 +01:00
jzmaddock
c430726cd8
Adjust Linux error rates.
2014-03-31 13:33:52 +01:00
jzmaddock
bf51aadcbc
Update error rate for Mac OS.
2014-03-31 13:23:34 +01:00
jzmaddock
0e7f3f41f7
Adjust expected error rates for MacOS.
2014-03-28 18:24:58 +00:00
jzmaddock
4cef977be3
Add missing #includes.
2014-03-28 18:18:09 +00:00
jzmaddock
653ffbcb87
Push and pop FPU flags in test case.
2014-03-23 17:06:21 +00:00
jzmaddock
ef123b3504
Fix GCC release mode failures in test_next.cpp by explicitly testing SSE2 settings in next.hpp.
2014-03-22 19:16:36 +00:00
jzmaddock
728ec23c21
Add lots of missing #includes.
2014-03-21 17:36:18 +00:00
jzmaddock
6f47470274
Fix tgamma_ratio tests.
2014-03-20 13:02:51 +00:00
jzmaddock
0418465a8d
Fix some error rates in new factorial tests
2014-03-19 19:15:27 +00:00
jzmaddock
0d9f0089f8
Enable 128-bit floatmax_t tests when appropriate.
2014-03-19 17:27:10 +00:00
jzmaddock
6bddb5be85
Merge branch 'cstdfloat' into develop
...
Conflicts:
doc/overview/roadmap.qbk
example/cstdfloat_example.cpp
include/boost/cstdfloat.hpp
test/test_gamma.cpp
test/test_gamma.hpp
2014-03-19 13:38:42 +00:00
pabristow
3fdc127f50
Removed obselete test using pow32_pi
2014-03-18 16:55:08 +00:00
pabristow
3cc5c8ff38
Changed Rayleigh test to compute kurtosis excess value instead of using same constant used to define it. Passes locally.
2014-03-17 17:57:19 +00:00
jzmaddock
296173dbe2
Some mostly cosmetic changes to the cstdfloat docs.
2014-03-17 16:58:58 +00:00
jzmaddock
cae085c873
More fixes for factorials and gamma function ratios from Rocco Romeo.
2014-03-16 09:59:11 +00:00
jzmaddock
3e338ec355
Fix some corner cases in tgamma_delta_ratio, with thanks to Rocco Romeo.
2014-03-14 18:18:22 +00:00
jzmaddock
80894e9025
Fix errors in corner cases of rising/falling factorials and gamma ratios raised by Rocco Romeo.
2014-03-13 16:30:10 +00:00
jzmaddock
dc533a4fd3
Fix some expected error rates.
2014-03-10 18:34:25 +00:00
jzmaddock
c9d65cfa1f
Add basic tests for __float128 functions.
...
Fix one complex function.
Add factorials test.
2014-03-10 18:25:08 +00:00
jzmaddock
ce04b996b3
Add one new test case.
2014-02-28 18:50:03 +00:00
jzmaddock
4daf06baea
Minor fix for tests run on PPC64 from Tony Reix.
2014-02-28 18:23:20 +00:00
jzmaddock
4c81a35178
Reinstate needed #include.
2014-02-28 13:31:09 +00:00
jzmaddock
7f865ff19e
Add some missing #includes
2014-02-28 12:17:19 +00:00
jzmaddock
5bdd7d1ecb
Add some missing #includes
2014-02-27 19:18:11 +00:00
jzmaddock
bedff882ac
Fix expected error rates on Linux
2014-02-27 18:02:33 +00:00
jzmaddock
1757348c9b
Fix expected error rates on Linux
2014-02-27 17:57:39 +00:00
jzmaddock
049f707a67
Fix Linux GCC failures
2014-02-27 17:07:25 +00:00
jzmaddock
98944fd36b
Link statically to libquadmath to avoid dll-hell issues.
...
Fix compilation errors in concept checks.
Fix missing #includes in some tests.
2014-02-26 18:25:48 +00:00
jzmaddock
46caf7a4f1
Squash a few more compiler errors.
2014-02-24 19:05:17 +00:00
jzmaddock
108785d553
Add missing pow overload to cstdfloat.hpp.
...
Fix Intel-Windows compilation of the tests.
Make the float128 tests an explicit test case in the Jamfile.
2014-02-24 18:53:50 +00:00
jzmaddock
f1814b0b46
Big search and replace on test data so all the values can be used with a "Q" suffix: basically integer values have had a ".0" added to the end.
...
Added copies of the tests tweaked to test __float128.
2014-02-24 17:17:05 +00:00
ckormanyos
a0454df5e4
Move cstdfloat details to <boost/math/cstdfloat/*.hpp>.
2014-02-23 18:46:46 +01:00
jzmaddock
4efb8a83d9
Add missing #include's
2014-02-20 17:56:53 +00:00
jzmaddock
e46fe3ae0c
Add missing #include's.
2014-02-20 17:16:12 +00:00
jzmaddock
f526263d0b
Fix expected error rates.
2014-02-20 17:10:03 +00:00
jzmaddock
c80c4881b8
Add missing #include's.
2014-02-20 17:08:25 +00:00
jzmaddock
ac48051bf6
Fix expected error rate for tgamma.
2014-02-20 17:06:22 +00:00
jzmaddock
b9cd3c4417
Fix from Rocco Romeo to correct sign of infinite result in tgamma.
2014-02-20 10:46:54 +00:00
jzmaddock
d9f626a942
Fix from Rocco Romeo to correct sign of infinite result in tgamma.
2014-02-20 10:44:40 +00:00
PABristow
55bc21684b
Merge branch 'develop' of https://github.com/boostorg/math into develop
2014-02-18 17:29:16 +00:00
PABristow
da499e8cc1
Adjusted tests and comments for random variate infinite.
2014-02-18 17:18:00 +00:00
PABristow
3cd3dbd39c
Adjusted tests as random variate can now be infinite.
2014-02-18 17:15:11 +00:00
jzmaddock
31937ff2ba
Merge branch 'cstdfloat' of https://github.com/boostorg/math into cstdfloat
2014-02-17 12:05:08 +00:00
ckormanyos
3391f44fab
In <boost/cstdfloat.hpp>, implement granular files.
2014-02-16 13:41:00 +01:00
ckormanyos
3b4ba962ab
In test_cstdfloat.cpp, improve the sanity check for the floating-point types.
2014-02-15 23:05:43 +01:00
ckormanyos
47385add82
In test_cstdfloat.cpp, the file now compiles and runs. Significant test depth is still missing.
2014-02-15 22:20:30 +01:00
jzmaddock
7a823466ca
More fixes from Rocco Romeo: do the correct thing near a small negative integer, and handle denormalized inputs correctly.
2014-02-15 19:19:44 +00:00
jzmaddock
942288b128
Add missing using declaration.
2014-02-15 17:51:10 +00:00
jzmaddock
742ecfd751
Fix zeta instances used.
2014-02-15 17:51:09 +00:00
jzmaddock
e9dcbd97f3
Fix expected error rates on Mingw-x64
2014-02-15 17:51:09 +00:00
jzmaddock
0d85f89449
Add missing using declaration.
2014-02-15 17:46:20 +00:00
jzmaddock
2e10391ada
Merge branch 'cstdfloat' of https://github.com/boostorg/math into cstdfloat
2014-02-15 17:35:21 +00:00
jzmaddock
7cccb8ea2f
Fix zeta instances used.
2014-02-15 17:34:54 +00:00
jzmaddock
960eaddf2a
Fix expected error rates on Mingw-x64
2014-02-15 17:28:07 +00:00
ckormanyos
8acdc26d4e
Merge branch 'cstdfloat' of https://github.com/boostorg/math into cstdfloat
2014-02-15 15:15:46 +01:00
ckormanyos
4ca0ca17f7
Clean up <boost/cstdfloat.hpp> and do further work on test file.
2014-02-15 15:13:33 +01:00
jzmaddock
118a93e3a6
Add tests for cstdfloat.hpp defined types.
...
Fix Math code to not use lexical_cast for constants for boost::floatmax_t when that type is __float128.
Fix constant usage so it doesn't break when the suffix is "Q".
2014-02-15 11:14:00 +00:00
ckormanyos
c8c2a76ebe
Add a *very* preliminary test file for cstdfloat. I don't even know if it compiles, let alone runs.
2014-02-15 00:14:53 +01:00
jzmaddock
43f0f18591
Fix spurious overflows in tgamma/lgamma. Update tests to verify.
...
Thanks to Rocco Romeo for these.
2014-02-13 09:42:46 +00:00
jzmaddock
b0c9af5e61
Another attempt to accurately detect when we're in FTZ mode.
...
Fixes test failures for Win32 executables run on Win64.
2014-02-10 16:51:24 +00:00
jzmaddock
e8af9fab03
Fix zeta and tgamma_ratio tests to use external template instances.
2014-02-08 10:22:46 +00:00
jzmaddock
e32345b175
Multiprecision concept tests require /bigobj when building for x64.
2014-02-06 18:20:53 +00:00
jzmaddock
9baf90f56a
Merge branch 'bessel-derivatives' into develop
2014-01-23 16:55:55 +00:00
jzmaddock
6f24a9adb2
Fix expected error rates for Bessel function derivatives on Linux
2014-01-23 16:36:33 +00:00
jzmaddock
43d12190eb
Up Linux expected error rates as new code fails otherwise.
2014-01-22 18:53:59 +00:00
jzmaddock
7613d0dd45
Rename Bessel derivatives to primes.
2014-01-21 19:08:14 +00:00
jzmaddock
0b22e7cf0b
Improve build process, add header-include test for Bessel derivatives.
2014-01-20 12:04:17 +00:00
jzmaddock
21d8d99e6f
Add concept checks for Bessel derivatives and fix up resulting errors.
2014-01-19 17:42:24 +00:00
jzmaddock
ae28b2553f
Add tests to Jamfile.
2014-01-19 17:36:08 +00:00
jzmaddock
8bc5511e82
Move to use separate file instantiation, fix expected error rates.
2014-01-19 17:29:26 +00:00
jzmaddock
13df3d19e8
Fix some out of range values.
2014-01-19 17:28:56 +00:00
jzmaddock
d103e457be
Set error rates for Bessel I derivative tests.
2014-01-19 16:50:11 +00:00
jzmaddock
be92657667
Switch to external template instantiation.
2014-01-19 16:47:05 +00:00
jzmaddock
ffa67e7acb
Disable testing of out-of-range values.
2014-01-19 16:46:21 +00:00
jzmaddock
7c82510c66
Merge https://github.com/AntonBikineev/bessel-derivatives into branch bessel-derivatives preserving history as best we can.
2014-01-19 13:14:12 +00:00
jzmaddock
431284519f
Move directory structure around to match what we need for the merge.
2014-01-19 13:06:47 +00:00
jzmaddock
7fa56fe3a9
Fix Linux x64 error rates.
2014-01-06 19:40:04 +00:00
jzmaddock
c005d4d4d1
Fix test tolerances for new tgamma code.
2014-01-06 17:24:45 +00:00
jzmaddock
af95975e2e
Add include test.
...
Improve error handling and overflow-estimation in bernoulli_details.hpp.
2014-01-02 11:54:44 +00:00
Christopher Kormanyos
f60b4d1279
Change use of non-portable "int" to "boost::int32_t".
2013-12-30 12:29:07 +01:00
jzmaddock
5b5550222a
Fix issues raised from the regression tests: some using declaration in the Bessel code, and some changed assumptions in the airy-zeros.
2013-12-30 09:44:11 +00:00
jzmaddock
3bc0ec66c3
Hook up the concept checks.
2013-12-29 18:46:39 +00:00
jzmaddock
2a4aa11c65
Add tangent numbers overflow test.
2013-12-29 18:01:18 +00:00
jzmaddock
36d5698421
Fix buggy overflow check.
...
Add B2n overflow test.
2013-12-29 18:00:21 +00:00
jzmaddock
c5dde54a13
Fix gcc compiler failures
2013-12-29 10:49:27 +00:00
jzmaddock
5c628a3700
Enable tangent numbers.
...
Fix several error handling issues.
2013-12-29 09:40:15 +00:00
jzmaddock
5991ef3e9c
Move unchecked_bernoulli_b2n over to new header and add to tests.
2013-12-28 18:18:19 +00:00
jzmaddock
5dba5e7785
Commit test case.
...
Refactor into class-based details, and split big tables off into new header.
2013-12-28 18:12:33 +00:00
John Maddock
ccb35294e6
Ooops, make tests compatible with multiprecision testing.
...
[SVN r86785]
2013-11-22 17:12:06 +00:00
John Maddock
0f1076894d
adjustments for GCC on Linux
...
[SVN r86716]
2013-11-16 09:23:13 +00:00
John Maddock
0a5a045fee
Fixes for digamma and zeta based on bug reports by Rocco Romeo.
...
[SVN r86550]
2013-11-03 17:55:22 +00:00
John Maddock
57b40ac443
Fix for sph_bessel when v is large and x is small.
...
[SVN r86343]
2013-10-17 18:21:56 +00:00
John Maddock
c3aa1d325c
Fix test case.
...
[SVN r86178]
2013-10-06 17:12:46 +00:00
John Maddock
2fdd8e9256
Fix test cases
...
[SVN r85963]
2013-09-26 17:03:11 +00:00
John Maddock
f50e0f1f9b
Fix GCC -Wshadow warnings.
...
[SVN r85667]
2013-09-14 16:07:45 +00:00
John Maddock
a3e3e86eaf
Fix bug in incomplete beta inverse estimation routine (when estimating from student's t).
...
Add special cases to incomplete beta and inverse for a=b=0.5 and b=1.
Added tool for generating high precision gamma function test values.
[SVN r85572]
2013-09-05 15:56:17 +00:00
John Maddock
f571156b54
Made a few core functions usable with long double even when there is no std lib long double support.
...
Fixes #8940 .
[SVN r85188]
2013-08-02 08:30:04 +00:00
John Maddock
7858278bec
Fix gcc-4.8.x warnings.
...
Fix some Mingw failures.
Fixes #8855 .
[SVN r85131]
2013-07-23 11:09:47 +00:00
John Maddock
fc451ee936
Don't throw exceptions from itrunc/iround if all we're doing is checking to see if the argument is an integer.
...
Don't propagate no-throw policies inside MPFR's itrunc/iround.
Use normal approximation to student's t quantile when the degrees of freedom is big enough.
Fixes #8837 .
[SVN r85075]
2013-07-18 17:31:42 +00:00
John Maddock
fc9da60883
Apply remaining fixes from #8732 .
...
Also adds msb (most significant bit) function to multiprecision.
Fixes #8732 .
[SVN r84921]
2013-07-01 15:43:28 +00:00
John Maddock
dca59f0d25
Add test for things that are macros in C99 to ensure we call these correctly.
...
Refs #8732 .
Fixes #8733 .
[SVN r84917]
2013-06-30 11:05:21 +00:00
Steven Watanabe
8428c7ace4
Name the long_double_support test.
...
[SVN r83783]
2013-04-06 22:26:15 +00:00