Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post-1.77 beta changes. #661

Merged
merged 6 commits into from
Jul 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
fail-fast: false
matrix:
compiler: [ g++-9, g++-10, clang++-10 ]
compiler: [ g++-9, g++-10, g++-11, clang++-10 ]
standard: [ c++11, c++14, c++17, c++2a ]
suite: [ float128_tests, special_fun, distribution_tests, misc, quadrature, mp, interpolators, autodiff, ../example//examples, ../tools ]
steps:
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
if: steps.retry1.outcome=='failure'
run: sudo apt-add-repository -y "ppa:ubuntu-toolchain-r/test"
- name: Install packages
run: sudo apt install g++-9 g++-10 clang-9 clang-10 libgmp-dev libmpfr-dev libfftw3-dev
run: sudo apt install g++-9 g++-10 g++-11 clang-9 clang-10 libgmp-dev libmpfr-dev libfftw3-dev
- name: Checkout main boost
run: git clone -b develop --depth 1 https://github.com/boostorg/boost.git ../boost-root
- name: Update tools/boostdep
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
strategy:
fail-fast: false
matrix:
compiler: [ g++-5, g++-6, clang++-5.0, clang++-6.0, g++-7, g++-8, clang++-7, clang++-8 ]
compiler: [ g++-6, clang++-6.0, g++-7, g++-8, clang++-7, clang++-8 ]
standard: [ c++11, c++14, c++17 ]
suite: [ float128_tests, special_fun, distribution_tests, misc, quadrature, mp, interpolators, autodiff, ../example//examples, ../tools ]
steps:
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
if: steps.retry1.outcome=='failure'
run: sudo apt-add-repository -y "ppa:ubuntu-toolchain-r/test"
- name: Install packages
run: sudo apt install g++-5 g++-6 g++-7 g++-8 clang-5.0 clang-6.0 clang-7 clang-8 libgmp-dev libmpfr-dev libfftw3-dev
run: sudo apt install g++-6 g++-7 g++-8 clang-6.0 clang-7 clang-8 libgmp-dev libmpfr-dev libfftw3-dev
- name: Checkout main boost
run: git clone -b develop --depth 1 https://github.com/boostorg/boost.git ../boost-root
- name: Update tools/boostdep
Expand Down
25 changes: 15 additions & 10 deletions doc/distributions/hypergeometric.qbk
Original file line number Diff line number Diff line change
Expand Up @@ -229,18 +229,23 @@ gives the required CDF.
The median is simply the quantile at 0.5, and the remaining properties are
calculated via:

[equation hypergeometric6]

[note The kurtosis formula above is not quite correct and kurtosis excess is now calculated
from
[@https://www.wolframalpha.com/input/?i=kurtosis+hypergeometric+distribution Wolfram Alpha hypergeometric distribution kurtosis].
(The hypergeometric distribution kurtosis excess is mentioned in
[@https://mathworld.wolfram.com/HypergeometricDistribution.html Wolfram Hypergeometric distribution]
but coyly only described as ['\"the kurtosis excess is given by a complicated expression.\"]).
This has been found numerically equivalent to the
[@https://en.wikipedia.org/wiki/Hypergeometric_distribution Wikipedia hypergeometric kurtosis excess formula].
[/
Requires amsmath and mathtools:

\DeclarePairedDelimiter{\floor}{\lfloor}{\rfloor}
\begin{equation*}
\begin{split}
mean & = \frac{rn}{N} \\
mode & = \floor*{ \frac{(r+1)(n+1)}{N+2} }\\
variance & = \frac{r(\frac{n}{N})(1-\frac{n}{N})(N-r)}{(N-1)}\\
skewness & = \frac{(N-2n)\sqrt{(N-1)}(N-2r)}{\sqrt{rn(N-n)(N-r)}(N-2)}\\
kurtosis & = \frac{((N - 1) N^2 ((3 r (N - r) (n^2 (-N) + (n - 2) N^2 + 6 n (N - n)))/N^2 - 6 n (N - n) + N (N + 1)))}{(r n (N - 3) (N - 2) (N - r) (N - n))}
\end{split}
\end{equation*}
]

[equation hypergeometric6]

[endsect]

[/ hypergeometric.qbk
Expand Down
710 changes: 708 additions & 2 deletions doc/equations/hypergeometric6.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions doc/html/backgrounders.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<title>Chapter 23. Backgrounders</title>
<link rel="stylesheet" href="math.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="Math Toolkit 3.0.0">
<link rel="up" href="index.html" title="Math Toolkit 3.0.0">
<link rel="home" href="index.html" title="Math Toolkit 3.1.0">
<link rel="up" href="index.html" title="Math Toolkit 3.1.0">
<link rel="prev" href="math_toolkit/perf_test_app.html" title="The Performance Test Applications">
<link rel="next" href="math_toolkit/sf_implementation.html" title="Additional Implementation Notes">
</head>
Expand Down
4 changes: 2 additions & 2 deletions doc/html/constants.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<title>Chapter 4. Mathematical Constants</title>
<link rel="stylesheet" href="math.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="Math Toolkit 3.0.0">
<link rel="up" href="index.html" title="Math Toolkit 3.0.0">
<link rel="home" href="index.html" title="Math Toolkit 3.1.0">
<link rel="up" href="index.html" title="Math Toolkit 3.1.0">
<link rel="prev" href="math_toolkit/float128/typeinfo.html" title="typeinfo">
<link rel="next" href="math_toolkit/constants_intro.html" title="Introduction">
</head>
Expand Down
4 changes: 2 additions & 2 deletions doc/html/cstdfloat.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<title>Chapter 3. Specified-width floating-point typedefs</title>
<link rel="stylesheet" href="math.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="Math Toolkit 3.0.0">
<link rel="up" href="index.html" title="Math Toolkit 3.0.0">
<link rel="home" href="index.html" title="Math Toolkit 3.1.0">
<link rel="up" href="index.html" title="Math Toolkit 3.1.0">
<link rel="prev" href="math_toolkit/ulps_plots.html" title="ULPs Plots">
<link rel="next" href="math_toolkit/specified_typedefs.html" title="Overview">
</head>
Expand Down
4 changes: 2 additions & 2 deletions doc/html/dist.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<title>Chapter 5. Statistical Distributions and Functions</title>
<link rel="stylesheet" href="math.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="Math Toolkit 3.0.0">
<link rel="up" href="index.html" title="Math Toolkit 3.0.0">
<link rel="home" href="index.html" title="Math Toolkit 3.1.0">
<link rel="up" href="index.html" title="Math Toolkit 3.1.0">
<link rel="prev" href="math_toolkit/constants_faq.html" title="Math Constants FAQs">
<link rel="next" href="math_toolkit/stat_tut.html" title="Statistical Distributions Tutorial">
</head>
Expand Down
4 changes: 2 additions & 2 deletions doc/html/extern_c.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<title>Chapter 9. TR1 and C99 external "C" Functions</title>
<link rel="stylesheet" href="math.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="Math Toolkit 3.0.0">
<link rel="up" href="index.html" title="Math Toolkit 3.0.0">
<link rel="home" href="index.html" title="Math Toolkit 3.1.0">
<link rel="up" href="index.html" title="Math Toolkit 3.1.0">
<link rel="prev" href="math_toolkit/daubechies.html" title="Daubechies Wavelets and Scaling Functions">
<link rel="next" href="math_toolkit/main_tr1.html" title="C99 and TR1 C Functions Overview">
</head>
Expand Down
4 changes: 2 additions & 2 deletions doc/html/filters.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<title>Chapter 14. Filters</title>
<link rel="stylesheet" href="math.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="Math Toolkit 3.0.0">
<link rel="up" href="index.html" title="Math Toolkit 3.0.0">
<link rel="home" href="index.html" title="Math Toolkit 3.1.0">
<link rel="up" href="index.html" title="Math Toolkit 3.1.0">
<link rel="prev" href="math_toolkit/diff0.html" title="Lanczos Smoothing Derivatives">
<link rel="next" href="math_toolkit/daubechies_filters.html" title="Daubechies Filters">
</head>
Expand Down
4 changes: 2 additions & 2 deletions doc/html/gcd_lcm.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<title>Chapter 18. Integer Utilities (Greatest Common Divisor and Least Common Multiple)</title>
<link rel="stylesheet" href="math.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="Math Toolkit 3.0.0">
<link rel="up" href="index.html" title="Math Toolkit 3.0.0">
<link rel="home" href="index.html" title="Math Toolkit 3.1.0">
<link rel="up" href="index.html" title="Math Toolkit 3.1.0">
<link rel="prev" href="math_toolkit/oct_todo.html" title="To Do">
<link rel="next" href="internals.html" title="Chapter 19. Internal Details: Series, Rationals and Continued Fractions, Testing, and Development Tools">
</head>
Expand Down
8 changes: 4 additions & 4 deletions doc/html/index.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Math Toolkit 3.0.0</title>
<title>Math Toolkit 3.1.0</title>
<link rel="stylesheet" href="math.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="Math Toolkit 3.0.0">
<link rel="home" href="index.html" title="Math Toolkit 3.1.0">
<link rel="next" href="overview.html" title="Chapter 1. Overview">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
Expand All @@ -22,7 +22,7 @@
<div class="titlepage">
<div>
<div><h1 class="title">
<a name="math_toolkit"></a>Math Toolkit 3.0.0</h1></div>
<a name="math_toolkit"></a>Math Toolkit 3.1.0</h1></div>
<div><div class="authorgroup">
<div class="author"><h3 class="author">
<span class="firstname">Nikhar</span> <span class="surname">Agrawal</span>
Expand Down Expand Up @@ -134,7 +134,7 @@
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"><p><small>Last revised: June 16, 2021 at 10:35:24 GMT</small></p></td>
<td align="left"><p><small>Last revised: June 28, 2021 at 18:44:06 GMT</small></p></td>
<td align="right"><div class="copyright-footer"></div></td>
</tr></table>
<hr>
Expand Down
4 changes: 2 additions & 2 deletions doc/html/indexes.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<title>Chapter 25. Indexes</title>
<link rel="stylesheet" href="math.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="Math Toolkit 3.0.0">
<link rel="up" href="index.html" title="Math Toolkit 3.0.0">
<link rel="home" href="index.html" title="Math Toolkit 3.1.0">
<link rel="up" href="index.html" title="Math Toolkit 3.1.0">
<link rel="prev" href="math_toolkit/credits.html" title="Credits and Acknowledgements">
<link rel="next" href="indexes/s01.html" title="Function Index">
</head>
Expand Down
Loading