Commit Graph

1451 Commits

Author SHA1 Message Date
Nick Thompson
b0b0a6bb59 Add oracle_snr to signal_statistics [CI SKIP] 2018-12-11 10:53:33 -07:00
Nick Thompson
fb2ae307d6 Computation of covariance. [CI SKIP] 2018-12-10 14:38:42 -07:00
Nick Thompson
94ceca1e43 Split descriptive_statistics.hpp into univariate_statistics.hpp and a currently-hypothetical bivariate_statistics.hpp [CI SKIP] 2018-12-10 12:05:05 -07:00
Nick Thompson
1a246db791 Change from vector_functionals.hpp to descriptive_statistics.hpp and norms.hpp. 2018-12-08 20:53:14 -07:00
Nick Thompson
5f143244f5 Fully qualify std::nth_element, add tests for std::array. [CI SKIP] 2018-12-08 14:09:21 -07:00
Nick Thompson
37c9b68aa6 Merge branch 'develop' into sequence_tools [CI SKIP] 2018-12-08 12:29:36 -07:00
Nick Thompson
b7dabe272c Add branches for integral input types where sensible. [CI SKIP] 2018-12-08 12:29:05 -07:00
Nick Thompson
5a0ff712bd Add range calls. [CI SKIP] 2018-12-08 11:11:35 -07:00
Nick Thompson
bce92d78ba Add Shannon entropy and kick off build. 2018-12-07 18:44:40 -07:00
Nick Thompson
60f653a1fe L1 and L2 norms. [CI SKIP] 2018-12-07 15:05:14 -07:00
Nick Thompson
01c004bb06 Remove useless termination criteria [CI SKIP] 2018-12-07 10:17:33 -07:00
Nick Thompson
a9985e3e1c Hoyer sparsity [CI SKIP] 2018-12-07 09:02:25 -07:00
Nick Thompson
aa43b5b52b Vector functionals, first pass [CI SKIP] 2018-12-06 20:33:05 -07:00
Nick Thompson
37336e2372 Merge branch 'develop' into complex_newton 2018-12-04 14:28:52 -07:00
Nick Thompson
6e25e27d01 Merge branch 'develop' into complex_newton 2018-12-04 11:09:06 -07:00
Nick Thompson
081842118b Give advice about first and last interpolator segments in the open-curve case. [CI SKIP] 2018-12-03 12:33:45 -07:00
Nick Thompson
baddf9509a The move constructor is 30% faster than the copy; hence remove the data copy and only allow move construction. [CI SKIP] 2018-12-02 13:34:51 -07:00
Nick Thompson
fd519a73d6 Implement suggestions from code review [CI SKIP] 2018-12-02 11:18:41 -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
jzmaddock
451afc3102 Fix polynomial template constructors. 2018-11-30 19:31:51 +00: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
de90c41131 Merge branch 'develop' into polynomial_improvements 2018-11-24 12:41:46 -07:00
jzmaddock
3d5c252c89 Documentation update
[CI SKIP]
2018-11-22 18:15:44 +00:00
Nick Thompson
038a18b0e6 Light editing to Lambert-W documentation [CI SKIP] 2018-11-19 15:51:56 -07:00
Nick Thompson
54f475e58f Add call operator, .prime(), .integrate(), and move constructor to polynomial.hpp 2018-11-14 17:04:57 -07:00
Nick
4bbe19d84b
Dot list references [CI SKIP] 2018-11-05 21:43:56 -07:00
Nick Thompson
a33ebb00aa Escape special character in Jamfile; point to https rather than http. [CI SKIP] 2018-11-01 15:56:51 -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
pabristow
945ac0dd98 Added note on usable compilers and b2 command to run example using max_digit10 with lambert W examples. [CI SKIP] 2018-10-18 12:51:17 +01:00
jzmaddock
52079d2d23 Merge branch 'develop' into hypergeometric_soc_2014
Fixed Conflicts:
	doc/equations/generate.sh
