2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-19 04:22:09 +00:00

55 Commits

Author SHA1 Message Date
Matt Borland
8332808ebc Address review comments [CI SKIP] 2023-12-22 07:13:10 -05:00
Matt Borland
de67ad3207 Rename our components 2023-12-22 05:09:32 -05:00
Nick
4aac532a88 Add Estrin's method for polynomial evaluation (#932)
* Add Estrin's method for polynomial evaluation

N.B.: This is a slightly modified version of the code provided by Thomas Dybdahl Ahle in a github issue.

[CI SKIP] [ci skip]

* Add comparisons to Horner with std::array.
[CI SKIP]

* Add Estrin's method for polynomial evaluation

N.B.: This is a slightly modified version of the code provided by Thomas Dybdahl Ahle in a github issue.

[CI SKIP] [ci skip]

* Fix hang in n=0 case.

* Fix out of bounds access in test.

* Fix endsect for estrin.qbk.

* Apply clang-format to make the 'inspect' stage happy.

* Add type_traits header to includes.

* Add ulp plot.

* Document decreased accuracy of Estrin's method.

* Add assertion for size of scratch pad

* Remove std::size since it is C++17

* Add C++14 testing

* estrin -> evaluate_polynomial_estrin.

---------

Co-authored-by: jzmaddock <john@johnmaddock.co.uk>
Co-authored-by: Matt Borland <matt@mattborland.com>
2023-02-04 10:32:06 -08:00
jzmaddock
5da27935f2 Added further color table example. 2022-03-10 19:33:51 +00:00
Matt Borland
3e950d9e3a Color Maps (#752)
* Color Maps

* Make color maps constexpr

[ci skip]

* Add newton fractal example

[ci skip]

* Remove some unused code.

* Make the color map base class generic in size

Fix naming convention
[ci skip]

* Begin documentation.

* Move helper functions from example into tools header

[ci skip]

* Update docs and remove non-ASCII characters from example

* Add image to docs

* Reduce size of virdis_newton_fractal from 1.31MB to 131KB

[ci skip]

* Add performance file

* Don't force linear complexity and fix CI failure for old clang versions

* Convert color_maps to free functions.

* Add missing header and remove constexpr test

* Convert tabs to spaces

[ci skip]

* Fix compile tests and make static constexpr uniform across data

* Add swatches to docs.

* Fix image links in docs

[ci skip]

Co-authored-by: Nick Thompson <nathompson7@protonmail.com>
2022-02-09 11:19:38 +01:00
Matt Borland
e1601f129a Complete CI test with standalone mode (#680) 2022-01-14 08:12:22 -08:00
Matt Borland
26711525ca Remove uses of boost/cstdint without header called 2021-03-21 16:13:10 +03:00
Matt Borland
86c75bf8f2 Remove boost.array dependency 2021-03-10 20:01:10 +03:00
jzmaddock
162e7d4fd8 Merge pull request #545 from boostorg/hypergeometric_long_long_exponents
Change used exponent/scaling type from int to long long in the hyperg…
2021-02-22 17:57:08 +00:00
jzmaddock
e143811929 Change used exponent/scaling type from int to long long in the hypergeometric functions.
Allows use with type which have a greatly extended exponent range.
Also changes all itrunc's to lltrunc.
2021-02-21 16:07:08 +00:00
Matt Borland
5ae92ba0c3 Replace several boost types [ci skip] 2021-02-15 16:00:08 +03:00
Nick
cbd2af2890 Cohen acceleration (#415)
* Cohen acceleration

Accelerates convergence of an alternating series by a method designed by Cohen, Villegas, and Zagier.
2020-08-09 09:55:56 -04:00
Nick
8792935679 Engel expansions (#404) 2020-07-20 09:51:17 -04:00
Nick
ee2cd5d5e5 Luroth expansions (#401) 2020-07-18 09:28:39 -04:00
NAThompson
758288bc7b Typos in docs [CI SKIP] 2020-07-12 14:05:25 -04:00
NAThompson
696145aed2 Do not add newline to ostream operator of simple_continued_fraction; let the user. Also, remove some typos from the docs. 2020-07-12 13:51:13 -04:00
Nick
fbb62f01c5 Centered continued fractions (#379)
* Centered continued fraction [CI SKIP]

* Document centered cfrac. [CI SKIP]

* Unit tests for centered continued fraction [CI SKIP]

* Kick off build.

* Fix syntax error in docs [CI SKIP]

* Fix ADL.
2020-06-28 14:20:52 -04:00
Nick
1ac89b2b02 Simple continued fraction (#377)
* Simple continued fraction [CI SKIP]

* Comments on error analysis [CI SKIP]

* Simple continued fraction [CI SKIP]

* Clarify comment and kick off build.
2020-06-26 14:50:04 -04:00
Nick
9a45e6a358 AGM 2020-05-29 21:50:25 -04:00
Brian Wignall
3c976e5e09 Fix typos 2019-12-24 21:42:09 -05:00
Brian Wignall
df17d11299 Fix more typos, via latest version of typochecker tool 2019-12-20 10:41:42 -05:00
Brian Wignall
54770599d5 Fix more typos 2019-12-16 13:35:48 -05:00
Brian Wignall
ccff3fd1b3 Fix typos 2019-12-01 08:06:17 -05:00
pabristow
327c825dfa [CI SKIP] More cosmetic and link edits to get Inspect.exe passes except for links to [@boost: which shoudl work OK when built for the documentation. Ready to merge with develop, touch wood. 2019-08-12 17:53:50 +01:00
pabristow
6981dc12f9 [CI SKIP]Editorial work using changes in math.css, part one. 2019-08-09 13:22:33 +01:00
jzmaddock
9350bda2bd 1F1: Fix documentation typos.
[CI SKIP]
2019-08-03 10:11:38 +01:00
jzmaddock
3130c30e4f pFq: Add tests for hypergeometric_pFq_precision.
Update docs.
Document recurrence tools.
2019-08-01 15:19:01 +01:00
jzmaddock
451afc3102 Fix polynomial template constructors. 2018-11-30 19:31:51 +00:00
Nick Thompson
54f475e58f Add call operator, .prime(), .integrate(), and move constructor to polynomial.hpp 2018-11-14 17:04:57 -07:00
jzmaddock
386898c089 Update continued fractions and series:
To support complex types, and better docs.
Fixes: https://github.com/boostorg/math/issues/129.
2018-08-20 21:22:06 +01:00
jzmaddock
80e7f7027c Merge branch 'barycentric' of https://github.com/NAThompson/math into interpolate_rat
Fix some msvc failures.
Suppress some compiler warnings.
Added iterator based constructor.
Moved docs to better position.

# 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-05-05 13:01:56 +01:00
jzmaddock
adc2234d95 Merge branch 'barycentric' of https://github.com/NAThompson/math into interpolate_rat
# 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-05-04 13:18:05 +01:00
Jeremy W. Murphy
406e69e862 Add a paragraph to the docs about subresultant_gcd and gcd overload. 2016-08-25 23:19:11 +10:00
jzmaddock
281e6d8bab Mark operator bool as explicit in docs. 2016-05-26 18:41:50 +01:00
Jeremy W. Murphy
9558b22b6c Update API documentation. 2016-05-15 21:07:15 +10:00
Kolya Matteo
5faad1baf8 Add polynomial pow function to docs 2016-05-11 16:18:42 -04:00
jzmaddock
11500b787b Merge branch 'polynomial_shift' of https://github.com/jeremy-murphy/math into gcd
# 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.
2016-04-06 17:58:21 +01:00
Jeremy W. Murphy
7969de6fae Add C++11 initializer_list constructor and assignment to polynomial class. 2016-01-31 19:04:37 +11:00
pabristow
7a7d3321fe Moved polystuff to tools, added JWM as author and numerous minor edits 2015-12-14 16:13:05 +00:00
pabristow
b2bd954faa Polish polynomial example. 2015-12-13 17:33:17 +00:00
Jeremy W. Murphy
db07507a75 Minor doc change to parameter names. 2015-12-11 11:56:56 +11:00
Jeremy W. Murphy
f8d6220e4e More documentation updates and parameter name consistency. 2015-11-20 12:06:13 +11:00
Jeremy W. Murphy
e7df87d3c6 Minor update to documentation. 2015-11-20 11:58:17 +11:00
Jeremy W. Murphy
c92a89c6a6 Update documentation. 2015-11-17 10:15:42 +11:00
Jeremy W. Murphy
ec764814a0 Update class interface documentation. 2015-11-04 12:25:46 +11:00
pabristow
5638fe9be2 Re-structured to separate into tools (rooting and minimization) and internals, and links revised to suit. 2015-03-05 15:25:19 +00:00
jzmaddock
e5a25df9a2 Make a few edits and reorganize root finding docs. 2014-12-15 18:30:39 +00:00
pabristow
4da25c8bb4 Work in progress on root finding examples. 2014-12-12 12:03:29 +00:00
pabristow
4ae5adbae7 Trivial change to new branch for improvements to root finding documentation. 2014-12-10 11:51:55 +00:00
jzmaddock
e20b44e8a9 Move headers that are mostly used for internal maintenance and testing into an "include_private" directory - this is to reduce dependencies on other Boost modules when using this library. 2014-06-09 16:08:35 +01:00