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
John Maddock
c07c35a34e
Refactored build process to improve compile times.
...
Fixed expression-template incompatibility in spherical_harmonic.hpp.
Fixed expression template issues in log1p_expm1_test.hpp and test_cbrt.hpp.
[SVN r83775]
2013-04-06 08:54:04 +00:00
Paul A. Bristow
9db201aad9
Revised zztest_max_digits10 test to check on RaspberryPI failures in constants_eg1.cpp.
...
[SVN r83598]
2013-03-27 11:52:17 +00:00
Paul A. Bristow
6ee3663a45
Re-enabled zztest_max_digits10 test to check on RaspberryPI failures in constants_eg1.cpp.
...
[SVN r83597]
2013-03-27 11:48:33 +00:00
Paul A. Bristow
0b57dde6d2
Increased tolerance for realConcept
...
[SVN r83584]
2013-03-26 14:59:27 +00:00
John Maddock
6e626c1830
Fix edge case in Halley iteration where the derivative is flatlining.
...
Fix edge cases in poisson distribution quantile.
Fixes #8314 .
Fixes #8308 .
Update and regenerate docs.
[SVN r83512]
2013-03-21 13:01:50 +00:00
Paul A. Bristow
4da4129672
Added tests for airy multi-root versions.
...
[SVN r83423]
2013-03-14 11:20:15 +00:00
John Maddock
307d5ae933
Adjust tgamma_ratio failure rates, fix some clang warnings, plus a bug in error_handling.hpp that causes unitialized variable use in some situations.
...
[SVN r83360]
2013-03-08 12:16:13 +00:00
John Maddock
343d9ba8e6
Remove dependency on quadmath.h.
...
Fixes #8265 .
[SVN r83356]
2013-03-08 11:33:04 +00:00
Paul A. Bristow
407f10a01a
Yet another tolerance tweak for airy_ai_zero and airy_bi_zero for 80 bit platforms.
...
[SVN r83343]
2013-03-07 10:03:28 +00:00
John Maddock
42b3d6bb0f
Fix a couple of expression template support issues in bessel.hpp.
...
Add minimal support for __float128 - particularly numeric constant support.
Improve constant test cases.
Fix bug in zeta function tests.
[SVN r83342]
2013-03-07 09:17:09 +00:00
John Maddock
642088581c
Don't mix Boost.Test with multiprecision types.
...
[SVN r83329]
2013-03-06 09:13:10 +00:00
John Maddock
5d0ec69822
Change to use Multiprecision lib rather than NTL for constants generation.
...
[SVN r83317]
2013-03-05 18:34:55 +00:00
John Maddock
6c6e542ed4
Tighten up error handling is tgamma_ratio.
...
[SVN r83316]
2013-03-05 18:33:58 +00:00
Paul A. Bristow
cdf652e5f7
Yet more tweaks, this time for Darwin strange long doubles.
...
[SVN r83309]
2013-03-05 12:34:11 +00:00
Paul A. Bristow
7d24320a59
Yet another tolerance tweak for long double.
...
[SVN r83293]
2013-03-04 10:25:27 +00:00
John Maddock
51dd944d85
Improve accuracy of tgamma_ratio when one argument is very small, thanks to ideas from Rocco Romeo.
...
[SVN r83250]
2013-03-02 18:59:50 +00:00
John Maddock
cd55f94984
Fix bug in zeta that results in an incorrect domain_error for -eps < s < 0.
...
Add new constant needed by fix.
[SVN r83228]
2013-03-01 13:18:07 +00:00
Paul A. Bristow
36ab3af7c7
Added missing L and increased a few more tolerances.
...
[SVN r83226]
2013-03-01 10:15:06 +00:00
Paul A. Bristow
39d6a82424
Added missing L and increased a few more tolerances.
...
[SVN r83225]
2013-03-01 10:10:10 +00:00
Paul A. Bristow
f172fd85a8
Increased a few tolerances to allow for 80 bit GCC platforms.
...
Added new tests for the discontinuity near mid-point between integer orders.
[SVN r83199]
2013-02-28 09:46:32 +00:00
Paul A. Bristow
256f7c436b
Added tests for airy (0) call and more spot values, passing on MSVC 10.
...
[SVN r83187]
2013-02-27 12:51:52 +00:00
Paul A. Bristow
e90f566315
Added cyl_neumann tests with negative order. Two failures to find root, and some disagreement with Wolfram - where I think Wolfram is wrong!
...
[SVN r83149]
2013-02-25 12:44:23 +00:00
John Maddock
712cbabdb1
Tweak permitted error rates.
...
[SVN r83106]
2013-02-23 18:31:36 +00:00
John Maddock
b65f2d0e64
Up tolerance.
...
[SVN r83105]
2013-02-23 18:27:41 +00:00
Paul A. Bristow
2fc39a9010
Added new test for negative orders - one requires a higher tolerance,
...
[SVN r83065]
2013-02-21 16:19:20 +00:00
John Maddock
c81974e215
Add missing link dependency to Paul Bristow's new example.
...
Fix tgamma bug reported by Rocco Romeo.
Update history.
[SVN r83011]
2013-02-19 17:02:50 +00:00
Paul A. Bristow
cc199a609e
Added tests for zero'th order.
...
(comment in test_ibeta)
[SVN r82972]
2013-02-18 10:23:23 +00:00
Paul A. Bristow
0fc1447ba6
Added test_bessel_airy_zeros to jamfile to allow testers to run it.
...
(passes on a local test using MSVC and compiles OK on Clang and gcc)
[SVN r82894]
2013-02-14 22:36:52 +00:00
John Maddock
60198aafca
Fix raise_rounding_error to return the correct result (and type) when an error occurs.
...
Fixes #7905 .
[SVN r82885]
2013-02-14 18:20:03 +00:00
Paul A. Bristow
bdc220f7ca
Updated tests using int m.
...
[SVN r82881]
2013-02-14 15:54:34 +00:00
Paul A. Bristow
cb0fc34a37
unsigned m changed to int
...
[SVN r82875]
2013-02-14 14:35:14 +00:00
Paul A. Bristow
95a4479b8d
Removed non-ASCII chars #8043 . Other tests being added and modified.
...
[SVN r82868]
2013-02-14 10:26:02 +00:00
John Maddock
76cc581bce
Refactor Bessel function code:
...
* Remove unused dead code.
* Improve and centralise asymptotic selection.
* Reorder algorithm selection in bessel_jy.
* Allow use of integer algorithms for arbitrary order - they're no slower than Steeds method which is also O(n).
[SVN r82816]
2013-02-11 12:12:50 +00:00
Paul A. Bristow
6eb440db06
Increased tolerance to 2 * epsilon for the one cycl_neumann failure, and a note on why.
...
[SVN r82806]
2013-02-10 12:35:48 +00:00
John Maddock
4d1e810132
Enable better error handling in bessel-zero code.
...
[SVN r82787]
2013-02-08 17:28:49 +00:00
John Maddock
c8931731c0
Fix parameter order, and change to be a unit test.
...
[SVN r82784]
2013-02-08 16:26:05 +00:00
Gennadiy Rozental
3bc111cdb7
Eliminated test_exec_monitor
...
[SVN r82782]
2013-02-08 05:09:47 +00:00
John Maddock
2be883f332
Reordered parameters to Bessel and Airy root finders.
...
Update to docs with references.
[SVN r82764]
2013-02-06 18:53:06 +00:00
Paul A. Bristow
e4c2d969ff
Airy tests done.
...
One failure, perhaps just needing tolerance increasing?
Or is there a mistake?
[SVN r82750]
2013-02-05 14:21:56 +00:00
Paul A. Bristow
bd770b358c
More bessel and Lots more neumann tests. I failure at double epsilon airy TODO.
...
[SVN r82749]
2013-02-05 12:59:09 +00:00
Paul A. Bristow
61797374b3
More tests added for coverage and for new signature. TODO more coverage on neumann, and some edge cases, and parameter order?
...
[SVN r82733]
2013-02-04 18:03:48 +00:00
Paul A. Bristow
8730f6099a
Added airy tests compared to Wolfram and these pass OK.
...
[SVN r82730]
2013-02-04 14:24:44 +00:00
John Maddock
b86772e095
Tweak airy zero interfaces.
...
Change output_iterator template param to OutputIterator.
Change iterator based functions to return iterator result.
[SVN r82689]
2013-02-02 17:32:50 +00:00
John Maddock
cd4d475af5
Fix bessel_zero calls to match Chris's new interface.
...
[SVN r82686]
2013-02-02 12:04:59 +00:00
Paul A. Bristow
4e10dbab66
Drafted some tests for single value Bessel zeros, but domain_error exceptions not right yet.
...
TODO airy zeros.
[SVN r82680]
2013-02-01 15:44:51 +00:00
Paul A. Bristow
2b8eb7ef38
commented out two tests zztest_max_digits10.cpp and ztest_max_digits10.cpp test for support of max_digits10.
...
[SVN r82671]
2013-01-31 16:54:31 +00:00
John Maddock
3c1dd01d04
Add Boost.Multiprecision integration concept checks.
...
Fix errors that result.
[SVN r82656]
2013-01-28 09:32:31 +00:00
John Maddock
e2ce70b935
Fix output iterator usage to meet conceptual requirements.
...
Remove use of long long constants and change to double as mpfr_class has no conversion from long long :(
Fix typos in math_fwd.hpp.
Add new functions to concept tests.
[SVN r82623]
2013-01-26 12:58:55 +00:00
John Maddock
be17efbc81
Fix long double exp tests - previous test values suffered from loss in precision of inexact input values.
...
[SVN r82605]
2013-01-25 13:21:58 +00:00
John Maddock
ac8018ab48
Split test_instances lib up into even smaller blocks.
...
Fix a few gcc-mingw test failures.
Fix typo in spherical harmonic docs.
[SVN r82598]
2013-01-24 17:49:57 +00:00
John Maddock
fd8770b9b5
Modify constants code to return a constant reference when returning a cached value, while still maintaining value semantics and constexpr support for built in types.
...
[SVN r82585]
2013-01-22 12:16:51 +00:00
John Maddock
77c48bc4b2
Fix some warnings.
...
Fix edge case in hypergeometric distribution.
Fixes #7429 .
Fixes #7891 .
[SVN r82520]
2013-01-17 13:27:48 +00:00
John Maddock
a61b5eb7b5
More accuracy improvements based on suggestions by Rocco Romeo.
...
[SVN r82217]
2012-12-27 08:44:08 +00:00
Paul A. Bristow
5b791ac5b3
Added licence info to files listed in report.
...
[SVN r81744]
2012-12-06 15:44:24 +00:00
Marshall Clow
5015967f95
Removed missed usage of deprecated macros in Boost.Math
...
[SVN r81586]
2012-11-27 14:19:45 +00:00
John Maddock
b9e891404a
Fix improper overflow error handling in asinh.hpp.
...
Update asinh and acosh test cases.
Add fixes to release notes and regenerate docs.
Fixes #7416 .
[SVN r80695]
2012-09-24 17:16:29 +00:00
John Maddock
068e88fa36
Fix atanh error handling.
...
Add extra tests to catch above bug.
Fixes #7415 .
[SVN r80692]
2012-09-24 16:23:06 +00:00
Paul A. Bristow
d89b599121
Messsages inserted to find closer to line causing trouble on GCC
...
[SVN r80197]
2012-08-25 10:14:14 +00:00
John Maddock
e5723529c2
Fix remaining GCC and Intel issues for very large v in non-central t.
...
[SVN r80195]
2012-08-25 09:13:42 +00:00
Paul A. Bristow
b164089abb
Added infinite degrees of freedom support and other new tests.
...
[SVN r80116]
2012-08-21 17:36:09 +00:00
John Maddock
4be8acfe68
Fix numerical stability problem in incomplete beta: ibeta_fraction2 sometimes has catastrophic cancellation errors when a and b are large and x is near 1.
...
Change non central t series termination conditions to check for divergent series.
Update tests with new larger test values.
[SVN r80065]
2012-08-17 11:18:18 +00:00
John Maddock
bf39b3834a
Fix bug in incomplete beta which causes an exception to be thrown in itrunc when one argument is very large.
...
Fix several similar issue in the non-central T which cause cancellation errors if we let the starting iteration be zero.
Remove dead code that results from above changes.
Minor fixes to table_type and test_next.cpp.
[SVN r80061]
2012-08-16 15:27:40 +00:00
Paul A. Bristow
e650b22aca
Reverted to previous version to get back lost content.
...
[SVN r80028]
2012-08-14 07:56:17 +00:00
Paul A. Bristow
cca8db714e
Added (correct) copyright and non-ASCII chars.
...
[SVN r79977]
2012-08-12 11:24:15 +00:00
Paul A. Bristow
3a39099b41
Added (correct) copyright and non-ASCII chars.
...
[SVN r79976]
2012-08-12 11:21:31 +00:00
Paul A. Bristow
f2e2e08908
Changed to use
...
if (typeid(RealType) != typeid(boost::math::concepts::real_concept))
{ // Ordinary floats only.
to avoid failure of previous string name comparison by gcc and other platforms.
[SVN r79921]
2012-08-08 09:26:47 +00:00
Paul A. Bristow
7737ce6a06
Tets for Major update to allow df == +infinity.
...
[SVN r79912]
2012-08-07 15:56:27 +00:00
Paul A. Bristow
a261d44d3e
Test of using the 1/eps to switch to normal distribution.
...
[SVN r79891]
2012-08-06 16:29:38 +00:00
Paul A. Bristow
c9fde3be32
Back to plan A! not defined for v <= k - no infinity from moments.
...
(TODO use normal for df = infinity?)
[SVN r79837]
2012-08-01 17:12:00 +00:00
Paul A. Bristow
a2fc557d79
Added comments
...
[SVN r79835]
2012-08-01 16:37:01 +00:00
Paul A. Bristow
69ba66929d
Rebuilt after edits to quiet nags.
...
[SVN r79834]
2012-08-01 16:32:48 +00:00
Paul A. Bristow
0617e03ad3
Comment out display of pdf(dist, 0.45) and retest skew_normal.hpp
...
[SVN r79812]
2012-07-31 11:18:11 +00:00
Paul A. Bristow
7930b8b8a4
Explicit boost::math::policies::domain_error; and pole_error to avoid complaint of duplicate declaration by Intel-Darwin-12. (but unclear where a duplicate declaration actually exists).
...
[SVN r79806]
2012-07-30 19:53:14 +00:00
Paul A. Bristow
571ed0ebaa
Further revision of students t tests, making inline to hope to avoid gcc compile problem.
...
[SVN r79795]
2012-07-29 09:45:42 +00:00
Paul A. Bristow
76c9e6d678
Revised checks on moments and return values.
...
[SVN r79769]
2012-07-27 15:29:44 +00:00
Paul A. Bristow
9c3898d306
Revised for Trac #7717
...
[SVN r79760]
2012-07-26 18:04:02 +00:00
Paul A. Bristow
7e54754504
Updated tests to use new macro BOOST_NO_CXX11_NUMERIC_LIMITS
...
[SVN r79741]
2012-07-25 13:35:27 +00:00
John Maddock
513d4aedfc
Fix up Linux x64 tests a little better - note that the test with the FPU in FTZ mode still fail pretty badly, especially with Intel-12.1
...
[SVN r79576]
2012-07-17 16:54:41 +00:00
John Maddock
c2e90167f7
Tentative fix for issue #4445 .
...
Adds tests for next.hpp when using the SSE2 instruction set in DAZ and FTZ modes.
Note that FTZ mode is particularly pernicious as non-zeros can change to zeros at random points in program flow depending upon the exact instructions generated by the compiler - thus breaking program logic/invariants.
Refs #4445 .
[SVN r79572]
2012-07-17 09:22:59 +00:00
John Maddock
c3da72b1b2
Fix typo in Hankel function implementation that causes incorrect values to be returned for x < 0 and v an odd integer.
...
Add additional Hankel function tests.
Add a couple of missing header inclusion tests.
Update history in docs, and regenerate HTML.
Fixes #7135 .
[SVN r79510]
2012-07-14 18:34:01 +00:00
John Maddock
c585419ec2
Allow fpclassify and friends to be used with integer types via the usual promotion mechanism.
...
Fixes #6517 .
[SVN r79438]
2012-07-12 09:51:32 +00:00
John Maddock
b1d516cf49
Fix numeric_limits specialization.
...
[SVN r79419]
2012-07-11 17:26:05 +00:00
Paul A. Bristow
e339ad75d2
Two temporary tests for which platforms provide numeric_limits max_digits10 and if BOOST_NO_NUMERIC_LIMITS_LOWEST is a suitable macro to check that max_digtsi10 is implemented before using in Boost.Test for radix10 when the Kahan formula is not applicable.
...
[SVN r79260]
2012-07-04 13:58:56 +00:00
John Maddock
d6236139df
Fix for GCC/Linux failure.
...
[SVN r78790]
2012-06-01 11:58:56 +00:00
John Maddock
fbc849c24e
Enhance exponential_distribution tests.
...
Refs #6934 .
[SVN r78784]
2012-05-31 11:58:06 +00:00
John Maddock
6007215c95
Update more distribution tests for fisher_f and extreme_value and fix failures.
...
Refs #6934 .
[SVN r78783]
2012-05-31 11:15:42 +00:00
Paul A. Bristow
b66b890912
Added check out of range
...
[SVN r78782]
2012-05-31 11:11:21 +00:00
John Maddock
73c9b11179
Update more distribution tests, from Inverse* down to gamma.
...
Refs #6934 .
[SVN r78778]
2012-05-31 10:18:02 +00:00
Paul A. Bristow
ccc3291da6
added check_out_of Range
...
[SVN r78777]
2012-05-31 09:36:24 +00:00
John Maddock
392fbeeddd
Add extra error tests for negative_binomial to laplace distros.
...
Refs #6934 .
[SVN r78773]
2012-05-30 18:15:41 +00:00
John Maddock
41bd4bd442
Update to use new out-of-bounds error checking.
...
Refs #6934 .
[SVN r78771]
2012-05-30 16:52:18 +00:00
Paul A. Bristow
c732b6e85b
Corrected comments.
...
[SVN r78770]
2012-05-30 16:39:37 +00:00
Paul A. Bristow
70868fb2a2
Added out of range checks (and normal.hpp now range infinity if supported.
...
[SVN r78769]
2012-05-30 16:39:12 +00:00
Paul A. Bristow
c30e63349a
Added out of range checks
...
[SVN r78767]
2012-05-30 16:32:12 +00:00
Paul A. Bristow
a752f9f593
Added out_of_range checks - and corrected beta.hpp for missing () in checks.
...
[SVN r78764]
2012-05-30 16:28:59 +00:00
Paul A. Bristow
0b6be607ba
Explanatory comments added.
...
[SVN r78762]
2012-05-30 14:21:06 +00:00
John Maddock
d39cf53e86
Update to allow for infinite range.
...
[SVN r78753]
2012-05-29 18:24:29 +00:00
John Maddock
bc2dc1d4dd
Add boilerplate code for testing most domain errors in the distributions.
...
Update the non-central distributions to make use of it.
[SVN r78751]
2012-05-29 17:43:16 +00:00
Paul A. Bristow
0c5c91f6df
Added more tests for bad parameters and non-finites.
...
[SVN r78748]
2012-05-29 15:58:06 +00:00
Paul A. Bristow
b2e3224cf6
Added more tests that check that nonfinites throw.
...
[SVN r78746]
2012-05-29 15:38:49 +00:00
John Maddock
3e9242ade2
Improve testing of error conditions and fix any errors detected.
...
Takes care of distributions normal-weibull.
Refs #6937 .
[SVN r78726]
2012-05-28 17:42:50 +00:00
John Maddock
a1789c4766
Tighten Weibull distro tests.
...
Fix corner cases in Weibull distro.
Fixes #6939 .
Fixes #6938 .
[SVN r78723]
2012-05-28 16:27:00 +00:00
John Maddock
02787878e6
Update concept checks to unmask issues reported in #6934 .
...
Add some distributions to the concept tests that were missing before.
Add skew_normal_distribution to distributions.hpp.
Fix some errors in calculating custom policies when the defaults have been changed.
Fix the errors and warnings that result from the above.
Refs #6934 .
[SVN r78711]
2012-05-28 11:05:43 +00:00
Paul A. Bristow
42e26d7071
Typo and date corrected
...
[SVN r78578]
2012-05-24 10:44:13 +00:00
John Maddock
382d525d15
Add basic versions of the Airy functions.
...
Add some extra jacobi, hankel and owens_t tests and fix resulting errors.
Allow remez code to work with expression template types.
Regenerate docs.
[SVN r78527]
2012-05-21 09:45:48 +00:00
John Maddock
7e2f70a685
Fix some gcc-linux test errors and warnings.
...
Update docs to match.
[SVN r78493]
2012-05-17 10:13:27 +00:00
John Maddock
056745573f
Add the Jacobi elliptic special functions.
...
[SVN r78492]
2012-05-17 09:19:57 +00:00
John Maddock
b9094f3828
Change to use static linking throughout, otherwise things get a little confused.
...
[SVN r78269]
2012-04-30 14:08:02 +00:00
John Maddock
78fc9fb7d6
Some more IBM C++ fixes.
...
[SVN r78264]
2012-04-30 11:38:20 +00:00
John Maddock
be93fe3b95
Rename hankel_hX to hankel_X.
...
Update tests and docs for Hankel functions.
[SVN r78253]
2012-04-29 12:39:28 +00:00
John Maddock
d099a2bbf0
Add first draft of Hankel functions.
...
Add some Math lib docs that were previously missing.
[SVN r78245]
2012-04-28 17:59:37 +00:00
John Maddock
fe611467f4
Fix up tests to not run real_concept tests when BOOST_MATH_NO_REAL_CONCEPT_TESTS is set.
...
[SVN r78208]
2012-04-26 15:48:42 +00:00
John Maddock
ac0d76900a
Add code to force initialization of constants prior to the start of main().
...
Rename "do_nothing" to "force_instantiate" which better describes what it does.
Fix up the resulting failures.
[SVN r78193]
2012-04-25 17:16:09 +00:00
John Maddock
ec742b4b80
Merge Owen's T function and Skew Normal code from sandbox and fix whatever failures show up.
...
Regenerate docs.
[SVN r78130]
2012-04-22 10:23:03 +00:00
John Maddock
ba18f9b7ff
Don't declare over-large constants in test_long_double_support.cpp
...
[SVN r78109]
2012-04-21 08:58:57 +00:00
John Maddock
f149d4cf53
Fix double-definition of float_t in tr1.hpp.
...
Tweak behaviour of BOOST_MATH_BIG_CONSTANT.
Fix expected error rates for a bunch of tests (mostly on Mingw).
Fix paths in owens_t.qbk.
[SVN r78107]
2012-04-21 08:43:06 +00:00
John Maddock
316a12eccd
Update to match latest multiprecision code in sandbox.
...
[SVN r77847]
2012-04-09 08:40:12 +00:00
John Maddock
84fd5686e7
Update test to determine heuristically how the std lib formats zeros.
...
[SVN r77516]
2012-03-24 19:30:52 +00:00
John Maddock
d94751ba33
Fix numeric error in bessel_jy.hpp.
...
Remove some dead code from bessel_jy.hpp.
Add additional test cases for above bug.
Update and regenerate docs to match.
[SVN r77513]
2012-03-24 11:59:21 +00:00
Paul A. Bristow
4e41f09651
Using just _cpp_lib_ to sense dinkumware STL
...
[SVN r77470]
2012-03-22 08:44:43 +00:00
Paul A. Bristow
98aeaf32a5
1st try to cater for non-dinkumware systems.
...
[SVN r77430]
2012-03-20 12:36:30 +00:00
Paul A. Bristow
afb318e74f
Added platform info to try to ascertain which STL versions are causing unexpected signed zero failures.
...
[SVN r77332]
2012-03-14 12:28:37 +00:00
Paul A. Bristow
85af75cac9
Commented out test using defaultfloat as only available on TR1 and C++11 platforms.
...
[SVN r77302]
2012-03-11 12:49:08 +00:00
Paul A. Bristow
4103a19d4e
Some comments added.
...
[SVN r77273]
2012-03-08 18:28:47 +00:00
Paul A. Bristow
4744ac5d37
Added new tests for output of inf and NaNs with various ostream options.
...
[SVN r77272]
2012-03-08 18:25:06 +00:00
Paul A. Bristow
4a833e85c2
Many more tests added to resolve Trac #6627 .
...
[SVN r77271]
2012-03-08 18:19:19 +00:00
Paul A. Bristow
1383a64f8b
Added tests for new constants two_div_pi and root_two_div_pi
...
[SVN r76822]
2012-02-01 14:02:02 +00:00
John Maddock
6fc9eb72a9
Fix GCC some warnings, plus one failure.
...
[SVN r76821]
2012-02-01 13:06:17 +00:00
Paul A. Bristow
c6ca03bde1
Added tests for new constants two_div_pi and sqrt_two_div_pi
...
[SVN r76819]
2012-02-01 12:28:38 +00:00
John Maddock
03ced014ee
Fix Linux x64 error rates
...
[SVN r76754]
2012-01-28 17:59:49 +00:00
John Maddock
682d60c363
Merge new math constants code from the sandbox.
...
Regenerate docs.
Fix build failures caused by merge.
[SVN r76736]
2012-01-28 12:13:17 +00:00
John Maddock
887f590fcd
Refactor the tests some more: allow tables of data to be of a different type to the type being tested - allows us to have tables of POD's (fast to compile) rather than tables of UDT's which compile very slowly on some compilers (usually Intel).
...
[SVN r76544]
2012-01-16 18:25:02 +00:00
John Maddock
c5bdd41539
Correct overflow logic in Bessel Y and add new test case.
...
Fixes #6367 .
[SVN r76373]
2012-01-08 18:51:23 +00:00
John Maddock
e32fd993bb
Add file missed in last commit.
...
[SVN r76308]
2012-01-04 18:56:48 +00:00
John Maddock
4baef4e354
Refactor tests to make better use of separate file compilation and reduce compile/testing times.
...
[SVN r76307]
2012-01-04 17:28:50 +00:00
John Maddock
baa9893a6a
Add missing file.
...
[SVN r76191]
2011-12-26 18:15:47 +00:00
John Maddock
af0c106290
Update zeta implementation to use much faster algorithm.
...
Change zeta test to use external template instances.
[SVN r76092]
2011-12-21 16:07:37 +00:00
John Maddock
381bddafa0
Finish moving test cases into headers.
...
Fix array declarations so GCC doesn't warn about them.
Declare constants in headers so they can be used by UDT's larger than type long double.
Suppress a few warnings and fix a couple of bugs that showed up when testing with UDT's.
[SVN r75960]
2011-12-15 11:23:35 +00:00
John Maddock
434d53bc83
Fix complex number routines to work with signed zeros, changes involve:
...
* Use boost::math::signbit rather than comparison to zero.
* Use boost::math::changesign rather than unary negation (unary negation fails for Intel on Linux when the argument is a zero).
* Update to use boost::math::isnan/isinf rather than the old code.
* Update to use boost::math constants.
Fixes #6171 .
[SVN r75933]
2011-12-13 18:11:46 +00:00
John Maddock
8d9372fac9
Begin refactoring math lib test cases as template so they can used by other numerical types.
...
Change constant declarations in the Math lib headers to give full digits when used with UDT's that are constructible from strings.
[SVN r75820]
2011-12-06 09:38:16 +00:00
Paul A. Bristow
4969ee33f6
Corrected test of complement cdf (with Yan Zhou patch).
...
[SVN r75592]
2011-11-21 12:58:22 +00:00
John Maddock
48e179266b
Fix error checking for trunc and round functions.
...
Update tests to match.
[SVN r74925]
2011-10-12 11:06:09 +00:00
John Maddock
f617e8e284
Change nextafter and related functions to handle infinities as arguments the same way as GLIBC and MSVC.
...
Fixes #5823 .
[SVN r74918]
2011-10-11 17:28:13 +00:00
Gennadiy Rozental
125edbe8e0
eliminated test_case_template.hpp
...
[SVN r74735]
2011-10-05 10:28:08 +00:00
Gennadiy Rozental
c6190ac181
eliminated unit_test_framework and BOOST_MESSAGE
...
[SVN r74722]
2011-10-05 09:28:25 +00:00
Paul A. Bristow
299ac65bf3
Uncommented to correct #include pch.hpp mistake.
...
[SVN r73439]
2011-07-30 11:29:52 +00:00
Paul A. Bristow
3091965c44
Reported ambiguity from detail so made explicit boost::math::constants rather than using using namespace boost::math::constants.
...
[SVN r73431]
2011-07-29 15:18:01 +00:00
Paul A. Bristow
4e13294bae
Corrected wrong test values in uniform cdf complemented.
...
(and wrong code in uniform.hpp)
[SVN r73359]
2011-07-25 16:47:57 +00:00
Paul A. Bristow
4a23024043
Warning c4511 disabled for 7.1 lexical cast test
...
[SVN r73354]
2011-07-25 09:29:04 +00:00
Paul A. Bristow
6da378b70e
Added comments
...
[SVN r73352]
2011-07-25 09:26:59 +00:00
John Maddock
57cc822890
Fix name of #include file.
...
[SVN r72813]
2011-06-30 08:50:24 +00:00
John Maddock
4cf83544cd
Add new series evaluation forms for the Bessel J and Y functions.
...
Also take extra care when evaluating to avoid spurious overflow/underflow.
Changed check_series_iterations to know the real-number type so messages are properly formatted.
Updated docs to match and regenerated.
Fixes #5560 .
[SVN r72415]
2011-06-05 16:56:17 +00:00
John Maddock
3b71dc32eb
Update Bessel functions to use series representations when x is small compared to v and also to prevent the generation of NaN's in such cases.
...
Update docs to match.
Fixes #5560 .
[SVN r72221]
2011-05-27 17:24:08 +00:00
John Maddock
0129f70e44
Rename to all lower case.
...
[SVN r71887]
2011-05-12 12:17:06 +00:00
John Maddock
1f6642b388
Add initial version of e_float support.
...
[SVN r71674]
2011-05-02 18:21:28 +00:00
Paul A. Bristow
a6cea5c497
Complied with min/max requirements.
...
[SVN r71497]
2011-04-26 08:46:23 +00:00
Paul A. Bristow
99af0cdc27
signbit(static_cast<CharType>(-1e-6f)/std::numeric_limits<CharType>::max())
...
!= 0
test used.
[SVN r71444]
2011-04-23 16:50:11 +00:00
Paul A. Bristow
978bf2a3be
Added test for signed zero.
...
[SVN r71442]
2011-04-23 14:19:32 +00:00
Paul A. Bristow
d9c9b37cc9
Comments on checks.
...
[SVN r71436]
2011-04-23 13:42:39 +00:00
Paul A. Bristow
883c2a513c
Added checks for has_infinity ...
...
[SVN r71435]
2011-04-23 13:37:13 +00:00
Paul A. Bristow
ad9d9921a7
Corrected file locations for trunk and removed tabs).
...
[SVN r71434]
2011-04-23 13:30:10 +00:00
John Maddock
1982cb4a4c
Fix remaining Intel regressions.
...
Add prototypes to fwd header.
Add new functions to the concept checks.
[SVN r71432]
2011-04-23 08:17:10 +00:00
John Maddock
fb1f3a9bf6
Fix Intel/Linux regressions.
...
[SVN r71420]
2011-04-22 17:24:53 +00:00
John Maddock
52fac87f09
Added admonishment to signbit docs and regenerates docs.
...
Fixed test case involving bad assumption about the return value of signbit.
Fixed GCC compiler warnings.
[SVN r71414]
2011-04-22 09:54:36 +00:00
Paul A. Bristow
70adb63c87
Tabs removed, end newlines added, and max/min () to meet inspection report comments.
...
[SVN r71380]
2011-04-19 18:00:17 +00:00
Paul A. Bristow
5c889b387e
New tests for changesign and nofinite facets added. Pass locally on MSVC 10.
...
[SVN r71369]
2011-04-18 16:18:08 +00:00
Paul A. Bristow
df5809ef5f
Johan Rade tests for nonfinites.
...
[SVN r71368]
2011-04-18 16:12:14 +00:00
Paul A. Bristow
cec402f9b6
More nonfinite tests
...
[SVN r71296]
2011-04-15 17:52:54 +00:00
Paul A. Bristow
c4c88318e7
Johan Rade tests for nonfinites.
...
[SVN r71295]
2011-04-15 17:30:20 +00:00
Paul A. Bristow
21441c69df
Helper files for nonfinite tests.
...
[SVN r71294]
2011-04-15 17:29:26 +00:00
Paul A. Bristow
40ab64c0ea
Added changesign
...
[SVN r71285]
2011-04-15 14:58:43 +00:00
John Maddock
5b6c4bfeb6
Change the name of the extern "C" TR1 functions so they no longer clash with (possibly inline) std lib versions.
...
Fixes #4828 .
[SVN r68653]
2011-02-05 10:49:43 +00:00
John Maddock
91471146f1
Fix acosh bug, and update tests and docs accordingly.
...
Fixes #5113 .
[SVN r68421]
2011-01-24 19:04:24 +00:00
Steven Watanabe
3524499fc0
Revert [67111] (addition of boost/detail/iomanip.hpp) and all the commits that depend on it. ([68137], [68140], [68141], [68154], and [68165]).
...
[SVN r68168]
2011-01-15 08:11:51 +00:00
Bryce Adelstein-Lelbach
a52fce70a8
Reverting some accident changes to a few jamfiles from my last commit.
...
[SVN r68141]
2011-01-14 02:51:17 +00:00
Bryce Adelstein-Lelbach
f11d1c3c2b
Replacing the use of <iomanip> with <boost/detail/iomanip.hpp> across Boost.
...
On Linux, GNU's libstdc++, which is the default stdlib for icc and clang,
cannot parse the <iomanip> header in version 4.5+ (which thankfully neither
compiler advises the use of yet), as it's original C++98-friendly
implementation has been replaced with a gnu++0x implementation.
<boost/detail/iomanip.hpp> is a portable implementation of <iomanip>, providing
boost::detail::setfill, boost::detail::setbase, boost::detail::setw,
boost::detail::setprecision, boost::detail::setiosflags and
boost::detail::resetiosflags.
[SVN r68140]
2011-01-14 02:35:58 +00:00
John Maddock
309e2c3ec5
Add support for "mpreal" wrapper for mpfr.
...
Add concept check for mpreal type.
Add previously missing doc file.
Fix type promotion rules to do the right thing when one type is a class type that's implicitly convertible to a real.
[SVN r67282]
2010-12-17 16:04:51 +00:00
John Maddock
555f3d6736
Improve performance of non-central T by simplifying the arithmetic where possible.
...
Change error handlers to pass the target type down to "rounding errors".
Change the rounding error handlers to return a well defined value (the maximum representable value in the target type).
Update and complete docs on rounding errors.
Fix typo in test/test_beta_dist.cpp.
Regenerate the docs.
Remove illegal comment from test_constants.cpp.
Fixes #4977 .
[SVN r67231]
2010-12-14 19:22:52 +00:00
Paul A. Bristow
7066584f84
Removed inverse_uniform.hpp
...
[SVN r67221]
2010-12-13 16:46:36 +00:00
Paul A. Bristow
a8167547d8
Test Corrected handling of cases that should raise overflow_error
...
[SVN r67211]
2010-12-13 16:34:14 +00:00
Paul A. Bristow
c7529cc4da
Actually use sqrt(epsilon) in test
...
[SVN r67210]
2010-12-13 16:32:38 +00:00
John Maddock
4702b2b1c8
Fix test values and *lower* tolerance.
...
[SVN r67100]
2010-12-08 09:54:59 +00:00
Paul A. Bristow
0d5c831761
Comment on max theoretical accuracy for median which uses Brent's algorithm.
...
[SVN r67087]
2010-12-07 18:00:54 +00:00
John Maddock
8177da58be
Add non-functional stub versions of the skewness and kurtosis to the non-central beta.
...
Update tests accordingly, and suppress some compiler warnings.
[SVN r66986]
2010-12-03 17:55:00 +00:00
John Maddock
7ff88c69f1
Added concept checks for new distros, and fixed resulting errors.
...
Added mean and variance to non-central beta.
[SVN r66985]
2010-12-03 16:23:55 +00:00
Paul A. Bristow
b3944c07f0
Increased tolerance for real_concept failure
...
[SVN r66971]
2010-12-02 12:27:16 +00:00
Paul A. Bristow
22cb5fc9e7
Increased tolerance for realconcept long double failures.
...
[SVN r66970]
2010-12-02 12:22:58 +00:00
Paul A. Bristow
2559953dd5
Added missing static_cast to quiet warning
...
[SVN r66969]
2010-12-02 12:19:28 +00:00
Paul A. Bristow
713df8e8f0
Increased tolerance to avoid long double failure
...
[SVN r66968]
2010-12-02 11:39:55 +00:00
Paul A. Bristow
97471e2e29
Enabled mean, variance ... for dotnetexample (TODO return NaN?)
...
[SVN r66954]
2010-12-01 18:40:02 +00:00
Paul A. Bristow
4134fa5864
Change test values to long
...
[SVN r66890]
2010-11-30 11:38:19 +00:00
Paul A. Bristow
3d263c7621
Check before using max_digits10
...
[SVN r66885]
2010-11-30 10:03:01 +00:00
Paul A. Bristow
e94d8be838
Changed tolerance to explicitly cast 1e-4 to RealType to try to remove gcc long double test failures.
...
[SVN r66837]
2010-11-29 10:06:52 +00:00
Paul A. Bristow
10129df762
Correction
...
[SVN r66764]
2010-11-26 10:22:21 +00:00
Paul A. Bristow
2f8b1db494
New test
...
[SVN r66734]
2010-11-24 16:55:52 +00:00
Paul A. Bristow
904dd93811
New geometric
...
[SVN r66733]
2010-11-24 16:55:19 +00:00
Paul A. Bristow
2b6205a1c8
New test /test_real_concept_neg_bin.cpp
...
[SVN r66718]
2010-11-24 16:28:18 +00:00
Paul A. Bristow
4b785900bc
Added comment on pch include needed.
...
[SVN r66717]
2010-11-24 16:27:33 +00:00
Paul A. Bristow
b0eb3cea87
Corrected tests
...
[SVN r66716]
2010-11-24 16:26:47 +00:00
Paul A. Bristow
ee3db8ad35
Added new distributions.
...
[SVN r66715]
2010-11-24 16:26:22 +00:00