2018-10-18 11:11:13 +01:00
jzmaddock
11a752b4eb Documentation: Update overview.
Add README.md.
[CI SKIP]
2018-10-15 19:19:42 +01:00
jzmaddock
049c670409 Add another test case for tanh_sinh complex support, and update docs with examples. 2018-10-11 08:49:05 +01:00
jzmaddock
015151ef78 Merge branch 'develop' of https://github.com/boostorg/math into develop
Resolved Conflicts:
	doc/html/index.html
	doc/html/indexes/s01.html
	doc/html/indexes/s02.html
	doc/html/indexes/s03.html
	doc/html/indexes/s04.html
	doc/html/indexes/s05.html
	doc/html/math_toolkit/conventions.html
	doc/html/math_toolkit/navigation.html
2018-10-07 09:36:02 +01:00
jzmaddock
a12ac889bf Update history, rebuild docs.
[CI SKIP]
2018-10-07 09:22:19 +01:00
pabristow
7779430500 edit and broken links in docs qbk only, locally builds and passed inspect program, even update pull to get JM changes. [CI SKIP] 2018-10-04 14:39:33 +01:00
pabristow
9e4821dada Merge branch 'develop' of https://github.com/boostorg/math into develop 2018-10-04 14:33:49 +01:00
pabristow
69908294cd edit and broken links in docs qbk only, locally builds and passed inspect program [CI SKIP] 2018-10-04 14:33:13 +01:00
jzmaddock
839f461804 Update docs on root finding to indicate that the functions can accept take C++ lambda's as arguments (which they can). 2018-10-02 18:35:40 +01:00
Nick Thompson
a1958265fb [CI SKIP] Add references and clean up documentation for 1F1. 2018-09-04 08:57:16 +08:00
jzmaddock
628ffd1c80
Merge branch 'develop' into rational_derivatives 2018-09-02 12:58:59 +01:00
jzmaddock
b642b12fa4 Regenerate docs after LambertW merge.
[CI SKIP]
2018-09-02 08:31:41 +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
jzmaddock
5f8547acbf Fix doc typo.
Rebuild docs.
Fixes https://github.com/boostorg/math/issues/143.
[CI SKIP]
2018-08-19 09:26:05 +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
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
Katrin Leinweber
213494c7a7 Hyperlink DOIs against preferred resolver 2018-06-24 08:21:16 +02:00
jzmaddock
7532ed9891
Merge pull request #128 from boostorg/complex_sinh_sinh
Support for complex-valued integrands in sinh-sinh quadrature.
2018-06-12 18:00:14 +01:00
Nick Thompson
cb954798d7 Support for complex-valued integrands in sinh-sinh quadrature. 2018-06-12 13:11:52 +08:00
pabristow
69541b1dc8 Updated brent example docs [CI SKIP] 2018-06-03 18:07:58 +01:00
pabristow
44e875ce1f Rebuilt docs for brent minimise example [CI SKIP] 2018-06-01 18:04:27 +01:00
pabristow
637a35450b improve brent minimise example. 2018-06-01 18:02:06 +01:00
jzmaddock
bf57b10feb Documentation update [CI SKIP] 2018-05-27 17:38:50 +01:00
pabristow
23ecd1a1c0 All changes before getting develop up-to-date. 2018-05-15 14:00:34 +01:00
Nick Thompson
9d22c55d4a Merge branch 'develop' into rational_derivatives 2018-05-05 10:02:02 +08:00
Nick Thompson
0d67b045ae [CI SKIP] Merge branch 'develop' into complex_exp_sinh 2018-05-05 10:00:42 +08:00
Nick Thompson
728b6949ed Complex valued integrand support for exp-sinh quadrature 2018-05-03 12:19:04 +08:00
jzmaddock
d949051482 Merge branch 'develop' into complex_gk 2018-05-01 19:30:39 +01:00
Nick Thompson
ea6acb3855 [CI SKIP] Real->{Real, Complex} integrand support for Gauss-Kronrod quadrature. 2018-05-01 15:50:55 +08:00
Nick Thompson
26c8536a82 [CI SKIP] Document that Gaussian quadrature support R->C. 2018-05-01 12:06:39 +08:00
Nick Thompson
84d36d785c Add derivative of barycentric rational interpolation. 2018-04-13 20:19:46 +08:00
Nick Thompson
90273e12a7 Fix C++11/C++17 incompatibility by typdefs. Increase default max refinements. 2018-04-03 11:07:03 +08:00
Nick Thompson
d59c11fbf4 [CI SKIP] Revert change from pi<Real>()->M_PI. 2018-03-19 09:56:56 +08:00
Nick Thompson
d30b7d62ef Update trapezoidal quadrature so that it can handle contour integrals. 2018-03-16 15:33:25 +08:00
jzmaddock
66a7c1a1b9 Big documentation update with new error rate tests.
[CI SKIP]
2018-03-09 17:19:26 +00:00
jzmaddock
22f3f97704 Update docs with error new graphs.
[CI SKIP]
2018-03-08 10:56:40 +00:00
John Maddock
db9a784005 Update graphs with all lower case names. [CI SKIP] 2018-03-08 09:16:27 +00:00
jzmaddock
98c124255e plot_1d_errors.cpp: change filenames to all lower case.
[CI SKIP]
2018-03-08 08:58:20 +00:00
John Maddock
8b845fcc64 Merge branch 'develop' of https://github.com/boostorg/math into develop 2018-03-06 19:30:00 +00:00
John Maddock
519d7d5962 Add first error plots [CI SKIP] 2018-03-06 19:29:26 +00:00
Nick
2532ac99f5
Typo removal from Gauss-Kronrod 2018-03-02 23:25:40 -06:00
Nick
74990aec5c
Typo removal from cubic_b_spline.qbk 2018-03-02 23:15:54 -06:00
Nick
98412f9540
Typo removal from docs. 2018-03-02 23:10:59 -06:00
jzmaddock
c79fa7e686 Fix documentation typos.
Fixes #13355 and #13403.
2018-03-02 18:08:34 +00:00
pabristow
3f1e3602ba Quadrature error diagnosis improved 2018-02-27 13:20:37 +00:00
pabristow
3105912ba7 Docs tidy and typos etc 2018-02-22 18:15:29 +00:00
pabristow
de4d578fc5 deconflict lambert_w.hpp 2018-02-19 16:54:52 +00:00
Nick Thompson
f4e658bdc0 Merge branch 'naive_monte_carlo' of https://github.com/boostorg/math into naive_monte_carlo 2018-02-18 17:11:22 -06:00
Nick Thompson
a66f6ae486 [ci skip] Spelling errors omg 2018-02-18 13:50:48 -06:00
jzmaddock
87df736c6c Update docs.
Also will trigger a CI build.
2018-02-18 08:37:29 +00:00
Nick Thompson
64ccdd6e7f [ci skip] Document that the integrand must be square integrable. 2018-02-17 19:35:24 -06:00
Nick Thompson
ba3afd7ab2 [ci skip] Update docs to reflect that an RNG may be passed to the routine. 2018-02-17 18:02:47 -06:00
jzmaddock
197d3b9e70 naive_monte_carlo: Update docs.
[CI SKIP]
2018-02-16 18:32:47 +00:00
jzmaddock
073e7a7196 Merge branch 'develop' into naive_monte_carlo 2018-02-16 17:59:00 +00:00
Nick Thompson
8aa064fd2b [ci skip] Document how to specify whether the integrand is singular or not. 2018-02-15 20:26:12 -06:00
jzmaddock
c6b734a791
Merge pull request #110 from boostorg/pr64
Integration test PR64
2018-02-13 19:47:54 +00:00
jzmaddock
7403cbbd43 Make table driven functions constexpr:
unchecked_factorial, unchecked_bernoulli_b2n and prime.
2018-02-11 19:59:26 +00:00
jzmaddock
8ca22fd8f1 Numerical differentiation: Update and regenerate docs. 2018-02-11 17:55:46 +00:00
jzmaddock
f4dfb9088f Merge branch 'numerical_differentiation_2' of https://github.com/NAThompson/math into pr64
Fixed Conflicts:
   include/boost/math/concepts/std_real_concept.hpp
   test/Jamfile.v2

