Commit Graph

  • 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. Nick Thompson 2017-05-11 21:03:00 -0600
  • 3bfeee838d Double exponential quadrature. Nick Thompson 2017-05-10 22:03:21 -0600
  • 369ce4312b Halley/Luu version working for 50 decimal digits 'reference' test values. pabristow 2017-05-10 18:21:35 +0100
  • 135d05fe73 legendre_stieltjes: add docs to math.qbk. jzmaddock 2017-05-10 18:12:20 +0100
  • 47a126c938 Legendre-Stieltjes: Disable tests in C++03 mode which would fail. jzmaddock 2017-05-10 18:11:37 +0100
  • 5db9e8870b Legendre_stieltjes: hook up tests. Add concept checks. Fix some warnings, and reduce dependencies. jzmaddock 2017-05-09 19:13:44 +0100
  • 83891e2b79 Merge branch 'legendre_stieltjes' of https://github.com/NAThompson/math into stieltjes jzmaddock 2017-05-09 18:36:53 +0100
  • 0e4c9ce418 Merge branch 'legendre_prime' into develop jzmaddock 2017-05-09 12:37:52 +0100
  • 27ded3276d Remove C++11 isms from, legendre_prime header and tests - we don't want to break existing C++03 code using that header. jzmaddock 2017-05-09 12:18:43 +0100
  • 97a4184df9 Hook up concept checks for legendre_p_prime. Fix errors from above, add domain-error handling to the function. jzmaddock 2017-05-08 19:47:02 +0100
  • 150a0b5afa Merge branch 'legendre_derivatives' of https://github.com/NAThompson/math into legrende_prime jzmaddock 2017-05-08 19:14:16 +0100
  • 72a757d770 Fix non C++11 compiler failures, plus some other build/test related issues on interpolator code John Maddock 2017-05-07 08:52:04 +0100
  • 1d0880a9ef Remove dependencies on format and type_index. jzmaddock 2017-05-06 13:16:31 +0100
  • 87ab68456d Improve interpolator documentation and examples. jzmaddock 2017-05-06 12:26:37 +0100
  • 6e8687812f Add concept checks for barycentric_rational. jzmaddock 2017-05-05 13:12:25 +0100
  • 80e7f7027c Merge branch 'barycentric' of https://github.com/NAThompson/math into interpolate_rat jzmaddock 2017-05-05 13:01:56 +0100
  • d300f98fdc Fix msvc compiler errors in barycentric code. jzmaddock 2017-05-04 13:27:41 +0100
  • 9c5604eec5 Add interpolation examples and tests to Jamfiles. jzmaddock 2017-05-04 13:19:09 +0100
  • adc2234d95 Merge branch 'barycentric' of https://github.com/NAThompson/math into interpolate_rat jzmaddock 2017-05-04 13:18:05 +0100
  • 6afcd60c81 Bring gcd/lcm tests into line with the inteter versions. John Maddock 2017-05-04 11:22:18 +0100
  • 4a569bf1c4 Fix header order include so that ADL works John Maddock 2017-05-04 11:17:11 +0100
  • 7fab3cbb0e change namespace for gcd/lcm test John Maddock 2017-05-04 11:11:12 +0100
  • bcff4eae78 Remove unused variables, variables set but unused, set floating point number that would flush to zero to identically zero. Nick Thompson 2017-05-03 15:30:24 -0600
  • 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. Nick Thompson 2017-05-03 10:13:18 -0600
  • c560cb00cb Merge branch 'develop' of https://github.com/boostorg/math into develop jzmaddock 2017-05-03 13:33:58 +0100
  • b9362cb000 Add concept checks for cubic-spline code, and fix resulting errors. jzmaddock 2017-05-03 13:32:53 +0100
  • 127178518d Add iterator based construction to cubic B spline. jzmaddock 2017-05-03 13:07:54 +0100
  • 45226c7ef1 Numerical differentiation by finite differences and the complex step derivative. Nick Thompson 2017-05-02 18:29:03 -0600
  • 3141e075ed Fix min/max usage. jzmaddock 2017-05-02 20:06:53 +0100
  • e377135aaf Move documentation structure around a bit to make way for new interpolators. jzmaddock 2017-05-02 20:03:22 +0100
  • 9dd532e01a Merge branch 'develop' of https://github.com/NAThompson/math into interpolate jzmaddock 2017-05-02 19:30:31 +0100
  • 41d373d89f Remove obsolete references to NTL John Maddock 2017-05-02 19:23:13 +0100
  • fdd5f562dd Merge branch 'building-minimax' of https://github.com/oxidase/math into t John Maddock 2017-05-02 19:19:55 +0100
  • 6407bedb75 Bring polynomial gcd into line with new Boost.Integer code, and improve tests. jzmaddock 2017-05-02 19:12:18 +0100
  • 48a0cf714b Put license information in each file. Do not throw when condition number is approaching an undefined value; use mollification. Improve documentation. Nick Thompson 2017-05-02 12:02:02 -0600
  • 8b55166363 Bring tests into line with new Boost.Integer gcd/lcm. jzmaddock 2017-05-02 18:50:00 +0100
  • 4632cb1169 Remove typos in documentation. Remove hacks for float128 in unit tests. Nick Thompson 2017-05-02 10:33:36 -0600
  • 2bbadc69fb Place copyright notices in file. Nick Thompson 2017-05-01 18:36:26 -0600
  • 4b4c4e9364 Legendre-Stieltjes polynomials. Nick Thompson 2017-04-30 15:58:10 -0600
  • 69579ae210 Update gcd/lcm docs to point to Boost.Integer. jzmaddock 2017-04-24 19:42:22 +0100
  • ceae76a526 Switch to using Boost.Integer gcd/lcm. jzmaddock 2017-04-24 19:26:23 +0100
  • 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. Nick Thompson 2017-04-22 15:47:22 -0500
  • 1c10933943 polynomial.hpp should not be including private Boost.Config header. jzmaddock 2017-04-20 19:23:02 +0100
  • 060f9e4da5 Merge branch 'gcd_cpp14' into develop jzmaddock 2017-04-20 19:18:41 +0100
  • fafda3176c Fix gcd tests and code for clang on Linux jzmaddock 2017-04-20 14:43:28 +0100
  • 82e3949024 GCD: Don't enable variadics unless the compiler supports them. Update docs. Escape from variadic GCD early when the result hits unity. jzmaddock 2017-04-15 18:31:01 +0100
  • c1ab95b6cc Add rational and multiprecision types to common_factor_test.cpp. Disable rational overloads if there is no numeric_limits support as boost::rational won't compile in that case anyway. jzmaddock 2017-04-15 18:13:30 +0100
  • 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. Nick Thompson 2017-04-14 15:51:39 -0500
  • 21bcf34a51 Derivative of Legendre polynomials of the first kind. Used to generate the weights of Gaussian quadratures. Nick Thompson 2017-04-12 14:16:26 -0500
  • e731cc8c3d Update performance test code to work with latest gcd. jzmaddock 2017-04-10 12:28:57 +0100
  • 89d28ff323 Fix up documentation for adaptive trapezoidal quadrature. Nick Thompson 2017-04-08 19:48:52 -0500
  • 76a5423666 Finally learned how to use quickbook. The documentation for the cubic b spline looks good now. Nick Thompson 2017-04-08 18:47:42 -0500
  • 70e82419d5 Fix for expression template types. jzmaddock 2017-04-08 20:12:23 +0100
  • f74da283aa Add variadic gcd and lcm variations, update tests to match. jzmaddock 2017-04-08 19:42:33 +0100
  • e71629f1c0 Make gcd/lcm functions constexpr and noexcept where applicable. jzmaddock 2017-04-08 19:13:08 +0100
  • 8ee33649c7 Remove dead code orphaned by previous commits. jzmaddock 2017-04-07 09:55:31 +0100
  • 5ca0e2ead8 Tighten up polynomial-GCD algorithm selection. Disallow GCD's of polynomials of bounded integers as overflow is too likely to occur. jzmaddock 2017-04-07 09:44:48 +0100
  • 8e98f30cb2 Remove SFINAE-logic and replace with simpler numeric_limits based algorithm selection. jzmaddock 2017-04-07 09:43:40 +0100
  • 39006ecaca Reinstate gcd of rational numbers. jzmaddock 2017-04-06 19:22:45 +0100
  • 141fcf0b15 Disable test case which invokes undefined behaviour jzmaddock 2017-04-06 11:34:08 +0100
  • 7795ad3fd1 Merge branch 'gcd_polynomial' into gcd_cpp14 jzmaddock 2017-04-06 11:28:32 +0100
  • 9d0dac1df9 gcd: add the function objects back. Improve the gcd/lcm tests. jzmaddock 2017-04-04 18:29:45 +0100
  • e4c0fdb0f2 Make gcd/lcm independent of type_traits and mpl. Later we'll try and reconcile this version with that in Boost.Integer. jzmaddock 2017-04-02 20:10:46 +0100
  • 8c9709b317 Fix cases where wchar_t is not an intrinsic type. Fixes: https://svn.boost.org/trac/boost/ticket/12944 jzmaddock 2017-03-30 19:35:59 +0100
  • fff12aa16b Improve documentation for trapezoidal quadrature, explaining the role of the L1 norm calculation. Throw correct error type. Nick Thompson 2017-03-28 13:56:18 -0500
  • 9f58f0d337 Add facility to check L1 norm and hence condition number of the quadrature sum. Throw when condition number exceeds the number of significant digits of the type. Nick Thompson 2017-03-26 13:45:50 -0500
  • c5ee664a51 Refactored with policies and passes tests and timing. pabristow 2017-03-23 14:15:37 +0000
  • bdee37743d Bug in values near to -exp(-1) corrected. pabristow 2017-03-13 10:03:33 +0000
  • 6734b363dd Include spline documentation in math.qbk so it gets added to the build. Nick Thompson 2017-03-11 15:56:34 -0600
  • 0048d41dd6 Added new constants expminusone and sixth pabristow 2017-03-10 13:06:44 +0000
  • cea2465e3e Need expminusone constant pabristow 2017-03-06 18:23:54 +0000
  • 94d3cf4043 refactored to use local test_value.hpp pabristow 2017-03-06 18:10:52 +0000
  • 36159a4426 Discuss how the interpolant extrapolates. Nick 2017-03-06 11:57:25 -0600
  • 4efe710855 Add tests detailing the use cases which make it difficult to use std::unique_ptr for pimpl idiom. Also, test that evaluating the spline outside the interpolation region succeeds as best it can. Nick Thompson 2017-03-06 11:12:51 -0600
  • 136e7411f5 Adaptive Trapezoidal Quadrature Nick Thompson 2017-03-05 19:05:41 -0600
  • 446f8c415d Cite Kress's book 'Numerical Analysis' in MLA format. Nick Thompson 2017-03-05 10:49:02 -0600
  • 7dbd074343 Add population example. Nick Thompson 2017-03-03 08:58:18 -0600
  • 2506d7ed1f Use PIMPL so that the interpolant can be passed as a functor. Nick Thompson 2017-03-02 17:16:21 -0600
  • 60dc89c74d Merge branch 'develop' jzmaddock 2017-03-02 18:57:32 +0000
  • 47714b4e72 Doc update of TODO list. jzmaddock 2017-03-02 18:56:57 +0000
  • c42e8feebe Remove all traces of the linguistically incorrect word 'routine'. Nick Thompson 2017-03-02 12:30:12 -0600
  • 2b9d88d352 Fixes suggested by code review of PR #57. Nick Thompson 2017-03-02 11:54:55 -0600
  • b157403fd9 Do not use Kahan summation to compute average; use update procedure that cannot overflow recommended by Knuth. Nick Thompson 2017-02-27 20:58:42 -0600
  • f35a3551b0 Merge pull request #56 from NAThompson/patch-2 jzmaddock 2017-02-27 18:12:02 +0000
  • 567f7c7548 Merge branch 'develop' jzmaddock 2017-02-25 18:49:46 +0000
  • b0b0810701 Update history and regenerate docs for 1.64. jzmaddock 2017-02-25 18:48:39 +0000
  • 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. Nick Thompson 2017-02-23 18:21:06 -0600
  • fa4dd6ff4c Remove finished TODO list entries Nick 2017-02-22 14:08:22 -0600
  • 4c19a1ec34 Remove unneeded parameters in new beesel J/K code. Also fix some multiprecision-conceptual errors. jzmaddock 2017-01-29 19:18:36 +0000
  • 38eb9d3e38 Update docs for new Bessel K0 and K1 approximation code. jzmaddock 2017-01-24 18:35:54 +0000
  • fe66909b23 Reorder some declarations to keep GCC happy. Remove some dead code. jzmaddock 2017-01-23 19:34:34 +0000
  • 7922883e7b Add improved approximations for K0 and K1. Based on http://www.advanpix.com/2016/01/05/rational-approximations-for-the-modified-bessel-function-of-the-second-kind-k1-for-computations-with-double-precision/ jzmaddock 2017-01-23 17:45:51 +0000
  • 2dc47a631a Improve constant initialization for I0 and I1. jzmaddock 2017-01-23 17:45:00 +0000
  • 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/ jzmaddock 2017-01-18 18:56:27 +0000
  • 8507da5a59 Fix construct from floating point create_test_value overload. jzmaddock 2017-01-03 18:56:42 +0000
  • eb2707e8b0 Failed attempts to get create_test_value to work. pabristow 2017-01-02 18:31:16 +0000
  • 3a6a2952b8
    Added missing header path, gmp and mpfr libraries Michael Krasnyk 2016-12-29 23:37:40 +0100
  • 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. pabristow 2016-12-22 18:30:27 +0000
  • 78320adb7a return 0 to T(0) in float_distance changed because fixed-point requires explicit construction pabristow 2016-12-05 16:41:18 +0000
  • 1844134d07 Changes to call correct error handlers in C99 annex F cases. jzmaddock 2016-11-30 18:57:11 +0000