jzmaddock
81c8a80dd5
Update big_constant.hpp to work standalone.
2017-10-29 19:32:13 +00:00
John Maddock
f7acd35e51
Math.Chebyshev: tidy up and simplify fftw dispatch code with a traits class to abstract the differences.
2017-09-25 19:37:36 +01:00
John Maddock
2eabd87de1
Math.Chebyshev: Fix up chebeshev_transform for more types.
2017-09-21 19:13:36 +01:00
John Maddock
aaa6db8880
Math.Chebyshev: Fix ambiguous calls to pow with gcc-7
2017-09-21 17:56:51 +01:00
jzmaddock
9ee7a93678
Math.Chebyshev: Modify chebyshev_transform to dispatch to correct fftw3 functions.
...
Begin to hook up fftw3 tests.
2017-09-21 13:40:23 +01:00
jzmaddock
a1c18789a0
Math.chebyshev: Hook up conceptual tests and fix resulting errors.
2017-09-21 11:52:59 +01:00
jzmaddock
c7f243239e
Math.chebyshev: Backport to C++03.
2017-09-20 19:07:17 +01:00
jzmaddock
82392e3e0c
Merge branch 'develop' into chebyshev
2017-09-20 17:59:38 +01:00
Nick Thompson
dd9f2b7033
Since I cannot find a symmetry to reuse function evaluations after Chebyshev grid refinement, just give up for now and simplify the constructor accordingly.
2017-09-19 00:48:20 -06:00
Nick Thompson
956864cbd5
Recurse when grid isn't sufficiently refined. Optimization potential exists by reusing function evaluations.
2017-09-17 21:16:48 -06:00
Nick Thompson
0d85d4d11e
Performance improvements.
2017-09-17 19:30:15 -06:00
Nick Thompson
2cb935ec17
Use std::enable_if to obviate the need for C++17 if constexpr.
2017-09-17 16:23:50 -06:00
Nick Thompson
0acb51b78d
Linear time and numerically stable evaluation of derivative of Chebyshev series by a modified Clenshaw recurrence.
2017-09-17 14:02:43 -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
jzmaddock
4c0bec596c
Remove dead files.
2017-09-06 19:56:15 +01:00
jzmaddock
d9893f5e01
Quadrature: update conceptual tests for Gauss (Kronrod) quadrature.
2017-09-06 19:53:10 +01:00
jzmaddock
e09ad4c3aa
Quadrature: finish off Gauss and Gauss-Kronrod integration code and tests.
2017-09-06 18:03:15 +01:00
jzmaddock
7d2002db80
Quadrature: add gauss and gauss-kronrod quadrature.
2017-08-31 19:42:26 +01:00
jzmaddock
1527667e20
Next.hpp: Change struct to class to avoid msvc compiler warnings.
2017-08-29 20:00:32 +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
pabristow
34fd59c372
students t allowing df and x infinite
2017-08-29 15:24:45 +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
e100973d53
Merge pull request #81 from lakshayg/noexcept
...
make move constructor and operator= noexcept
2017-08-23 19:02:49 +01:00
jzmaddock
f301e2a197
Merge pull request #72 from boostorg/pr66
...
PR66: Moved to here for integration testing.
2017-08-23 18:47:46 +01:00
Lakshay Garg
4fc8d43b4b
make move constructor and operator= noexcept
...
This change helps the polynomial class play well with STL
containers.
> If the move constructor for an element type in a container
> is not noexcept then the container will use the copy constructor rather
> than the move constructor -- HIC++ Version 4.0
Benchmarking shows that the number of calls to copy constructor
are reduced.
2017-08-22 12:41:32 +05:30
jzmaddock
f6495af64c
Polynomial: more simplifications and modernizations.
...
Also update msvc performance results.
2017-08-21 13:15:39 +01:00
jzmaddock
d9858963d0
Merge branch 'move' of https://github.com/lakshayg/math into pr79
2017-08-20 09:16:20 +01:00
jzmaddock
b70d7b1359
Add polynomial performance test.
2017-08-20 08:28:41 +01:00
Lakshay Garg
36b272c42b
enable move semantics for polynomial
2017-08-17 09:11:40 +05:30
jzmaddock
bc03a4ec79
Remove forward references to gcd/lcm types:
...
These are no longer part of Boost.Math, but moved to Integer.
2017-08-14 19:56:14 +01:00
jzmaddock
68c80b5fc8
Merge branch 'pr66' of https://github.com/NAThompson/math into pr66_78
...
# 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-09 18:02:36 +01:00
jzmaddock
3770719aff
Quadrature: Remove the minimum levels requirement on tanh_sinh.
2017-08-07 19:04:42 +01:00
jzmaddock
a928ff3df3
Quadrature: Correct logic in finding the first abscissa values which are stored as complements.
2017-08-06 13:14:42 +01:00
jzmaddock
1225612a28
quadrature: Remove unneeded test case, adjust one error rate, and finally silence some warnings.
2017-08-06 12:50:53 +01:00
jzmaddock
70e87cb407
Merge pull request #75 from boostorg/jzmaddock-patch-1
...
Remove forward references to gcd/lcm types:
2017-08-06 08:38:58 +01:00
jzmaddock
623263e726
Disable abs overload for __float128 when building with gcc-7 and later.
2017-08-03 11:38:16 +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
c3eb9e73d9
quadrature: move the tolerance into the integrate method from the constructor.
...
Since nothing in the constructor depends on the tolerance, and we may wish to use different integration tolerances with the same integrator object.
Update the tests to match the new interface. Also add "direct" integration methods which do not adapt the range at all, but assume that we are using the integrators native range.
2017-07-25 18:26:21 +01:00
jzmaddock
27c1fa591f
sinh_sinh: add pre-computed coefficients.
2017-07-23 18:50:38 +01:00
jzmaddock
6232615fd6
Remove forward references to gcd/lcm types:
...
These are no longer part of Boost.Math, but moved to Integer.
2017-07-21 18:19:56 +01:00
jzmaddock
397d8ce9c9
exp_sinh: add support for pre-computed constants.
2017-07-20 19:55:44 +01:00
jzmaddock
9d86bdefa6
Fix atomic namespaces.
2017-07-20 19:54:56 +01:00
jzmaddock
eb18bcd5aa
tanh_sinh: add some missing using declarations.
2017-07-18 18:34:51 +01:00
jzmaddock
6259b8c795
tanh_sinh: add support for 2 arg user functions.
...
Update tests accordingly and get everything passing locally.
2017-07-16 19:18:20 +01:00
jzmaddock
3f9ae1db4e
tanh_sinh: fix atomic/mutex usage to work on platforms that don't support the std:: versions.
2017-07-15 19:09:23 +01:00
jzmaddock
4334ced6a7
tanh_sinh: make the new version thread safe.
2017-07-15 17:07:59 +01:00
jzmaddock
4984809487
tanh_sinh: Add support for a minimum complement value,
...
so we can prune the table size when going to extreme ends of the range isn't required.
2017-07-15 16:47:55 +01:00
jzmaddock
80125ffb2c
tanh_sinh: Hook up infinite limits code to use the available complements of abscissa values where appropriate.
2017-07-12 19:17:29 +01:00