Commit Graph

5028 Commits

Author SHA1 Message Date
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
a2da7915ae Math.Chebyshev: include PCH header, and correct linker options in Jamfile.v2
Also fix some warnings from the test cases and increase the error tolerances for type float.
2017-09-20 18:25:07 +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
jzmaddock
16abdcadfb Merge pull request #83 from NAThompson/patch-1
Remove obsolete reference to adaptive_trapezoidal
2017-09-18 08:08:03 +01: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
2d3ccf940e Fix weird characters in rendered documentation for Chebyshev transform and polynomials. 2017-09-17 15:59:02 -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
fe5d59d0f1 Split tests into FFTW-dependent and FFTW-independent. Improve documentation to the extent feasible. 2017-09-16 19:58:59 -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
c5decc566e quadrature: split up some more tests they the object files aren't too large on win x64. 2017-09-11 13:05:49 +01:00
jzmaddock
9c6b144082 Quadrature: Disable gauss concept checks in C++03 2017-09-11 12:06:50 +01:00
jzmaddock
e9f0791f7e Simplify and clean up Gauss constant generation program.
[CI skip]
2017-09-09 19:44:24 +01:00
jzmaddock
25cc8fdad7 Add Gauss and Gauss-Kronrod docs. 2017-09-09 19:18:08 +01:00
jzmaddock
646c67d0d9 Remove C++14'isms that crept into tests. 2017-09-07 19:05:36 +01:00
jzmaddock
c8c02ba9a7 Add Gauss constant generation program. 2017-09-06 19:56:36 +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
pabristow
15568b8d62 Work on precision demo before holiday. OK on VS14.1 and GCC 7.1.0 but docs need much more work. 2017-09-02 12:12:10 +01:00
jzmaddock
7d2002db80 Quadrature: add gauss and gauss-kronrod quadrature. 2017-08-31 19:42:26 +01:00
pabristow
c1b8ffec7c Needed to merge? 2017-08-31 12:50:11 +01:00
pabristow
48435ed996 Commit before merge develop to get new config file 2017-08-30 17:05:34 +01:00
pabristow
9921c2742f Merge branch 'develop' of https://github.com/boostorg/math into develop 2017-08-30 12:04:24 +01:00
pabristow
1d4bef637e Students t documentation update to support infinity. 2017-08-30 12:03:54 +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
pabristow
0f070dd259 Commit work-in-progress before fixing students t on develop 2017-08-29 08:21:59 +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
37c71f73f2 quadrature docs: simplify tanh_sinh::integrate declarations, reformat for easier reading and regenerate. 2017-08-24 10:46:42 +01:00
Nick
2f03c96197 Typo removal. 2017-08-23 14:05:54 -06:00
Nick
c83ebd1193 Remove obsolete reference to adaptive_trapezoidal 2017-08-23 13:40:11 -06: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
696555e20f Regenerate documentations.
[CI skip]
2017-08-23 19:00:13 +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
532f873cbc Add missing polynomial_concept_check.cpp. 2017-08-22 08:04:53 +01:00
jzmaddock
be90278cb8 Quadrature: address more vc12 x64 failures. 2017-08-21 13:36:08 +01:00
jzmaddock
f6495af64c Polynomial: more simplifications and modernizations.
Also update msvc performance results.
2017-08-21 13:15:39 +01:00
jzmaddock
4e5c49cf28 Polynomial: Update msvc performance results. 2017-08-20 09:41:12 +01:00
jzmaddock
d9858963d0 Merge branch 'move' of https://github.com/lakshayg/math into pr79 2017-08-20 09:16:20 +01:00
jzmaddock
58247a32d7 quadrature: deal with another vc12 x64 failure. 2017-08-20 08:30:35 +01:00
jzmaddock
b70d7b1359 Add polynomial performance test. 2017-08-20 08:28:41 +01:00
jzmaddock
9aa555a189 Quadrature: More fixes for VC12 test failures.
Comment: std::exp(x) returns NaN or similar for x large and negative on this platform instead of the expected 0.
2017-08-19 18:41:09 +01:00