2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-27 19:12:08 +00:00

Commit Graph

  • 8b55166363 Bring tests into line with new Boost.Integer gcd/lcm. jzmaddock 2017-05-02 18:50:00 +01:00
  • 4632cb1169 Remove typos in documentation. Remove hacks for float128 in unit tests. Nick Thompson 2017-05-02 10:33:36 -06:00
  • 2bbadc69fb Place copyright notices in file. Nick Thompson 2017-05-01 18:36:26 -06:00
  • 4b4c4e9364 Legendre-Stieltjes polynomials. Nick Thompson 2017-04-30 15:58:10 -06:00
  • 69579ae210 Update gcd/lcm docs to point to Boost.Integer. jzmaddock 2017-04-24 19:42:22 +01:00
  • ceae76a526 Switch to using Boost.Integer gcd/lcm. jzmaddock 2017-04-24 19:26:23 +01:00
  • 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 -05:00
  • 1c10933943 polynomial.hpp should not be including private Boost.Config header. jzmaddock 2017-04-20 19:23:02 +01:00
  • 060f9e4da5 Merge branch 'gcd_cpp14' into develop jzmaddock 2017-04-20 19:18:41 +01:00
  • fafda3176c Fix gcd tests and code for clang on Linux gcd_cpp14 jzmaddock 2017-04-20 14:43:28 +01:00
  • 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 +01:00
  • 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 +01:00
  • 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 -05:00
  • 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 -05:00
  • e731cc8c3d Update performance test code to work with latest gcd. jzmaddock 2017-04-10 12:28:57 +01:00
  • 89d28ff323 Fix up documentation for adaptive trapezoidal quadrature. Nick Thompson 2017-04-08 19:48:52 -05:00
  • 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 -05:00
  • 70e82419d5 Fix for expression template types. jzmaddock 2017-04-08 20:12:23 +01:00
  • f74da283aa Add variadic gcd and lcm variations, update tests to match. jzmaddock 2017-04-08 19:42:33 +01:00
  • e71629f1c0 Make gcd/lcm functions constexpr and noexcept where applicable. jzmaddock 2017-04-08 19:13:08 +01:00
  • 8ee33649c7 Remove dead code orphaned by previous commits. jzmaddock 2017-04-07 09:55:31 +01:00
  • 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 +01:00
  • 8e98f30cb2 Remove SFINAE-logic and replace with simpler numeric_limits based algorithm selection. jzmaddock 2017-04-07 09:43:40 +01:00
  • 39006ecaca Reinstate gcd of rational numbers. jzmaddock 2017-04-06 19:22:45 +01:00
  • 141fcf0b15 Disable test case which invokes undefined behaviour jzmaddock 2017-04-06 11:34:08 +01:00
  • 7795ad3fd1 Merge branch 'gcd_polynomial' into gcd_cpp14 jzmaddock 2017-04-06 11:28:32 +01:00
  • 9d0dac1df9 gcd: add the function objects back. Improve the gcd/lcm tests. jzmaddock 2017-04-04 18:29:45 +01:00
  • 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 +01:00
  • 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 +01:00
  • 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 -05:00
  • 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 -05:00
  • c5ee664a51 Refactored with policies and passes tests and timing. pabristow 2017-03-23 14:15:37 +00:00
  • bdee37743d Bug in values near to -exp(-1) corrected. pabristow 2017-03-13 10:03:33 +00:00
  • 6734b363dd Include spline documentation in math.qbk so it gets added to the build. Nick Thompson 2017-03-11 15:56:34 -06:00
  • 0048d41dd6 Added new constants expminusone and sixth pabristow 2017-03-10 13:06:44 +00:00
  • cea2465e3e Need expminusone constant pabristow 2017-03-06 18:23:54 +00:00
  • 94d3cf4043 refactored to use local test_value.hpp pabristow 2017-03-06 18:10:52 +00:00
  • 36159a4426 Discuss how the interpolant extrapolates. Nick 2017-03-06 11:57:25 -06:00
  • 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 -06:00
  • 136e7411f5 Adaptive Trapezoidal Quadrature Nick Thompson 2017-03-05 19:05:41 -06:00
  • 446f8c415d Cite Kress's book 'Numerical Analysis' in MLA format. Nick Thompson 2017-03-05 10:49:02 -06:00
  • 7dbd074343 Add population example. Nick Thompson 2017-03-03 08:58:18 -06:00
  • 2506d7ed1f Use PIMPL so that the interpolant can be passed as a functor. Nick Thompson 2017-03-02 17:16:21 -06:00
  • 60dc89c74d Merge branch 'develop' boost-1.64.0-beta2 boost-1.64.0-beta1 boost-1.64.0 jzmaddock 2017-03-02 18:57:32 +00:00
  • 47714b4e72 Doc update of TODO list. jzmaddock 2017-03-02 18:56:57 +00:00
  • c42e8feebe Remove all traces of the linguistically incorrect word 'routine'. Nick Thompson 2017-03-02 12:30:12 -06:00
  • 2b9d88d352 Fixes suggested by code review of PR #57. Nick Thompson 2017-03-02 11:54:55 -06:00
  • 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 -06:00
  • f35a3551b0 Merge pull request #56 from NAThompson/patch-2 jzmaddock 2017-02-27 18:12:02 +00:00
  • 567f7c7548 Merge branch 'develop' jzmaddock 2017-02-25 18:49:46 +00:00
  • b0b0810701 Update history and regenerate docs for 1.64. jzmaddock 2017-02-25 18:48:39 +00:00
  • 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 -06:00
  • fa4dd6ff4c Remove finished TODO list entries Nick 2017-02-22 14:08:22 -06:00
  • 4c19a1ec34 Remove unneeded parameters in new beesel J/K code. Also fix some multiprecision-conceptual errors. jzmaddock 2017-01-29 19:18:36 +00:00
  • 38eb9d3e38 Update docs for new Bessel K0 and K1 approximation code. jzmaddock 2017-01-24 18:35:54 +00:00
  • fe66909b23 Reorder some declarations to keep GCC happy. Remove some dead code. jzmaddock 2017-01-23 19:34:34 +00:00
  • 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 +00:00
  • 2dc47a631a Improve constant initialization for I0 and I1. jzmaddock 2017-01-23 17:45:00 +00:00
  • 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 +00:00
  • 8507da5a59 Fix construct from floating point create_test_value overload. jzmaddock 2017-01-03 18:56:42 +00:00
  • eb2707e8b0 Failed attempts to get create_test_value to work. pabristow 2017-01-02 18:31:16 +00:00
  • 3a6a2952b8 Added missing header path, gmp and mpfr libraries Michael Krasnyk 2016-12-29 23:37:40 +01:00
  • 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 +00:00
  • 78320adb7a return 0 to T(0) in float_distance changed because fixed-point requires explicit construction pabristow 2016-12-05 16:41:18 +00:00
  • 1844134d07 Changes to call correct error handlers in C99 annex F cases. jzmaddock 2016-11-30 18:57:11 +00:00
  • 0b1d59cc12 Merge branch 'develop' boost-1.63.0 jzmaddock 2016-11-03 20:25:28 +01:00
  • d41bccefd0 Update documentation history. jzmaddock 2016-11-03 19:25:02 +00:00
  • c5826580bd Merge branch 'develop' jzmaddock 2016-11-03 20:04:19 +01:00
  • 3ab3149f19 Fix allowable error rates for tests. jzmaddock 2016-10-30 18:49:48 +00:00
  • b7c65c2b7b Add test of CUDA supplied std::erf to CUDA test cases. jzmaddock 2016-10-29 19:23:00 +01:00
  • 26ede2aa15 Add missing #includes to CUDA test cases. jzmaddock 2016-10-29 19:22:10 +01:00
  • 383c024400 Fix missing arguments. jzmaddock 2016-10-29 17:58:22 +01:00
  • bfd48d232b Merge branch 'develop' into cuda jzmaddock 2016-10-29 10:08:46 +01:00
  • 84eb174481 Update history. jzmaddock 2016-10-28 19:15:52 +01:00
  • 3c017c8822 Merge pull request #51 from zerotypos-found/patch-1 jzmaddock 2016-10-25 14:00:58 +01:00
  • 3871f6a7e8 Fix issues in the inspection report zerotypos-found 2016-10-25 11:56:09 +09:00
  • 37fe39f2d9 Merge pull request #50 from kartikmohta/fix/boost-zero-polynomial-evaluate jzmaddock 2016-10-19 19:33:24 +01:00
  • 3370ea2f79 Add missing #include. Fixes https://svn.boost.org/trac/boost/ticket/12537. jzmaddock 2016-10-19 19:27:37 +01:00
  • 21ab379ee9 Merge branch 'develop' of https://github.com/boostorg/math into develop jzmaddock 2016-10-19 19:22:51 +01:00
  • 4787d870c6 Suppress some msvc warnings. jzmaddock 2016-10-19 19:22:37 +01:00
  • 9dad3e2b62 Fix boost::math::polynomial::evaluate for the zero polynomial Kartik Mohta 2016-10-17 16:13:25 -04:00
  • 70251d1442 Merge pull request #49 from zerotypos-found/patch-1 jzmaddock 2016-10-11 09:18:32 +01:00
  • 4b9823768b Replace tabs to whitespace zerotypos-found 2016-10-11 12:44:32 +09:00
  • 37e64cf73e Add, and update, documentation build targets. Rene Rivera 2016-10-07 23:07:35 -05:00
  • 021cebe8b8 Add, and update, documentation build targets. Rene Rivera 2016-10-07 23:07:35 -05:00
  • 242e9d6691 Fix version history typo. boost-1.62.0 jzmaddock 2016-09-11 19:34:45 +01:00
  • cc2cd9063c Fix typo in arcsine distribution docs. Fixes: https://svn.boost.org/trac/boost/ticket/12407. jzmaddock 2016-08-27 19:00:35 +01:00
  • 50e7ea3863 Sub-resultant GCD is only for integer types. jzmaddock 2016-08-26 18:40:11 +01:00
  • accfe2f7eb Fix msvc compile failure, and add a using declaration so we overload boost::math::gcd. jzmaddock 2016-08-26 18:33:10 +01:00
  • f888dcb129 Including polynomial.hpp should get the gcd overloads as well. jzmaddock 2016-08-26 18:32:27 +01:00
  • 406e69e862 Add a paragraph to the docs about subresultant_gcd and gcd overload. Jeremy W. Murphy 2016-08-25 23:19:11 +10:00
  • 64c887a3c9 Add overload of gcd() for polynomials with multi-precision integral coeffs. Jeremy W. Murphy 2016-08-25 23:02:03 +10:00
  • d817274f3f Update some doxygen. Jeremy W. Murphy 2016-08-25 23:00:59 +10:00
  • 783dc6af46 Merge branch 'develop' into polynomial_ufd_gcd Jeremy W. Murphy 2016-08-25 22:08:48 +10:00
  • a39d7fecaf Correct version history. jzmaddock 2016-08-25 10:15:59 +01:00
  • e7f92a3d65 Fix typos in docs. jzmaddock 2016-08-20 09:52:46 +01:00
  • bdef7e8cc8 Merge pull request #47 from inkstink/master jzmaddock 2016-08-20 09:50:49 +01:00
  • dd6ac8f9da typos inkstink 2016-08-19 20:47:49 -04:00
  • c9d9f446c5 fixed typos for real this time inkstink 2016-08-19 20:42:14 -04:00
  • a35ad45b57 Fixed typos. inkstink 2016-08-19 20:34:48 -04:00