Changes:
   Minor changes to get things compiling with msvc.
2018-02-11 16:33:41 +00:00
Nick Thompson
353c2e0fd4 [ci skip] Remove hyperbolic language related to complex step derivative. Ensure macro substitution of 'max' doesn't break routines. Add copyright notices. 2018-02-10 16:24:16 -06:00
Nick Thompson
8a7539c707 [ci skip] Pick the low hanging fruit of the Lambert-W derivative. Remove a few typos from the documentation. 2018-02-09 13:57:25 -06:00
Nick Thompson
4b55b42268 [ci skip] Use C++17 'if constexp' to avoid branch. Modularize stepsize logic into single call. Do not assume 3ULP evaluation in error, assume 1ULP. Add reference to great numerical analysis text which also promotes these methods and clean up documentation. 2018-02-09 11:53:44 -06:00
Nick Thompson
2718dded89 [ci skip] Ooura's method for computing Fourier sin and Fourier cosine transforms. 2018-02-06 13:15:56 -06:00
Nick Thompson
0ff67c30f4 [ci skip] Typo removal from docs. 2018-01-27 15:06:37 -06: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
jzmaddock
bac580583b Math: Fix the distribution explorer build files for VS2017.
Fix lanczos.hpp to not use native code on managed builds.
2018-01-21 10:04:38 +00:00
jzmaddock
7cc4d04edf Hypergeometric: Start adding docs. 2018-01-20 17:44:46 +00:00
jzmaddock
d38b640d1c Update tool paths. 2018-01-20 17:42:41 +00:00
Nick Thompson
8d0dd5f474 Update docs to indicate that naive Monte-Carlo integration supports infinite domains. 2018-01-16 11:47:15 -06:00
Nick Thompson
a90aac3656 Cleanup based on codereview.stackexchange.com suggestions. 2018-01-12 16:33:07 -06:00
Nick Thompson
e137fffa63 Loosen up tolerance in unit tests to prevent spurious failures. 2018-01-10 12:03:42 -06:00
Nick Thompson
2f37a3643b Add unit tests and clean up docs for naive_monte_carlo integration. 2018-01-09 12:27:38 -06:00
Nick Thompson
0f007c23c6 Reuse temporaries to increase performance. 2017-12-23 17:06:20 -07:00
Nick Thompson
9dce6d8bb9 Catmull-Rom: Add example and test to build, update docs. 2017-12-22 23:30:31 -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
781fda44b2 add three qbk files 2017-11-18 12:27:34 +00:00
pabristow
80b4bf3bef Change to jamfile 2017-11-18 12:02:51 +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
jzmaddock
d0981ec0f6 Math: Regenerate docs with patches applied.
[CI SKIP]
2017-11-09 13:32:24 +00:00
jzmaddock
98870a6e27 Merge branch 'develop' of https://github.com/boostorg/math into develop 2017-11-09 13:29:12 +00:00
jzmaddock
dd7234247c Math: Regenerate docs with re-worked TOC to better illuminate new features.
[CI SKIP]
2017-11-09 13:28:50 +00:00
pabristow
89ae728836 added graphs and updated docs to use them. 2017-11-06 17:18:33 +00:00
Nick
ee858a2551
Quick typo removal 2017-11-04 13:43:36 -06:00
Nick
87e4cb5469
Fix examples that don't compile 2017-11-03 19:52:32 -06:00
Nick
8458d8fea0
Fix change in path for barycentric_rational. 2017-11-03 15:31:06 -06:00
pabristow
3c3c91709f w-1 branch improvements and tests OK 2017-11-02 18:47:30 +00:00
pabristow
04121d2872 Lambert w for huge z added, and test and more docs 2017-10-28 19:13:58 +01:00
pabristow
f51d987acd added much on W-1 branch (handling tiny z), and more docs. 2017-10-27 18:18:06 +01:00
pabristow
d01d0c4eb8 Working version with C array of precomputed lookup tables, but still inline inside 2017-10-13 09:43:39 +01:00
pabristow
dd06d2beae 100 decimal digit precision values and tests OK. 2017-10-10 15:13:49 +01:00
pabristow
39846818e1 Expanded docs using snippets. 2017-10-03 15:11:25 +01:00
jzmaddock
06292b0873 Math: Update history in docs.
[CI skip]
2017-09-27 18:17:24 +01:00
jzmaddock
0499f6d6ad Math.Chebyshev: Update docs to match interface tweaks.
[CI skip]
2017-09-26 18:48:16 +01:00
jzmaddock
82392e3e0c Merge branch 'develop' into chebyshev 2017-09-20 17:59:38 +01:00
jzmaddock
16abdcadfb Merge pull request #83 from NAThompson/patch-1
Remove obsolete reference to adaptive_trapezoidal
2017-09-18 08:08:03 +01:00
Nick Thompson
2d3ccf940e Fix weird characters in rendered documentation for Chebyshev transform and polynomials. 2017-09-17 15:59:02 -06:00
Nick Thompson
fe5d59d0f1 Split tests into FFTW-dependent and FFTW-independent. Improve documentation to the extent feasible. 2017-09-16 19:58:59 -06:00
Nick Thompson
cb470280ba Chebyshev transform 2017-09-13 17:51:50 -06:00
jzmaddock
5755e1d37e Merge pull request #87 from boostorg/gauss
Merge Gauss Kronrod code into develop.
2017-09-13 16:57:06 +01:00
jzmaddock
25cc8fdad7 Add Gauss and Gauss-Kronrod docs. 2017-09-09 19:18:08 +01:00
pabristow
15568b8d62 Work on precision demo before holiday. OK on VS14.1 and GCC 7.1.0 but docs need much more work. 2017-09-02 12:12:10 +01:00
pabristow
c1b8ffec7c Needed to merge? 2017-08-31 12:50:11 +01:00
pabristow
1d4bef637e Students t documentation update to support infinity. 2017-08-30 12:03:54 +01:00
pabristow
c408d7ec1c Restored test_out_of_range to original location as is used by other tests 2017-08-29 17:03:06 +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
37c71f73f2 quadrature docs: simplify tanh_sinh::integrate declarations, reformat for easier reading and regenerate. 2017-08-24 10:46:42 +01:00
Nick
2f03c96197 Typo removal. 2017-08-23 14:05:54 -06:00
Nick
c83ebd1193 Remove obsolete reference to adaptive_trapezoidal 2017-08-23 13:40:11 -06:00
jzmaddock
696555e20f Regenerate documentations.
[CI skip]
2017-08-23 19:00:13 +01:00
jzmaddock
67cb813883 Quadrature: add documentation on dealing with very strong singularities. 2017-08-15 19:04:22 +01:00
pabristow
26aea4e7df Big refactor JM small_z and tag_type select code 2017-08-10 17:49:17 +01:00
jzmaddock
e84195d3a6 Quadrature: Update docs.
Also add ability to get the # levels consumed from the integrators.
[skip ci]
2017-07-28 19:26:04 +01:00
jzmaddock
03a8f4f52f Reinstate math.css. 2017-07-26 19:10:31 +01:00
jzmaddock
efcece2867 Reinstate math.css 2017-07-26 19:07:59 +01:00
jzmaddock
21b00bba62 Merge branch 'develop' into pr66
Fixed Conflicts:
test/Jamfile.v2
2017-07-15 16:06:27 +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
b0de86aee8 Trapezoidal: Update docs to include Policy parameter. 2017-06-16 18:32:44 +01:00
jzmaddock
34d413e830 trapezoidal: More fixes prior to merging:
Add new documentation section for integrators.
Remove isfinite from std_real_concept.hpp - it's not part of our conceptual requirements.
Add workarounds for older compilers that can't handle the default arguments to the function.
Restrict testing test_trapezoidal.cpp to compilers that handle lambdas.
Make the concept checks C++03.
Make test_trapezoidal.cpp compile with VC11's broken lambda support.
2017-06-16 18:13:42 +01:00
Nick
1753d6e9e4 Merge branch 'develop' into romberg 2017-05-18 17:34:52 -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
Nick Thompson
3bfeee838d Double exponential quadrature. 2017-05-10 22:03:21 -06:00
jzmaddock
135d05fe73 legendre_stieltjes: add docs to math.qbk. 2017-05-10 18:12:20 +01:00
jzmaddock
83891e2b79 Merge branch 'legendre_stieltjes' of https://github.com/NAThompson/math into stieltjes 2017-05-09 18:36:53 +01:00
jzmaddock
150a0b5afa Merge branch 'legendre_derivatives' of https://github.com/NAThompson/math into legrende_prime
# 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-08 19:14:16 +01:00
jzmaddock
87ab68456d Improve interpolator documentation and examples. 2017-05-06 12:26:37 +01:00
jzmaddock
80e7f7027c Merge branch 'barycentric' of https://github.com/NAThompson/math into interpolate_rat
Fix some msvc failures.
Suppress some compiler warnings.
Added iterator based constructor.
Moved docs to better position.

