2
0
mirror of https://github.com/boostorg/math.git synced 2026-02-09 23:22:35 +00:00
Commit Graph

308 Commits

Author SHA1 Message Date
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
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
jzmaddock
805fb89a61 Improve root finding examples.
Add updated elliptic integral tests.
Add lambda example.
Tweak wording in places.
2015-05-05 13:22:29 +01:00
jzmaddock
ef0241c0a3 Add elliptic integral example. 2015-05-04 18:36:40 +01:00
jzmaddock
dc1c023540 Minor edits to minimization docs and examples. 2015-04-30 18:33:18 +01:00
jzmaddock
a0fb417bc0 Tidy up comments. 2015-04-30 18:32:48 +01:00
jzmaddock
5cbf37159e Change to use sensible defaults for required digit counts. 2015-04-29 17:57:27 +01:00
jzmaddock
6277275f32 Make sure results of timed calls are really *really* used.
Optimize derivative calculation to reduce redundant computation.
2015-04-28 18:45:24 +01:00
jzmaddock
8d394d4f53 Make sure calculated results are really used to avoid spurious optimizations. 2015-04-27 19:43:56 +01:00
jzmaddock
8b0aaec93f Tidy up:
Remove unneeded '#includes.
Improve finding of boost-root.
Fix debug/release detection to not use MSVC specific macros.
2015-04-27 19:27:22 +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