2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-28 19:32:08 +00:00
Commit Graph

1647 Commits

Author SHA1 Message Date
jzmaddock
7403cbbd43 Make table driven functions constexpr:
unchecked_factorial, unchecked_bernoulli_b2n and prime.
2018-02-11 19:59:26 +00:00
Nick Thompson
da4a027233 [ci skip] Remove 'print_coefficients()' as 'coefficients()' is implemented and 'print_coefficients()' requires including <iostream> which was previously not included in chebyshev_transform.hpp 2018-02-04 11:47:53 -06:00
jzmaddock
f0b5e17ebf Merge branch 'develop' of https://github.com/boostorg/math into develop 2018-01-30 08:27:10 +00:00
jzmaddock
426db8d929 Math.Quaternion: Fix forward declarations of quaternion.
See https://github.com/boostorg/math/issues/99
2018-01-30 08:26:50 +00:00
jzmaddock
5ad688def2 Merge pull request #100 from kuhlenough/develop
Don't use std::fpclassify() on VxWorks as well
2018-01-25 10:16:51 +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
Brian Kuhl
72997d2963 Don't use std::fpclassify() on VxWorks as well
It doesn't exisit
2018-01-16 11:02:06 -05: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
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