2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-20 16:52:09 +00:00

343 Commits

Author SHA1 Message Date
Nick Thompson
cfdbb333e7 [CI SKIP] Remove warning in example 2018-04-24 21:20:40 +08:00
jzmaddock
c79fa7e686 Fix documentation typos.
Fixes #13355 and #13403.
2018-03-02 18:08:34 +00:00
jzmaddock
8d78990aef Add monte carlo example to the tests. 2018-02-24 19:18:48 +00:00
jzmaddock
073e7a7196 Merge branch 'develop' into naive_monte_carlo 2018-02-16 17:59:00 +00:00
jzmaddock
af0ccb7362 Fix missing include. 2018-02-12 08:52:20 +00:00
Nick Thompson
67578ce12b Naive Monte-Carlo integration. Still needs to handle exceptions in threads. 2017-11-21 18:49:14 -07:00
jzmaddock
1783c3a74c Math: Fix inspection report errors. 2017-11-09 19:39:32 +00:00
jzmaddock
25cc8fdad7 Add Gauss and Gauss-Kronrod docs. 2017-09-09 19:18:08 +01:00
jzmaddock
e7e915816f Merge branch 'gauss_konrod' of https://github.com/NAThompson/math into gauss
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2017-08-24 11:47:26 +01:00
jzmaddock
21b00bba62 Merge branch 'develop' into pr66
Fixed Conflicts:
test/Jamfile.v2
2017-07-15 16:06:27 +01:00
jzmaddock
ffc1106124 Disable barycentric example for older compilers due to change in Boost.Range. 2017-07-01 08:26:24 +01:00
jzmaddock
0fab8fd7c5 Update example Jamfile to handle older compilers. 2017-06-30 09:26:54 +01:00
jzmaddock
9651db9ea7 Rework Jamfiles to make them easier to maintain,
also added examples to CI testing.
2017-06-29 18:27:26 +01:00
jzmaddock
092d4580fd Update and regenerate docs. 2017-06-27 18:35:30 +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
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
0d15adb16f CI: Fix some more mingw issues
Make serialization a static link and split gcc-6.3 tests into smaller blocks so we don't time out.
2017-06-05 19:49:08 +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
Nick
1753d6e9e4 Merge branch 'develop' into romberg 2017-05-18 17:34:52 -06: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
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
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
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
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
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
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