# 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-05 13:01:56 +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
jzmaddock
127178518d Add iterator based construction to cubic B spline. 2017-05-03 13:07:54 +01:00
Nick Thompson
45226c7ef1 Numerical differentiation by finite differences and the complex step derivative. 2017-05-02 18:29:03 -06:00
jzmaddock
e377135aaf Move documentation structure around a bit to make way for new interpolators. 2017-05-02 20:03:22 +01:00
jzmaddock
9dd532e01a Merge branch 'develop' of https://github.com/NAThompson/math into interpolate 2017-05-02 19:30:31 +01:00
Nick Thompson
48a0cf714b Put license information in each file. Do not throw when condition number is approaching an undefined value; use mollification. Improve documentation. 2017-05-02 12:02:02 -06:00
Nick Thompson
4632cb1169 Remove typos in documentation. Remove hacks for float128 in unit tests. 2017-05-02 10:33:36 -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
jzmaddock
69579ae210 Update gcd/lcm docs to point to Boost.Integer. 2017-04-24 19:42:22 +01:00
Nick Thompson
a918d0f331 Return all zeros of the Legendre polynomial at once; there seems to be no benefit to having the user calculate them one at a time. 2017-04-22 15:47:22 -05:00
jzmaddock
82e3949024 GCD: Don't enable variadics unless the compiler supports them.
Update docs.
Escape from variadic GCD early when the result hits unity.
2017-04-15 18:31:01 +01:00
Nick Thompson
4110a69416 Zeros of Legendre polynomials. This uses a root bracketing given by Szego with an asymptotic by Tricomi to get a domain and an initial guess for the root, then refines it via Newton's method. 2017-04-14 15:51:39 -05:00
Nick Thompson
21bcf34a51 Derivative of Legendre polynomials of the first kind. Used to generate the weights of Gaussian quadratures. 2017-04-12 14:16:26 -05:00
Nick Thompson
89d28ff323 Fix up documentation for adaptive trapezoidal quadrature. 2017-04-08 19:48:52 -05:00
Nick Thompson
76a5423666 Finally learned how to use quickbook. The documentation for the cubic b spline looks good now. 2017-04-08 18:47:42 -05:00
jzmaddock
7795ad3fd1 Merge branch 'gcd_polynomial' into gcd_cpp14 2017-04-06 11:28:32 +01:00
Nick Thompson
fff12aa16b Improve documentation for trapezoidal quadrature, explaining the role of the L1 norm calculation. Throw correct error type. 2017-03-28 13:56:18 -05:00
pabristow
c5ee664a51 Refactored with policies and passes tests and timing. 2017-03-23 14:15:37 +00:00
Nick Thompson
6734b363dd Include spline documentation in math.qbk so it gets added to the build. 2017-03-11 15:56:34 -06:00
Nick
36159a4426 Discuss how the interpolant extrapolates. 2017-03-06 11:57:25 -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
jzmaddock
47714b4e72 Doc update of TODO list. 2017-03-02 18:56:57 +00:00
Nick Thompson
c42e8feebe Remove all traces of the linguistically incorrect word 'routine'. 2017-03-02 12:30:12 -06:00
Nick Thompson
2b9d88d352 Fixes suggested by code review of PR #57. 2017-03-02 11:54:55 -06:00
jzmaddock
f35a3551b0 Merge pull request #56 from NAThompson/patch-2
Remove finished TODO list entries
2017-02-27 18:12:02 +00:00
jzmaddock
b0b0810701 Update history and regenerate docs for 1.64. 2017-02-25 18:48:39 +00:00
Nick Thompson
fee20ab932 Given a function f, known at evenly spaced samples y_j = f(a + jh),
this function constructs an interpolant using compactly supported cubic b splines.
The advantage of using splines of compact support over traditional cubic splines
is that compact support makes the splines well-conditioned.

