Commit Graph

451 Commits

Author SHA1 Message Date
Nick Thompson
37336e2372 Merge branch 'develop' into complex_newton 2018-12-04 14:28:52 -07:00
jzmaddock
c0f236e251 Merge branch 'develop' into catmull_rom
Fixed Conflicts:
	doc/Jamfile.v2

Corrected some doc formatting, and regenerated the docs.
2018-12-01 19:38:16 +00:00
Nick Thompson
af5b91a5be Let x* be the root of f. Add failing unit test for function such that f(x*) > sqrt(eps). [CI SKIP] 2018-11-26 14:10:14 -07:00
Nick Thompson
3ab69d00ee Complex Newton's method. Zero derivatives handled by Muller's Method. 2018-11-25 00:19:11 -07:00
Nick Thompson
5107c635bf Cleanup and formatting. [CI SKIP] 2018-11-18 23:46:36 -07:00
Nick Thompson
8cda150a6b Add an example calculating Daubechies coefficients to demo why anyone would care about complex polynomial root finding. [CI SKIP] 2018-11-15 15:44:14 -07:00
Nick
1472193cb4
Remove typo [CI SKIP] 2018-11-05 12:34:14 -07:00
Nick Thompson
096595facc Merge branch 'develop' into catmull_rom
Merge develop [CI SKIP]
2018-10-31 10:42:00 -06:00
Nick Thompson
c81919ff26 Remove typos and unused variables. 2018-10-30 14:39:49 -06:00
Nick Thompson
9e61547f33 Fix syntax error in docs. [CI SKIP] 2018-10-29 17:14:46 -06:00
Nick Thompson
381f663517 Merge and run CI 2018-10-28 23:27:41 -06:00
jzmaddock
d3b00f2beb Fix spelling of cxx11_explicit_conversion_operators. 2018-10-11 18:06:43 +01:00
pabristow
cdea7b6724 Added requirement explicit_conversion_operators 2018-10-11 13:59:55 +01:00
jzmaddock
43119aa7f8 Fix __float128 build support on lambert_w example. 2018-10-11 09:00:46 +01:00
pabristow
e961fb9c78 Add lambert_w new examples. 2018-10-09 15:35:08 +01:00
pabristow
20067e75e5 Added two more lambert_w examples and requires cxx_numeric_limits 2018-10-09 12:53:11 +01:00
pabristow
8a45f15c2d Avoid using max_digits10 in test to allow as old versions as possible to run 2018-10-08 15:10:38 +01:00
pabristow
a855f99989 Avoid using max_digits10 in test to allow as old versions as possible to run 2018-10-08 15:05:55 +01:00
pabristow
cd155591dd Added simplest possible test example. 2018-10-04 17:14:15 +01:00
pabristow
dadce7ae6f Added basic_lambert_w_example. 2018-10-04 17:08:06 +01:00
jzmaddock
364952fd8a LambertW: pedantic changes to docs.
[CI SKIP]
2018-08-30 18:21:28 +01:00
jzmaddock
bed980e202 Merge branch 'develop' into lambertw 2018-08-30 10:17:19 +01:00
jzmaddock
386898c089 Update continued fractions and series:
To support complex types, and better docs.
Fixes: https://github.com/boostorg/math/issues/129.
2018-08-20 21:22:06 +01:00
pabristow
c9f272ec1c Lambert W much modified to remove control of precision with policy and docs to match 2018-08-01 16:55:27 +01:00
jzmaddock
177c642cbc Big GCC warning fix - see https://github.com/boostorg/math/issues/136 2018-07-28 11:33:41 +01:00
pabristow
dcc8544578 Major edit done and graphs now show legend lines. 2018-07-24 11:24:20 +01:00
pabristow
8d77dc0516 Precision updated, quadrature notes added, need prime notes 2018-07-19 16:48:04 +01:00
pabristow
aaa38c3fee first draft of no-precision policy version. 2018-07-17 17:39:27 +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
pabristow
23ecd1a1c0 All changes before getting develop up-to-date. 2018-05-15 14:00:34 +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
pabristow
de4d578fc5 deconflict lambert_w.hpp 2018-02-19 16:54:52 +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
pabristow
b4ffbedf1e Change to use JM W0 version. 2018-01-30 12:11:03 +00:00
Nick Thompson
1781d47b78 [ci skip] Clarify conditions on the template point type. Add include and concept test. 2018-01-27 14:44:15 -06:00
pabristow
6d73d8f517 commit so can switch to develop (problem in one polynomial nearest singularity 2018-01-23 14:38:56 +00:00
Nick Thompson
9dce6d8bb9 Catmull-Rom: Add example and test to build, update docs. 2017-12-22 23:30:31 -07:00
Nick Thompson
d25677a704 Fix Archmedean spiral example for Catmull-Rom Curve. 2017-12-22 23:07:51 -07:00
Nick Thompson
4cce07e15e Implement tangent vector computation. Fix index lookup. Close all Catmull-Rom curves and document. 2017-12-22 16:31:36 -07:00
Nick Thompson
cad34ff756 First pass at a Catmull-Rom curve interpolator. 2017-12-21 16:12:24 -07:00
Nick Thompson
67578ce12b Naive Monte-Carlo integration. Still needs to handle exceptions in threads. 2017-11-21 18:49:14 -07:00
pabristow
9b9414c256 numerous minor fixes for JM 1st comments on docs 19Nov17 2017-11-20 17:03:29 +00:00
pabristow
21ccf8b183 More testing near zero and some typos fixed. 2017-11-17 17:57:45 +00:00
pabristow
6aa9f286ff Tests OK, including multiprecision. 2017-11-16 17:58:59 +00:00
jzmaddock
1783c3a74c Math: Fix inspection report errors. 2017-11-09 19:39:32 +00:00
pabristow
89ae728836 added graphs and updated docs to use them. 2017-11-06 17:18:33 +00:00
pabristow
dd06d2beae 100 decimal digit precision values and tests OK. 2017-10-10 15:13:49 +01:00
jzmaddock
25cc8fdad7 Add Gauss and Gauss-Kronrod docs. 2017-09-09 19:18:08 +01:00
pabristow
c1b8ffec7c Needed to merge? 2017-08-31 12:50:11 +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
pabristow
555e0f416b commit merge from develop 2017-06-22 17:05:02 +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
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