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

Fix more typos, after another typochecker bug fix

This commit is contained in:
Brian Wignall
2019-12-26 09:33:10 -05:00
parent 8b277e3ff3
commit 56740d2257
4 changed files with 10 additions and 10 deletions

View File

@@ -418,7 +418,7 @@
<li class="listitem">
<a name="ellint_ref_carlson81"></a>B.C. Carlson and E.M. Notis, <span class="emphasis"><em>ALGORITHM
577: Algorithms for Incomplete Elliptic Integrals</em></span>, ACM Transactions
on Mathematmal Software, vol 7, 398 (1981).
on Mathematical Software, vol 7, 398 (1981).
</li>
<li class="listitem">
B. C. Carlson, <span class="emphasis"><em>On computing elliptic integrals and functions</em></span>.
@@ -462,7 +462,7 @@
</p>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem">
R. Burlisch, <span class="emphasis"><em>Numerical Compuation of Elliptic Integrals and
R. Burlisch, <span class="emphasis"><em>Numerical Computation of Elliptic Integrals and
Elliptic Functions.</em></span> Numerical Mathematik 7, 78-90.
</li>
<li class="listitem">
@@ -471,7 +471,7 @@
13, 266-284.
</li>
<li class="listitem">
R. Burlisch, <span class="emphasis"><em>Numerical Compuation of Elliptic Integrals and
R. Burlisch, <span class="emphasis"><em>Numerical Computation of Elliptic Integrals and
Elliptic Functions. III</em></span>. Numerical Mathematik 13, 305-315.
</li>
<li class="listitem">

View File

@@ -214,7 +214,7 @@ National Bureau of Standards Applied Mathematics Series, U.S. Government Printin
# [#ellint_ref_carlson78]B.C. Carlson, ['Short Proofs of Three Theorems on Elliptic Integrals],
SIAM Journal on Mathematical Analysis, vol 9, 524 (1978).
# [#ellint_ref_carlson81]B.C. Carlson and E.M. Notis, ['ALGORITHM 577: Algorithms for Incomplete
Elliptic Integrals], ACM Transactions on Mathematmal Software,
Elliptic Integrals], ACM Transactions on Mathematical Software,
vol 7, 398 (1981).
# B. C. Carlson, ['On computing elliptic integrals and functions]. J. Math. and
Phys., 44 (1965), pp. 36-51.
@@ -239,11 +239,11 @@ SIAM Journal on Mathematical Analysis, Volume 25, Issue 2 (March 1994), 288-303.
The following references, while not directly relevant to our implementation,
may also be of interest:
# R. Burlisch, ['Numerical Compuation of Elliptic Integrals and Elliptic Functions.]
# R. Burlisch, ['Numerical Computation of Elliptic Integrals and Elliptic Functions.]
Numerical Mathematik 7, 78-90.
# R. Burlisch, ['An extension of the Bartky Transformation to Incomplete
Elliptic Integrals of the Third Kind]. Numerical Mathematik 13, 266-284.
# R. Burlisch, ['Numerical Compuation of Elliptic Integrals and Elliptic Functions. III].
# R. Burlisch, ['Numerical Computation of Elliptic Integrals and Elliptic Functions. III].
Numerical Mathematik 13, 305-315.
# T. Fukushima and H. Ishizaki, ['[@http://adsabs.harvard.edu/abs/1994CeMDA..59..237F
Numerical Computation of Incomplete Elliptic Integrals of a General Form.]]

View File

@@ -103,7 +103,7 @@ T get_prime_products()
template <class T>
T get_uniform_random()
{
static boost::random::uniform_int_distribution<T> minmax((std::numeric_limits<T>::min)(), (std::numeric_limits<T>::max)());
static boost::random::uniform_int_distribution<T> minimax((std::numeric_limits<T>::min)(), (std::numeric_limits<T>::max)());
return minmax(rng);
}

View File

@@ -95,7 +95,7 @@ void test_spots(RealType)
{
// Basic sanity checks
//
// 15 decimal places expressed as a persentage.
// 15 decimal places expressed as a percentage.
// The first tests use values generated by MathCAD,
// and should be accurate to around double precision.
//
@@ -133,7 +133,7 @@ void test_spots(RealType)
// (it doesn't agree with MathCAD or this implementation).
// To be fair the incomplete gamma is tricky to get right in this area...
//
tolerance = 1e-5f * 100; // 5 decimal places as a persentage
tolerance = 1e-5f * 100; // 5 decimal places as a percentage
cout << "Tolerance for type " << typeid(RealType).name() << " is " << tolerance << " %" << endl;
check_gamma(
@@ -166,7 +166,7 @@ void test_spots(RealType)
tolerance);
RealType tol2 = boost::math::tools::epsilon<RealType>() * 5 * 100; // 5 eps as a persentage
RealType tol2 = boost::math::tools::epsilon<RealType>() * 5 * 100; // 5 eps as a percentage
gamma_distribution<RealType> dist(8, 3);
RealType x = static_cast<RealType>(0.125);
using namespace std; // ADL of std names.