2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-26 18:52:10 +00:00
Commit Graph

354 Commits

Author SHA1 Message Date
jzmaddock
177c642cbc Big GCC warning fix - see https://github.com/boostorg/math/issues/136 2018-07-28 11:33:41 +01:00
Brian Kuhl
70612cd472 Keep examples clean, disable build for VxWorks 2018-06-25 20:06:48 -04:00
Brian Kuhl
bb6bdc4c61 Use <boost::math::policies::real> instead of <real>
Dinkum STL declares and inline real() function in the global namespace that clang can not distinguish from policies::real otherwise
2018-06-24 22:41:39 -04:00
Katrin Leinweber
213494c7a7 Hyperlink DOIs against preferred resolver 2018-06-24 08:21:16 +02:00
pabristow
50a8b2909b Improvements to Brent example to avoid previous ugly warnings. (untested for building docs yet). 2018-06-03 17:55:29 +01:00
jzmaddock
52c1f1c932 Fix 2 minor CI failures. 2018-06-02 13:35:26 +01:00
pabristow
637a35450b improve brent minimise example. 2018-06-01 18:02:06 +01:00
jzmaddock
b01ea3af0d Disable brent_minimise_example.cpp in C++03. 2018-06-01 09:25:09 +01:00
pabristow
f7127c6fd3 remove need for c++11 default function template parameter. 2018-05-31 16:31:42 +01:00
pabristow
0fe646388f Corrected brent minimisation example 2018-05-30 17:22:30 +01:00
pabristow
0f6d5eb059 Added brent minimisation example 2018-05-30 17:21:41 +01:00
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