Nick Thompson
a90aac3656
Cleanup based on codereview.stackexchange.com suggestions.
2018-01-12 16:33:07 -06:00
Nick Thompson
ec3412ac28
Better comments, #include guards.
2018-01-12 13:14:34 -06:00
Nick Thompson
358d9d3496
In float precision, make sure that eps < x[j] < 1 - eps, or we hit singularities on the boundary.
2018-01-11 21:57:15 -06:00
Nick Thompson
a13c7e9ab0
Double infinite limits.
2018-01-11 12:08:53 -06:00
Nick Thompson
d5eb6e3995
Support infinite lower and upper bounds.
2018-01-11 11:39:21 -06:00
Nick Thompson
d0e52cf8c9
Policies for monte-carlo
2017-12-30 10:53:53 -07:00
Nick Thompson
0da69d2626
Add isfinite to std_real_concept to fix build.
2017-11-29 16:17:08 -07:00
Nick Thompson
d53284370a
Use ADL to green some more builds. Add requirements to build on Chebyshev transform.
2017-11-29 15:09:20 -07:00
Nick Thompson
401e353385
Hopefully get a few more builds green; eliminate compiler warnings.
2017-11-28 08:41:23 -06:00
Nick Thompson
57ba888a50
Unit test variance.
2017-11-23 14:18:05 -07:00
Nick Thompson
773076475c
Fix exception safety in threads.
2017-11-23 10:53:35 -07:00
Nick Thompson
67578ce12b
Naive Monte-Carlo integration. Still needs to handle exceptions in threads.
2017-11-21 18:49:14 -07:00
jzmaddock
1783c3a74c
Math: Fix inspection report errors.
2017-11-09 19:39:32 +00:00
Nick Thompson
713f17f76a
Fix typo in error message.
2017-11-04 13:50:12 -06:00
jzmaddock
97f61f0020
Math.Quaternion: Add workarounds for older compilers and fix up constexpr support.
2017-10-06 19:22:45 +01:00
jzmaddock
cfdd05f158
Math.Quaternion: Add move semantics.
2017-10-05 18:18:21 +01:00
jzmaddock
94e92dc5f4
Math.Quaternion: add swap method.
2017-10-05 18:12:24 +01:00
jzmaddock
68b82322ab
Math.Quaternion: remove dead code from header.
2017-10-05 13:06:20 +01:00
jzmaddock
601ee6e00f
Math.Quaternion: Rewrite test program, mostly remove valarray usage from header.
2017-10-05 12:50:24 +01: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