2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-24 06:02:08 +00:00

567 Commits

Author SHA1 Message Date
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
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
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
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
7dbd074343 Add population example. 2017-03-03 08:58:18 -06:00
Nick Thompson
2b9d88d352 Fixes suggested by code review of PR #57. 2017-03-02 11:54:55 -06: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
pabristow
84a626e000 Revision to Chap 3 overview section 2016-08-12 16:12:46 +01:00
pabristow
62aa43b044 Removed example/quadmath_snprintf.c 2016-08-12 15:16:17 +01:00
pabristow
fe4dbc344a Additions to cstdfloat and float128 docs 2016-08-03 12:03:26 +01:00
Jeremy W. Murphy
0fd22d787c polynomial: Example documentation for test/set zero. 2016-05-15 18:32:17 +10: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
993cdcb42e Reduce dependencies by removing all use of Boost.Format.
We made only cursory use of the lib, so it's just as easy to do with it.
Also fixed a number of missing #includes which were hidden by including format.hpp.
2016-05-09 11:38:13 +01:00
Jeremy W. Murphy
ab87cb4d27 polynomial: Document right/left shift and odd/even functionality. 2016-04-07 14:54:39 +10:00
Jeremy W. Murphy
e75d47e24a Fix bugs in printing out zero coefficients. 2016-04-07 14:53:33 +10:00
Jeremy W. Murphy
d9fa9fc477 Make an example of brace initializer_list construction. 2016-03-02 13:39:02 +11:00
pabristow
7a7d3321fe Moved polystuff to tools, added JWM as author and numerous minor edits 2015-12-14 16:13:05 +00:00
pabristow
b2bd954faa Polish polynomial example. 2015-12-13 17:33:17 +00: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
ccbab25823 Polynomial arithmetic example. 2015-12-13 18:18:20 +11:00
akumta
352250c017 remove redundant using statement 2015-12-02 11:19:28 -08:00
akumta
a1c290b1cf remove redundant using statement 2015-12-02 11:10:28 -08:00
akumta
0a88915e2f remove redundant using statement 2015-12-02 11:09:49 -08:00
akumta
bf6c0c55dd remove redundant using statement 2015-12-02 11:08:37 -08:00
akumta
700dae7e89 remove redundant using statement 2015-12-02 11:06:51 -08:00
akumta
7ed88bcdcc update for ticket #11827 2015-12-01 11:05:45 -08:00
akumta
108475fcbf update for ticket #11827 2015-12-01 11:04:29 -08:00
akumta
cf75babb29 update for ticket #11827 2015-12-01 11:03:32 -08:00
akumta
e45ef56d65 update for ticket #11827 2015-12-01 11:01:28 -08:00
akumta
44011b9ec1 update for ticket #11827 2015-12-01 10:56:55 -08:00
jzmaddock
d719e4b567 Remove no longer needed special_functions sub-directory.
Also fix lots of inspect-report failures.
2015-09-07 19:35:29 +01:00
jzmaddock
59a2bd5cb8 Remove the quaternion directory and move contents elsewhere. 2015-09-07 19:09:55 +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
258a2aeb4c Big warning suppression fix for VC14. 2015-08-01 18:00:41 +01:00
jzmaddock
3bc8020b0d Add docs for airy zeros.
Implementation notes still need adding!
2015-05-26 19:37:43 +01:00
jzmaddock
cb752efcb3 Paul's doc corrections. 2015-05-25 08:46:48 +01:00
jzmaddock
73c27a1a6d Rewrite float-comparison docs to use new public interfaces. 2015-05-23 12:06:36 +01:00
jzmaddock
251e556e42 Fix spelling of "tripples". 2015-05-18 18:28:53 +01:00
jzmaddock
74a42f98ea Fix various typos.
Change Schroeder to Schroder.
2015-05-18 18:23:47 +01:00
jzmaddock
7dd1fb6342 Build performance tables from Jamfile.
Improve table generation.
Update docs with GCC tables.
2015-05-14 13:27:50 +01:00
jzmaddock
95e1ca379b Add the program that generates iteration count tables. 2015-05-12 19:35:12 +01:00
jzmaddock
0b166f37ab Merge branch 'develop' into rooting 2015-05-11 19:08:00 +01:00
jzmaddock
36d0b96347 Tidy up n'th root examples, add stub for elliptic examples. 2015-05-11 13:48:08 +01:00
jzmaddock
e68feb62b6 make boost-root locating consistent. 2015-05-10 11:59:58 +01:00
jzmaddock
ce3c5e5fbc Improve cbrt comparison code.
Tidy up docs.
Clean up unnecessary #includes
Improve file name handling.
Re run performance tests.
2015-05-09 18:32:40 +01:00
jzmaddock
282a74beea Correct call to abs - should be std::abs. 2015-05-06 18:36:30 +01:00