The interpolant is constructed in O(N) time and can be evaluated in constant time.
Its error is O(h^4), and obeys the interpolating condition s(x_j) = f(x_j) for all samples.
In addition, f' can be estimated from s', albeit with lower accuracy.

This routine is cppcheck clean, and is clean under AddressSanitizer and MemorySanitizer.
2017-02-23 18:21:06 -06:00
Nick
fa4dd6ff4c Remove finished TODO list entries
Removing Jacobi elliptic functions and cylindrical Bessel/Neumann derivatives from TODO list, as they have been completed.
2017-02-22 14:08:22 -06:00
jzmaddock
38eb9d3e38 Update docs for new Bessel K0 and K1 approximation code. 2017-01-24 18:35:54 +00:00
jzmaddock
cc8e300bae Update I0 and I1 to use better approximations from Pavel Holoborodko
See: http://www.advanpix.com/2015/11/11/rational-approximations-for-the-modified-bessel-function-of-the-first-kind-i0-computations-double-precision/
2017-01-18 18:56:27 +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
jzmaddock
d41bccefd0 Update documentation history. 2016-11-03 19:25:02 +00:00
jzmaddock
84eb174481 Update history. 2016-10-28 19:15:52 +01:00
Rene Rivera
021cebe8b8 Add, and update, documentation build targets. 2016-10-07 23:07:35 -05:00
jzmaddock
242e9d6691 Fix version history typo. 2016-09-11 19:34:45 +01:00
jzmaddock
cc2cd9063c Fix typo in arcsine distribution docs.
Fixes: https://svn.boost.org/trac/boost/ticket/12407.
2016-08-27 19:00:35 +01:00
Jeremy W. Murphy
406e69e862 Add a paragraph to the docs about subresultant_gcd and gcd overload. 2016-08-25 23:19:11 +10:00
jzmaddock
a39d7fecaf Correct version history. 2016-08-25 10:15:59 +01:00
jzmaddock
e7f92a3d65 Fix typos in docs. 2016-08-20 09:52:46 +01:00
inkstink
dd6ac8f9da typos 2016-08-19 20:47:49 -04:00
inkstink
950d3990e4 fixed typos 2016-08-19 20:33:24 -04:00
pabristow
38fcf6bdb6 Yet more typos. 2016-08-12 16:22:00 +01:00
pabristow
84a626e000 Revision to Chap 3 overview section 2016-08-12 16:12:46 +01:00
pabristow
7786c7d5a8 Added Thomas Luu references 2016-08-09 16:05:20 +01:00
pabristow
b318bd4218 Add three missing .html files 2016-08-03 19:24:07 +01:00
pabristow
5e842b677d after merge, possibly wrong 2016-08-03 19:19:02 +01:00
pabristow
fe4dbc344a Additions to cstdfloat and float128 docs 2016-08-03 12:03:26 +01:00
jzmaddock
73b6c06819 Regenerate docs. 2016-07-27 17:54:11 +01:00
jzmaddock
48c65c4e18 Merge branch 'develop' of https://github.com/boostorg/math into develop 2016-07-27 17:40:27 +01:00
jzmaddock
f025cbac50 Correct SVGMath hyperlink. 2016-07-27 17:40:02 +01:00
Denis Kolodin
0796e45858 Fix a lognormal mode formula in the documentation 2016-07-18 07:54:23 +03:00
jzmaddock
475fd215f0 Update history. 2016-06-10 18:08:01 +01:00
jzmaddock
281e6d8bab Mark operator bool as explicit in docs. 2016-05-26 18:41:50 +01:00
jzmaddock
f8ee91a84b Merge pull request #39 from jeremy-murphy/polynomial_zero
operator bool() and set_zero(): test for zero and set to zero respectively.
2016-05-26 18:40:13 +01:00
Kolya Matteo
6510793122 There's no such file as relative_distance.hpp 2016-05-23 14:17:09 -04:00
Jeremy W. Murphy
9558b22b6c Update API documentation. 2016-05-15 21:07:15 +10:00
Kolya Matteo
5faad1baf8 Add polynomial pow function to docs 2016-05-11 16:18:42 -04:00
jzmaddock
bea587f3fd Merge branch 'gcd_n' of https://github.com/jeremy-murphy/math into develop
# Resolved Conflicts:
#	include/boost/math/common_factor_rt.hpp
#	test/test_gcd.cpp
2016-05-09 18:59:17 +01:00
Jeremy W. Murphy
9e3ba7072a Update Synopsis and Run-time determination sections of docs. 2016-05-08 22:06:39 +10:00
jzmaddock
11500b787b Merge branch 'polynomial_shift' of https://github.com/jeremy-murphy/math into gcd
# 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.
2016-04-06 17:58:21 +01:00
jzmaddock
01c2c0158f Regenerate docs with new performance results. 2016-03-29 08:02:27 +01:00
Jeremy W. Murphy
7969de6fae Add C++11 initializer_list constructor and assignment to polynomial class. 2016-01-31 19:04:37 +11:00
pabristow
bd9112ddd6 new html files 2015-12-14 16:14:17 +00: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
jzmaddock
ee5dcd403a Update docs. 2015-12-11 17:59:28 +00:00
Jeremy W. Murphy
db07507a75 Minor doc change to parameter names. 2015-12-11 11:56:56 +11:00
Jeremy W. Murphy
f8d6220e4e More documentation updates and parameter name consistency. 2015-11-20 12:06:13 +11:00
Jeremy W. Murphy
e7df87d3c6 Minor update to documentation. 2015-11-20 11:58:17 +11:00
Jeremy W. Murphy
c92a89c6a6 Update documentation. 2015-11-17 10:15:42 +11:00
zerotypos-found
841d25a679 Fix typo in docs. 2015-11-10 12:08:26 +09:00
Jeremy W. Murphy
ec764814a0 Update class interface documentation. 2015-11-04 12:25:46 +11:00
pabristow
1a97d97538 update roadmap for triangular distribution bug Trac 11768 2015-10-30 10:16:51 +00:00
pabristow
57a71ba5f8 #11768: Skewness formula for triangular distribution corrected, tests added and docs updated. 2015-10-29 18:19:46 +00:00
jzmaddock
678d2e8383 Doc version update. 2015-10-15 10:39:36 +01:00
jzmaddock
3287c922ea Fix some corner cases in the beta functions.
Add better tests for the incomplete beta derivative.
Update docs to match.
2015-09-11 12:02:04 +01:00
jzmaddock
59a2bd5cb8 Remove the quaternion directory and move contents elsewhere. 2015-09-07 19:09:55 +01:00
jzmaddock
0f91c5aca0 Removed octonion sub-folder and moved contents elsewhere. 2015-09-07 18:57:03 +01:00
jzmaddock
5d0606445d Update history and regenerate docs. 2015-09-07 18:35:47 +01:00
jzmaddock
64b4100ff9 Document change to error handling when no exceptions are available. 2015-09-07 18:05:02 +01:00