From 32a41b1abe1a4aab0892c9c2051be6ba5b379f1e Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Mon, 11 May 2020 22:17:58 +0200 Subject: New upstream version 2.2.0~rc1+repack --- .../doc/html/math_toolkit/ellint/ellint_1.html | 268 ----- .../doc/html/math_toolkit/ellint/ellint_2.html | 269 ----- .../doc/html/math_toolkit/ellint/ellint_3.html | 352 ------ .../html/math_toolkit/ellint/ellint_carlson.html | 1128 -------------------- .../doc/html/math_toolkit/ellint/ellint_d.html | 360 ------- .../doc/html/math_toolkit/ellint/ellint_intro.html | 451 -------- .../html/math_toolkit/ellint/heuman_lambda.html | 221 ---- .../doc/html/math_toolkit/ellint/jacobi_zeta.html | 257 ----- 8 files changed, 3306 deletions(-) delete mode 100644 boost/libs/math/doc/html/math_toolkit/ellint/ellint_1.html delete mode 100644 boost/libs/math/doc/html/math_toolkit/ellint/ellint_2.html delete mode 100644 boost/libs/math/doc/html/math_toolkit/ellint/ellint_3.html delete mode 100644 boost/libs/math/doc/html/math_toolkit/ellint/ellint_carlson.html delete mode 100644 boost/libs/math/doc/html/math_toolkit/ellint/ellint_d.html delete mode 100644 boost/libs/math/doc/html/math_toolkit/ellint/ellint_intro.html delete mode 100644 boost/libs/math/doc/html/math_toolkit/ellint/heuman_lambda.html delete mode 100644 boost/libs/math/doc/html/math_toolkit/ellint/jacobi_zeta.html (limited to 'boost/libs/math/doc/html/math_toolkit/ellint') diff --git a/boost/libs/math/doc/html/math_toolkit/ellint/ellint_1.html b/boost/libs/math/doc/html/math_toolkit/ellint/ellint_1.html deleted file mode 100644 index 3f10da2d..00000000 --- a/boost/libs/math/doc/html/math_toolkit/ellint/ellint_1.html +++ /dev/null @@ -1,268 +0,0 @@ - - - -Elliptic Integrals of the First Kind - Legendre Form - - - - - - - - - - - - - - - -
Boost C++ LibrariesHomeLibrariesPeopleFAQMore
-
-
-PrevUpHomeNext -
-
- -
- - Synopsis -
-
#include <boost/math/special_functions/ellint_1.hpp>
-
-
namespace boost { namespace math {
-
-template <class T1, class T2>
-calculated-result-type ellint_1(T1 k, T2 phi);
-
-template <class T1, class T2, class Policy>
-calculated-result-type ellint_1(T1 k, T2 phi, const Policy&);
-
-template <class T>
-calculated-result-type ellint_1(T k);
-
-template <class T, class Policy>
-calculated-result-type ellint_1(T k, const Policy&);
-
-}} // namespaces
-
-
- - Description -
-

- These two functions evaluate the incomplete elliptic integral of the first - kind F(φ, k) and its complete counterpart K(k) - = F(π/2, k). -

-

- -

-

- The return type of these functions is computed using the result - type calculation rules when T1 and T2 are different types: - when they are the same type then the result is the same type as the arguments. -

-
template <class T1, class T2>
-calculated-result-type ellint_1(T1 k, T2 phi);
-
-template <class T1, class T2, class Policy>
-calculated-result-type ellint_1(T1 k, T2 phi, const Policy&);
-
-

- Returns the incomplete elliptic integral of the first kind F(φ, - k): -

-

- -

-

- Requires -1 <= k <= 1, otherwise returns the result of domain_error. -

-

- The final Policy argument is optional and can - be used to control the behaviour of the function: how it handles errors, - what level of precision to use etc. Refer to the policy - documentation for more details. -

-
template <class T>
-calculated-result-type ellint_1(T k);
-
-template <class T>
-calculated-result-type ellint_1(T k, const Policy&);
-
-

- Returns the complete elliptic integral of the first kind K(k): -

-

- -

-

- Requires -1 <= k <= 1, otherwise returns the result of domain_error. -

-

- The final Policy argument is optional and can - be used to control the behaviour of the function: how it handles errors, - what level of precision to use etc. Refer to the policy - documentation for more details. -

-
- - Accuracy -
-

- These functions are computed using only basic arithmetic operations, so there - isn't much variation in accuracy over differing platforms. Note that only - results for the widest floating point type on the system are given as narrower - types have effectively - zero error. All values are relative errors in units of epsilon. -

-
-

Table 6.63. Error rates for ellint_1

-
------- - - - - - - - - - - - - - - - - - - - - - - - -
- -

- Microsoft Visual C++ version 12.0
Win32
double -

-
-

- GNU C++ version 5.1.0
linux
long double -

-
-

- GNU C++ version 5.1.0
linux
double -

-
-

- Sun compiler version 0x5130
Sun Solaris
long double -

-
-

- Elliptic Integral F: Mathworld Data -

-
-

- Max = 0.919ε (Mean = 0.542ε) -

-
-

- Max = 0.94ε (Mean = 0.509ε)

- (<tr1/cmath>: Max - = +INFε (Mean = +INFε) And - other failures.) -

-
-

- Max = 0ε (Mean = 0ε)

(GSL - 1.16: Max = 0.919ε (Mean = 0.544ε))
(Cephes: - Max = +INFε (Mean = +INFε) And - other failures.) -

-
-

- Max = 0.94ε (Mean = 0.509ε) -

-
-

- Elliptic Integral F: Random Data -

-
-

- Max = 2.26ε (Mean = 0.631ε) -

-
-

- Max = 1.57ε (Mean = 0.56ε)

- (<tr1/cmath>: Max = 2.56ε (Mean = 0.816ε)) -

-
-

- Max = 0ε (Mean = 0ε)

(GSL - 1.16: Max = 2.99ε (Mean = 0.797ε))
(Cephes: - Max = 2.18ε (Mean = 0.535ε)) -

-
-

- Max = 1.57ε (Mean = 0.561ε) -

-
-
-
- - Testing -
-

- The tests use a mixture of spot test values calculated using the online calculator - at functions.wolfram.com, - and random test data generated using NTL::RR at 1000-bit precision and this - implementation. -

-
- - Implementation -
-

- These functions are implemented in terms of Carlson's integrals using the - relations: -

-

- -

-

- and -

-

- -

-
- - - -
-
-
-PrevUpHomeNext -
- - diff --git a/boost/libs/math/doc/html/math_toolkit/ellint/ellint_2.html b/boost/libs/math/doc/html/math_toolkit/ellint/ellint_2.html deleted file mode 100644 index 85451b36..00000000 --- a/boost/libs/math/doc/html/math_toolkit/ellint/ellint_2.html +++ /dev/null @@ -1,269 +0,0 @@ - - - -Elliptic Integrals of the Second Kind - Legendre Form - - - - - - - - - - - - - - - -
Boost C++ LibrariesHomeLibrariesPeopleFAQMore
-
-
-PrevUpHomeNext -
-
- -
- - Synopsis -
-
#include <boost/math/special_functions/ellint_2.hpp>
-
-
namespace boost { namespace math {
-
-template <class T1, class T2>
-calculated-result-type ellint_2(T1 k, T2 phi);
-
-template <class T1, class T2, class Policy>
-calculated-result-type ellint_2(T1 k, T2 phi, const Policy&);
-
-template <class T>
-calculated-result-type ellint_2(T k);
-
-template <class T, class Policy>
-calculated-result-type ellint_2(T k, const Policy&);
-
-}} // namespaces
-
-
- - Description -
-

- These two functions evaluate the incomplete elliptic integral of the second - kind E(φ, k) and its complete counterpart E(k) - = E(π/2, k). -

-

- -

-

- The return type of these functions is computed using the result - type calculation rules when T1 and T2 are different types: - when they are the same type then the result is the same type as the arguments. -

-
template <class T1, class T2>
-calculated-result-type ellint_2(T1 k, T2 phi);
-
-template <class T1, class T2, class Policy>
-calculated-result-type ellint_2(T1 k, T2 phi, const Policy&);
-
-

- Returns the incomplete elliptic integral of the second kind E(φ, - k): -

-

- -

-

- Requires -1 <= k <= 1, otherwise returns the result of domain_error. -

-

- The final Policy argument is optional and can - be used to control the behaviour of the function: how it handles errors, - what level of precision to use etc. Refer to the policy - documentation for more details. -

-
template <class T>
-calculated-result-type ellint_2(T k);
-
-template <class T>
-calculated-result-type ellint_2(T k, const Policy&);
-
-

- Returns the complete elliptic integral of the second kind E(k): -

-

- -

-

- Requires -1 <= k <= 1, otherwise returns the result of domain_error. -

-

- The final Policy argument is optional and can - be used to control the behaviour of the function: how it handles errors, - what level of precision to use etc. Refer to the policy - documentation for more details. -

-
- - Accuracy -
-

- These functions are computed using only basic arithmetic operations, so there - isn't much variation in accuracy over differing platforms. Note that only - results for the widest floating point type on the system are given as narrower - types have effectively - zero error. All values are relative errors in units of epsilon. -

-
-

Table 6.64. Error rates for ellint_2

-
------- - - - - - - - - - - - - - - - - - - - - - - - -
- -

- Microsoft Visual C++ version 12.0
Win32
double -

-
-

- GNU C++ version 5.1.0
linux
long double -

-
-

- GNU C++ version 5.1.0
linux
double -

-
-

- Sun compiler version 0x5130
Sun Solaris
long double -

-
-

- Elliptic Integral E: Mathworld Data -

-
-

- Max = 1.31ε (Mean = 0.727ε) -

-
-

- Max = 0.656ε (Mean = 0.317ε)

- (<tr1/cmath>: Max - = +INFε (Mean = +INFε) And - other failures.) -

-
-

- Max = 0ε (Mean = 0ε)

(GSL - 1.16: Max = 0.63ε (Mean = 0.325ε))
(Cephes: - Max = +INFε (Mean = +INFε) And - other failures.) -

-
-

- Max = 0.656ε (Mean = 0.317ε) -

-
-

- Elliptic Integral E: Random Data -

-
-

- Max = 2.23ε (Mean = 0.639ε) -

-
-

- Max = 2.05ε (Mean = 0.632ε)

- (<tr1/cmath>: Max = 3.08e+04ε (Mean = - 3.84e+03ε)) -

-
-

- Max = 0ε (Mean = 0ε)

(GSL - 1.16: Max = 4.4ε (Mean = 1.16ε))
(Cephes: - Max = 8.92ε (Mean = 1.48ε)) -

-
-

- Max = 2.05ε (Mean = 0.632ε) -

-
-
-
- - Testing -
-

- The tests use a mixture of spot test values calculated using the online calculator - at functions.wolfram.com, - and random test data generated using NTL::RR at 1000-bit precision and this - implementation. -

-
- - Implementation -
-

- These functions are implemented in terms of Carlson's integrals using the - relations: -

-

- -

-

- and -

-

- -

-
- - - -
-
-
-PrevUpHomeNext -
- - diff --git a/boost/libs/math/doc/html/math_toolkit/ellint/ellint_3.html b/boost/libs/math/doc/html/math_toolkit/ellint/ellint_3.html deleted file mode 100644 index 33c45f7a..00000000 --- a/boost/libs/math/doc/html/math_toolkit/ellint/ellint_3.html +++ /dev/null @@ -1,352 +0,0 @@ - - - -Elliptic Integrals of the Third Kind - Legendre Form - - - - - - - - - - - - - - - -
Boost C++ LibrariesHomeLibrariesPeopleFAQMore
-
-
-PrevUpHomeNext -
-
- -
- - Synopsis -
-
#include <boost/math/special_functions/ellint_3.hpp>
-
-
namespace boost { namespace math {
-
-template <class T1, class T2, class T3>
-calculated-result-type ellint_3(T1 k, T2 n, T3 phi);
-
-template <class T1, class T2, class T3, class Policy>
-calculated-result-type ellint_3(T1 k, T2 n, T3 phi, const Policy&);
-
-template <class T1, class T2>
-calculated-result-type ellint_3(T1 k, T2 n);
-
-template <class T1, class T2, class Policy>
-calculated-result-type ellint_3(T1 k, T2 n, const Policy&);
-
-}} // namespaces
-
-
- - Description -
-

- These two functions evaluate the incomplete elliptic integral of the third - kind Π(n, φ, k) and its complete counterpart Π(n, - k) = E(n, π/2, k). -

-

- -

-

- The return type of these functions is computed using the result - type calculation rules when the arguments are of different - types: when they are the same type then the result is the same type as the - arguments. -

-
template <class T1, class T2, class T3>
-calculated-result-type ellint_3(T1 k, T2 n, T3 phi);
-
-template <class T1, class T2, class T3, class Policy>
-calculated-result-type ellint_3(T1 k, T2 n, T3 phi, const Policy&);
-
-

- Returns the incomplete elliptic integral of the third kind Π(n, - φ, k): -

-

- -

-

- Requires -1 <= k <= 1 and n < 1/sin2(φ), - otherwise returns the result of domain_error - (outside this range the result would be complex). -

-

- The final Policy argument is optional and can - be used to control the behaviour of the function: how it handles errors, - what level of precision to use etc. Refer to the policy - documentation for more details. -

-
template <class T1, class T2>
-calculated-result-type ellint_3(T1 k, T2 n);
-
-template <class T1, class T2, class Policy>
-calculated-result-type ellint_3(T1 k, T2 n, const Policy&);
-
-

- Returns the complete elliptic integral of the first kind Π(n, k): -

-

- -

-

- Requires -1 <= k <= 1 and n < 1, - otherwise returns the result of domain_error - (outside this range the result would be complex). -

-

- The final Policy argument is optional and can - be used to control the behaviour of the function: how it handles errors, - what level of precision to use etc. Refer to the policy - documentation for more details. -

-
- - Accuracy -
-

- These functions are computed using only basic arithmetic operations, so there - isn't much variation in accuracy over differing platforms. Note that only - results for the widest floating point type on the system are given as narrower - types have effectively - zero error. All values are relative errors in units of epsilon. -

-
-

Table 6.65. Error rates for ellint_3

-
------- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -

- Microsoft Visual C++ version 12.0
Win32
double -

-
-

- GNU C++ version 5.1.0
linux
long double -

-
-

- GNU C++ version 5.1.0
linux
double -

-
-

- Sun compiler version 0x5130
Sun Solaris
long double -

-
-

- Elliptic Integral PI: Mathworld Data -

-
-

- Max = 565ε (Mean = 102ε) -

-
-

- Max = 475ε (Mean = 86.3ε)

- (<tr1/cmath>: Max - = +INFε (Mean = +INFε) And - other failures.) -

-
-

- Max = 0ε (Mean = 0ε)

(GSL - 1.16: Max = 1.48e+05ε (Mean = 2.54e+04ε) And - other failures.) -

-
-

- Max = 475ε (Mean = 86.3ε) -

-
-

- Elliptic Integral PI: Random Data -

-
-

- Max = 9.08ε (Mean = 0.99ε) -

-
-

- Max = 4.54ε (Mean = 0.895ε)

- (<tr1/cmath>: Max - = 3.37e+20ε (Mean = 3.47e+19ε) And - other failures.) -

-
-

- Max = 0ε (Mean = 0ε)

(GSL - 1.16: Max = 633ε (Mean = 50.1ε)) -

-
-

- Max = 4.49ε (Mean = 0.891ε) -

-
-

- Elliptic Integral PI: Large Random Data -

-
-

- Max = 2.86ε (Mean = 0.944ε) -

-
-

- Max = 3.7ε (Mean = 0.893ε)

- (<tr1/cmath>: Max - = 2.52e+18ε (Mean = 4.83e+17ε) And - other failures.) -

-
-

- Max = 0.557ε (Mean = 0.0389ε)
-
(GSL 1.16: Max = 40.1ε (Mean = 7.77ε)) -

-
-

- Max = 3.7ε (Mean = 0.892ε) -

-
-
-
- - Testing -
-

- The tests use a mixture of spot test values calculated using the online calculator - at functions.wolfram.com, - and random test data generated using NTL::RR at 1000-bit precision and this - implementation. -

-
- - Implementation -
-

- The implementation for Π(n, φ, k) first siphons off the special cases: -

-

- Π(0, φ, k) = F(φ, k) -

-

- Π(n, π/2, k) = Π(n, k) -

-

- and -

-

- -

-

- Then if n < 0 the relations (A&S 17.7.15/16): -

-

- -

-

- are used to shift n to the range [0, 1]. -

-

- Then the relations: -

-

- Π(n, -φ, k) = -Π(n, φ, k) -

-

- Π(n, φ+mπ, k) = Π(n, φ, k) + 2mΠ(n, k) ; n <= 1 -

-

- Π(n, φ+mπ, k) = Π(n, φ, k) ; n > 1 [1] -

-

- are used to move φ   to the range [0, π/2]. -

-

- The functions are then implemented in terms of Carlson's integrals using - the relations: -

-

- -

-

- and -

-

- -

-
-

-

[1] - I haven't been able to find a literature reference for this relation, but - it appears to be the convention used by Mathematica. Intuitively the first - 2 * m * Π(n, k) terms cancel out as the derivative - alternates between +∞ and -∞. -

-
-
- - - -
-
-
-PrevUpHomeNext -
- - diff --git a/boost/libs/math/doc/html/math_toolkit/ellint/ellint_carlson.html b/boost/libs/math/doc/html/math_toolkit/ellint/ellint_carlson.html deleted file mode 100644 index e6ee2a00..00000000 --- a/boost/libs/math/doc/html/math_toolkit/ellint/ellint_carlson.html +++ /dev/null @@ -1,1128 +0,0 @@ - - - -Elliptic Integrals - Carlson Form - - - - - - - - - - - - - - - -
Boost C++ LibrariesHomeLibrariesPeopleFAQMore
-
-
-PrevUpHomeNext -
-
- -
- - Synopsis -
-
#include <boost/math/special_functions/ellint_rf.hpp>
-
-
namespace boost { namespace math {
-
-template <class T1, class T2, class T3>
-calculated-result-type ellint_rf(T1 x, T2 y, T3 z)
-
-template <class T1, class T2, class T3, class Policy>
-calculated-result-type ellint_rf(T1 x, T2 y, T3 z, const Policy&)
-
-}} // namespaces
-
-
#include <boost/math/special_functions/ellint_rd.hpp>
-
-
namespace boost { namespace math {
-
-template <class T1, class T2, class T3>
-calculated-result-type ellint_rd(T1 x, T2 y, T3 z)
-
-template <class T1, class T2, class T3, class Policy>
-calculated-result-type ellint_rd(T1 x, T2 y, T3 z, const Policy&)
-
-}} // namespaces
-
-
#include <boost/math/special_functions/ellint_rj.hpp>
-
-
namespace boost { namespace math {
-
-template <class T1, class T2, class T3, class T4>
-calculated-result-type ellint_rj(T1 x, T2 y, T3 z, T4 p)
-
-template <class T1, class T2, class T3, class T4, class Policy>
-calculated-result-type ellint_rj(T1 x, T2 y, T3 z, T4 p, const Policy&)
-
-}} // namespaces
-
-
#include <boost/math/special_functions/ellint_rc.hpp>
-
-
namespace boost { namespace math {
-
-template <class T1, class T2>
-calculated-result-type ellint_rc(T1 x, T2 y)
-
-template <class T1, class T2, class Policy>
-calculated-result-type ellint_rc(T1 x, T2 y, const Policy&)
-
-}} // namespaces
-
-
#include <boost/math/special_functions/ellint_rg.hpp>
-
-
namespace boost { namespace math {
-
-template <class T1, class T2, class T3>
-calculated-result-type ellint_rg(T1 x, T2 y, T3 z)
-
-template <class T1, class T2, class T3, class Policy>
-calculated-result-type ellint_rg(T1 x, T2 y, T3 z, const Policy&)
-
-}} // namespaces
-
-
- - Description -
-

- These functions return Carlson's symmetrical elliptic integrals, the functions - have complicated behavior over all their possible domains, but the following - graph gives an idea of their behavior: -

-

- -

-

- The return type of these functions is computed using the result - type calculation rules when the arguments are of different - types: otherwise the return is the same type as the arguments. -

-
template <class T1, class T2, class T3>
-calculated-result-type ellint_rf(T1 x, T2 y, T3 z)
-
-template <class T1, class T2, class T3, class Policy>
-calculated-result-type ellint_rf(T1 x, T2 y, T3 z, const Policy&)
-
-

- Returns Carlson's Elliptic Integral RF: -

-

- -

-

- Requires that all of the arguments are non-negative, and at most one may - be zero. Otherwise returns the result of domain_error. -

-

- The final Policy argument is optional and can - be used to control the behaviour of the function: how it handles errors, - what level of precision to use etc. Refer to the policy - documentation for more details. -

-
template <class T1, class T2, class T3>
-calculated-result-type ellint_rd(T1 x, T2 y, T3 z)
-
-template <class T1, class T2, class T3, class Policy>
-calculated-result-type ellint_rd(T1 x, T2 y, T3 z, const Policy&)
-
-

- Returns Carlson's elliptic integral RD: -

-

- -

-

- Requires that x and y are non-negative, with at most one of them zero, and - that z >= 0. Otherwise returns the result of domain_error. -

-

- The final Policy argument is optional and can - be used to control the behaviour of the function: how it handles errors, - what level of precision to use etc. Refer to the policy - documentation for more details. -

-
template <class T1, class T2, class T3, class T4>
-calculated-result-type ellint_rj(T1 x, T2 y, T3 z, T4 p)
-
-template <class T1, class T2, class T3, class T4, class Policy>
-calculated-result-type ellint_rj(T1 x, T2 y, T3 z, T4 p, const Policy&)
-
-

- Returns Carlson's elliptic integral RJ: -

-

- -

-

- Requires that x, y and z are non-negative, with at most one of them zero, - and that p != 0. Otherwise returns the result of domain_error. -

-

- The final Policy argument is optional and can - be used to control the behaviour of the function: how it handles errors, - what level of precision to use etc. Refer to the policy - documentation for more details. -

-

- When p < 0 the function returns the Cauchy - principal value using the relation: -

-

- -

-
template <class T1, class T2>
-calculated-result-type ellint_rc(T1 x, T2 y)
-
-template <class T1, class T2, class Policy>
-calculated-result-type ellint_rc(T1 x, T2 y, const Policy&)
-
-

- Returns Carlson's elliptic integral RC: -

-

- -

-

- Requires that x > 0 and that y != 0. - Otherwise returns the result of domain_error. -

-

- The final Policy argument is optional and can - be used to control the behaviour of the function: how it handles errors, - what level of precision to use etc. Refer to the policy - documentation for more details. -

-

- When y < 0 the function returns the Cauchy - principal value using the relation: -

-

- -

-
template <class T1, class T2, class T3>
-calculated-result-type ellint_rg(T1 x, T2 y, T3 z)
-
-template <class T1, class T2, class T3, class Policy>
-calculated-result-type ellint_rg(T1 x, T2 y, T3 z, const Policy&)
-
-

- Returns Carlson's elliptic integral RG: -

-

- -

-

- Requires that x and y are non-negative, otherwise returns the result of - domain_error. -

-

- The final Policy argument is optional and can - be used to control the behaviour of the function: how it handles errors, - what level of precision to use etc. Refer to the policy - documentation for more details. -

-
- - Testing -
-

- There are two sets of tests. -

-

- Spot tests compare selected values with test data given in: -

-

- B. C. Carlson, Numerical - computation of real or complex elliptic integrals. Numerical - Algorithms, Volume 10, Number 1 / March, 1995, pp 13-26. -

-

- Random test data generated using NTL::RR at 1000-bit precision and our implementation - checks for rounding-errors and/or regressions. -

-

- There are also sanity checks that use the inter-relations between the integrals - to verify their correctness: see the above Carlson paper for details. -

-
- - Accuracy -
-

- These functions are computed using only basic arithmetic operations, so there - isn't much variation in accuracy over differing platforms. Note that only - results for the widest floating-point type on the system are given as narrower - types have effectively - zero error. All values are relative errors in units of epsilon. -

-
-

Table 6.58. Error rates for ellint_rc

-
------- - - - - - - - - - - - - - - -
- -

- Microsoft Visual C++ version 12.0
Win32
double -

-
-

- GNU C++ version 5.1.0
linux
double -

-
-

- GNU C++ version 5.1.0
linux
long double -

-
-

- Sun compiler version 0x5130
Sun Solaris
long double -

-
-

- RC: Random data -

-
-

- Max = 0.962ε (Mean = 0.407ε) -

-
-

- Max = 0ε (Mean = 0ε)

(GSL - 1.16: Max = 2.4ε (Mean = 0.624ε)) -

-
-

- Max = 0.995ε (Mean = 0.433ε) -

-
-

- Max = 0.995ε (Mean = 0.438ε) -

-
-
-
-

Table 6.59. Error rates for ellint_rd

-
------- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -

- Microsoft Visual C++ version 12.0
Win32
double -

-
-

- GNU C++ version 5.1.0
linux
double -

-
-

- GNU C++ version 5.1.0
linux
long double -

-
-

- Sun compiler version 0x5130
Sun Solaris
long double -

-
-

- RD: Random data -

-
-

- Max = 2.16ε (Mean = 0.803ε) -

-
-

- Max = 0ε (Mean = 0ε)

(GSL - 1.16: Max = 2.59ε (Mean = 0.878ε)) -

-
-

- Max = 2.73ε (Mean = 0.831ε) -

-
-

- Max = 2.73ε (Mean = 0.829ε) -

-
-

- RD: y = z -

-
-

- Max = 16.5ε (Mean = 0.843ε) -

-
-

- Max = 0.896ε (Mean = 0.022ε)

- (GSL 1.16: Max = 2.88ε (Mean = 0.839ε)) -

-
-

- Max = 2.65ε (Mean = 0.82ε) -

-
-

- Max = 2.65ε (Mean = 0.819ε) -

-
-

- RD: x = y -

-
-

- Max = 3.51ε (Mean = 0.816ε) -

-
-

- Max = 0.824ε (Mean = 0.0272ε)
-
(GSL 1.16: Max = 3.74ε (Mean = 0.84ε)) -

-
-

- Max = 2.85ε (Mean = 0.865ε) -

-
-

- Max = 2.85ε (Mean = 0.865ε) -

-
-

- RD: x = 0, y = z -

-
-

- Max = 1.16ε (Mean = 0.493ε) -

-
-

- Max = 0ε (Mean = 0ε)

(GSL - 1.16: Max = 2ε (Mean = 0.656ε)) -

-
-

- Max = 1.19ε (Mean = 0.522ε) -

-
-

- Max = 1.19ε (Mean = 0.522ε) -

-
-

- RD: x = y = z -

-
-

- Max = 1.03ε (Mean = 0.418ε) -

-
-

- Max = 0ε (Mean = 0ε)

(GSL - 1.16: Max = 1.03ε (Mean = 0.418ε)) -

-
-

- Max = 0.998ε (Mean = 0.387ε) -

-
-

- Max = 0.998ε (Mean = 0.387ε) -

-
-

- RD: x = 0 -

-
-

- Max = 2.64ε (Mean = 0.894ε) -

-
-

- Max = 0ε (Mean = 0ε)

(GSL - 1.16: Max = 2.85ε (Mean = 0.781ε)) -

-
-

- Max = 2.79ε (Mean = 0.883ε) -

-
-

- Max = 2.79ε (Mean = 0.883ε) -

-
-
-
-

Table 6.60. Error rates for ellint_rg

-
------- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -

- Microsoft Visual C++ version 12.0
Win32
double -

-
-

- GNU C++ version 5.1.0
linux
double -

-
-

- GNU C++ version 5.1.0
linux
long double -

-
-

- Sun compiler version 0x5130
Sun Solaris
long double -

-
-

- RG: Random Data -

-
-

- Max = 3.65ε (Mean = 0.929ε) -

-
-

- Max = 0.983ε (Mean = 0.0172ε)
-
(GSL 1.16: Max = 0.983ε (Mean = 0.0172ε)) -

-
-

- Max = 3.95ε (Mean = 0.951ε) -

-
-

- Max = 3.95ε (Mean = 0.951ε) -

-
-

- RG: two values 0 -

-
-

- Max = 0ε (Mean = 0ε) -

-
-

- Max = 0ε (Mean = 0ε)

(GSL - 1.16: Max = 0ε (Mean = 0ε)) -

-
-

- Max = 0ε (Mean = 0ε) -

-
-

- Max = 0ε (Mean = 0ε) -

-
-

- RG: All values the same or zero -

-
-

- Max = 1.06ε (Mean = 0.348ε) -

-
-

- Max = 0ε (Mean = 0ε)

(GSL - 1.16: Max = 0ε (Mean = 0ε)) -

-
-

- Max = 0.992ε (Mean = 0.288ε) -

-
-

- Max = 0.992ε (Mean = 0.288ε) -

-
-

- RG: two values the same -

-
-

- Max = 1.96ε (Mean = 0.374ε) -

-
-

- Max = 0.594ε (Mean = 0.0103ε)
-
(GSL 1.16: Max = 0.594ε (Mean = 0.0103ε)) -

-
-

- Max = 1.51ε (Mean = 0.404ε) -

-
-

- Max = 1.51ε (Mean = 0.404ε) -

-
-

- RG: one value zero -

-
-

- Max = 1.96ε (Mean = 0.674ε) -

-
-

- Max = 0ε (Mean = 0ε)

(GSL - 1.16: Max = 0ε (Mean = 0ε)) -

-
-

- Max = 2.14ε (Mean = 0.722ε) -

-
-

- Max = 2.14ε (Mean = 0.722ε) -

-
-
-
-

Table 6.61. Error rates for ellint_rf

-
------- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -

- Microsoft Visual C++ version 12.0
Win32
double -

-
-

- GNU C++ version 5.1.0
linux
double -

-
-

- GNU C++ version 5.1.0
linux
long double -

-
-

- Sun compiler version 0x5130
Sun Solaris
long double -

-
-

- RF: Random data -

-
-

- Max = 2.02ε (Mean = 0.677ε) -

-
-

- Max = 0ε (Mean = 0ε)

(GSL - 1.16: Max = 2.73ε (Mean = 0.804ε)) -

-
-

- Max = 2.54ε (Mean = 0.674ε) -

-
-

- Max = 2.54ε (Mean = 0.674ε) -

-
-

- RF: x = y = z -

-
-

- Max = 0.999ε (Mean = 0.335ε) -

-
-

- Max = 0ε (Mean = 0ε)

(GSL - 1.16: Max = 0.999ε (Mean = 0.34ε)) -

-
-

- Max = 0.991ε (Mean = 0.345ε) -

-
-

- Max = 0.991ε (Mean = 0.345ε) -

-
-

- RF: x = y or y = z or x = z -

-
-

- Max = 1.21ε (Mean = 0.394ε) -

-
-

- Max = 0.536ε (Mean = 0.00658ε)
-
(GSL 1.16: Max = 2.89ε (Mean = 0.749ε)) -

-
-

- Max = 1.95ε (Mean = 0.418ε) -

-
-

- Max = 1.57ε (Mean = 0.418ε) -

-
-

- RF: x = 0, y = z -

-
-

- Max = 0.999ε (Mean = 0.407ε) -

-
-

- Max = 0ε (Mean = 0ε)

(GSL - 1.16: Max = 1.29ε (Mean = 0.527ε)) -

-
-

- Max = 0.894ε (Mean = 0.338ε) -

-
-

- Max = 0.894ε (Mean = 0.338ε) -

-
-

- RF: z = 0 -

-
-

- Max = 1.89ε (Mean = 0.587ε) -

-
-

- Max = 0ε (Mean = 0ε)

(GSL - 1.16: Max = 2.54ε (Mean = 0.781ε)) -

-
-

- Max = 1.7ε (Mean = 0.539ε) -

-
-

- Max = 1.7ε (Mean = 0.539ε) -

-
-
-
-

Table 6.62. Error rates for ellint_rj

-
------- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -

- Microsoft Visual C++ version 12.0
Win32
double -

-
-

- GNU C++ version 5.1.0
linux
double -

-
-

- GNU C++ version 5.1.0
linux
long double -

-
-

- Sun compiler version 0x5130
Sun Solaris
long double -

-
-

- RJ: Random data -

-
-

- Max = 119ε (Mean = 4.32ε) -

-
-

- Max = 0.52ε (Mean = 0.0184ε)

- (GSL 1.16: Max = 3.57ε (Mean = 0.704ε) And - other failures.) -

-
-

- Max = 186ε (Mean = 6.67ε) -

-
-

- Max = 186ε (Mean = 6.7ε) -

-
-

- RJ: 4 Equal Values -

-
-

- Max = 1.03ε (Mean = 0.418ε) -

-
-

- Max = 0ε (Mean = 0ε)

(GSL - 1.16: Max = 1.03ε (Mean = 0.418ε)) -

-
-

- Max = 0.998ε (Mean = 0.387ε) -

-
-

- Max = 0.998ε (Mean = 0.387ε) -

-
-

- RJ: 3 Equal Values -

-
-

- Max = 39.9ε (Mean = 1.12ε) -

-
-

- Max = 0ε (Mean = 0ε)

(GSL - 1.16: Max = 3.96ε (Mean = 1.06ε)) -

-
-

- Max = 20.8ε (Mean = 0.986ε) -

-
-

- Max = 18.2ε (Mean = 0.917ε) -

-
-

- RJ: 2 Equal Values -

-
-

- Max = 214ε (Mean = 5.05ε) -

-
-

- Max = 0.6ε (Mean = 0.0228ε)

- (GSL 1.16: Max = 2.57ε (Mean = 0.754ε)) -

-
-

- Max = 220ε (Mean = 6.64ε) -

-
-

- Max = 135ε (Mean = 5.3ε) -

-
-

- RJ: Equal z and p -

-
-

- Max = 15.4ε (Mean = 1.05ε) -

-
-

- Max = 0.742ε (Mean = 0.0166ε)
-
(GSL 1.16: Max = 2.62ε (Mean = 0.699ε)) -

-
-

- Max = 17.2ε (Mean = 1.16ε) -

-
-

- Max = 16.6ε (Mean = 1.15ε) -

-
-
-
- - Implementation -
-

- The key of Carlson's algorithm [Carlson79] - is the duplication theorem: -

-

- -

-

- By applying it repeatedly, x, y, - z get closer and closer. When they are nearly equal, - the special case equation -

-

- -

-

- is used. More specifically, [R F] is evaluated from - a Taylor series expansion to the fifth order. The calculations of the other - three integrals are analogous, except for RC which can be computed from elementary - functions. -

-

- For p < 0 in RJ(x, y, z, p) - and y < 0 in RC(x, y), the integrals - are singular and their Cauchy - principal values are returned via the relations: -

-

- -

-

- -

-
- - - -
-
-
-PrevUpHomeNext -
- - diff --git a/boost/libs/math/doc/html/math_toolkit/ellint/ellint_d.html b/boost/libs/math/doc/html/math_toolkit/ellint/ellint_d.html deleted file mode 100644 index 0a8bd939..00000000 --- a/boost/libs/math/doc/html/math_toolkit/ellint/ellint_d.html +++ /dev/null @@ -1,360 +0,0 @@ - - - -Elliptic Integral D - Legendre Form - - - - - - - - - - - - - - - -
Boost C++ LibrariesHomeLibrariesPeopleFAQMore
-
-
-PrevUpHomeNext -
-
- -
- - Synopsis -
-
#include <boost/math/special_functions/ellint_d.hpp>
-
-
namespace boost { namespace math {
-
-template <class T1, class T2>
-calculated-result-type ellint_d(T1 k, T2 phi);
-
-template <class T1, class T2, class Policy>
-calculated-result-type ellint_d(T1 k, T2 phi, const Policy&);
-
-template <class T1>
-calculated-result-type ellint_d(T1 k);
-
-template <class T1, class Policy>
-calculated-result-type ellint_d(T1 k, const Policy&);
-
-}} // namespaces
-
-
- - Description -
-

- These two functions evaluate the incomplete elliptic integral D(φ, - k) and its complete counterpart D(k) = D(π/2, k). -

-

- The return type of these functions is computed using the __arg_pomotion_rules - when the arguments are of different types: when they are the same type then - the result is the same type as the arguments. -

-
template <class T1, class T2>
-calculated-result-type ellint_d(T1 k, T2 phi);
-
-template <class T1, class T2, class Policy>
-calculated-result-type ellint_3(T1 k, T2 phi, const Policy&);
-
-

- Returns the incomplete elliptic integral: -

-

- -

-

- Requires -1 <= k <= 1, otherwise returns the result - of domain_error - (outside this range the result would be complex). -

-

- The final Policy argument is optional and can - be used to control the behaviour of the function: how it handles errors, - what level of precision to use etc. Refer to the policy - documentation for more details. -

-
template <class T1>
-calculated-result-type ellint_d(T1 k);
-
-template <class T1, class Policy>
-calculated-result-type ellint_d(T1 k, const Policy&);
-
-

- Returns the complete elliptic integral D(k) = D(π/2, k) -

-

- Requires -1 <= k <= 1 otherwise returns the result - of domain_error - (outside this range the result would be complex). -

-

- The final Policy argument is optional and can - be used to control the behaviour of the function: how it handles errors, - what level of precision to use etc. Refer to the policy - documentation for more details. -

-
- - Accuracy -
-

- These functions are trivially computed in terms of other elliptic integrals - and generally have very low error rates (a few epsilon) unless parameter - φ -is very large, in which case the usual trigonometric function argument-reduction - issues apply. -

-
-

Table 6.66. Error rates for ellint_d (complete)

-
------- - - - - - - - - - - - - - - - - - - - - - - - -
- -

- Microsoft Visual C++ version 12.0
Win32
double -

-
-

- GNU C++ version 5.1.0
linux
double -

-
-

- GNU C++ version 5.1.0
linux
long double -

-
-

- Sun compiler version 0x5130
Sun Solaris
long double -

-
-

- Elliptic Integral E: Mathworld Data -

-
-

- Max = 0.637ε (Mean = 0.368ε) -

-
-

- Max = 0.637ε (Mean = 0.368ε) -

-
-

- Max = 1.27ε (Mean = 0.735ε) -

-
-

- Max = 1.27ε (Mean = 0.735ε) -

-
-

- Elliptic Integral D: Random Data -

-
-

- Max = 1.27ε (Mean = 0.355ε) -

-
-

- Max = 0ε (Mean = 0ε) -

-
-

- Max = 1.27ε (Mean = 0.334ε) -

-
-

- Max = 1.27ε (Mean = 0.334ε) -

-
-
-
-

Table 6.67. Error rates for ellint_d

-
------- - - - - - - - - - - - - - - - - - - - - - - - -
- -

- Microsoft Visual C++ version 12.0
Win32
double -

-
-

- GNU C++ version 5.1.0
linux
double -

-
-

- GNU C++ version 5.1.0
linux
long double -

-
-

- Sun compiler version 0x5130
Sun Solaris
long double -

-
-

- Elliptic Integral E: Mathworld Data -

-
-

- Max = 0.862ε (Mean = 0.457ε) -

-
-

- Max = 0ε (Mean = 0ε)

(GSL - 1.16: Max = 0.862ε (Mean = 0.568ε)) -

-
-

- Max = 1.3ε (Mean = 0.813ε) -

-
-

- Max = 1.3ε (Mean = 0.813ε) -

-
-

- Elliptic Integral D: Random Data -

-
-

- Max = 2.87ε (Mean = 0.805ε) -

-
-

- Max = 0ε (Mean = 0ε)

(GSL - 1.16: Max = 3.01ε (Mean = 0.928ε)) -

-
-

- Max = 2.51ε (Mean = 0.883ε) -

-
-

- Max = 2.51ε (Mean = 0.883ε) -

-
-
-
- - Testing -
-

- The tests use a mixture of spot test values calculated using values calculated - at wolframalpha.com, and random test data generated using MPFR at 1000-bit - precision and a deliberately naive implementation in terms of the Legendre - integrals. -

-
- - Implementation -
-

- The implementation for D(φ, k) first performs argument reduction using the - relations: -

-

- D(-φ, k) = -D(φ, k) -

-

- and -

-

- D(nπ+φ, k) = 2nD(k) + D(φ, k) -

-

- to move φ   to the range [0, π/2]. -

-

- The functions are then implemented in terms of Carlson's integral RD -using - the relation: -

-

- -

-
- - - -
-
-
-PrevUpHomeNext -
- - diff --git a/boost/libs/math/doc/html/math_toolkit/ellint/ellint_intro.html b/boost/libs/math/doc/html/math_toolkit/ellint/ellint_intro.html deleted file mode 100644 index 7c08de72..00000000 --- a/boost/libs/math/doc/html/math_toolkit/ellint/ellint_intro.html +++ /dev/null @@ -1,451 +0,0 @@ - - - -Elliptic Integral Overview - - - - - - - - - - - - - - - -
Boost C++ LibrariesHomeLibrariesPeopleFAQMore
-
-
-PrevUpHomeNext -
-
- -

- The main reference for the elliptic integrals is: -

-

- M. Abramowitz and I. A. Stegun (Eds.) (1964) Handbook of Mathematical Functions - with Formulas, Graphs, and Mathematical Tables, National Bureau of Standards - Applied Mathematics Series, U.S. Government Printing Office, Washington, - D.C. -

-

- Mathworld also contain a lot of useful background information: -

- -

- As does Wikipedia - Elliptic integral. -

-
- - Notation -
-

- All variables are real numbers unless otherwise noted. -

-
- - Definition -
-

- -

-

- is called elliptic integral if R(t, s) is a rational - function of t and s, and s2 - is a cubic or quartic polynomial in t. -

-

- Elliptic integrals generally can not be expressed in terms of elementary - functions. However, Legendre showed that all elliptic integrals can be reduced - to the following three canonical forms: -

-

- Elliptic Integral of the First Kind (Legendre form) -

-

- -

-

- Elliptic Integral of the Second Kind (Legendre form) -

-

- -

-

- Elliptic Integral of the Third Kind (Legendre form) -

-

- -

-

- where -

-

- -

-
- - - - - -
[Note]Note
-

- φ is called the amplitude. -

-

- k is called the modulus. -

-

- α is called the modular angle. -

-

- n is called the characteristic. -

-
-
- - - - - -
[Caution]Caution
-

- Perhaps more than any other special functions the elliptic integrals are - expressed in a variety of different ways. In particular, the final parameter - k (the modulus) may be expressed using a modular angle - α, or a parameter m. These are related by: -

-

- k = sinα -

-

- m = k2 = sin2α -

-

- So that the integral of the third kind (for example) may be expressed as - either: -

-

- Π(n, φ, k) -

-

- Π(n, φ \ α) -

-

- Π(n, φ| m) -

-

- To further complicate matters, some texts refer to the complement - of the parameter m, or 1 - m, where: -

-

- 1 - m = 1 - k2 = cos2α -

-

- This implementation uses k throughout: this matches - the requirements of the Technical - Report on C++ Library Extensions. However, you should be extra - careful when using these functions! -

-
-

- When φ = π / 2, the elliptic integrals - are called complete. -

-

- Complete Elliptic Integral of the First Kind (Legendre form) -

-

- -

-

- Complete Elliptic Integral of the Second Kind (Legendre form) -

-

- -

-

- Complete Elliptic Integral of the Third Kind (Legendre form) -

-

- -

-

- Legendre also defined a forth integral D(φ,k) which is a combination of the - other three: -

-

- -

-

- Like the other Legendre integrals this comes in both complete and incomplete - forms. -

-
- - Carlson - Elliptic Integrals -
-

- Carlson [Carlson77] [Carlson78] - gives an alternative definition of elliptic integral's canonical forms: -

-

- Carlson's Elliptic Integral of the First Kind -

-

- -

-

- where x, y, z - are nonnegative and at most one of them may be zero. -

-

- Carlson's Elliptic Integral of the Second Kind -

-

- -

-

- where x, y are nonnegative, at - most one of them may be zero, and z must be positive. -

-

- Carlson's Elliptic Integral of the Third Kind -

-

- -

-

- where x, y, z - are nonnegative, at most one of them may be zero, and p - must be nonzero. -

-

- Carlson's Degenerate Elliptic Integral -

-

- -

-

- where x is nonnegative and y is - nonzero. -

-
- - - - - -
[Note]Note
-

- RC(x, y) = RF(x, y, y) -

-

- RD(x, y, z) = RJ(x, y, z, z) -

-
-

- Carlson's Symmetric Integral -

-

- -

-
- - Duplication - Theorem -
-

- Carlson proved in [Carlson78] - that -

-

- -

-
- - Carlson's - Formulas -
-

- The Legendre form and Carlson form of elliptic integrals are related by equations: -

-

- -

-

- In particular, -

-

- -

-
- - Miscellaneous - Elliptic Integrals -
-

- There are two functions related to the elliptic integrals which otherwise - defy categorisation, these are the Jacobi Zeta function: -

-

- -

-

- and the Heuman Lambda function: -

-

- -

-

- Both of these functions are easily implemented in terms of Carlson's integrals, - and are provided in this library as jacobi_zeta - and heuman_lambda. -

-
- - Numerical - Algorithms -
-

- The conventional methods for computing elliptic integrals are Gauss and Landen - transformations, which converge quadratically and work well for elliptic - integrals of the first and second kinds. Unfortunately they suffer from loss - of significant digits for the third kind. Carlson's algorithm [Carlson79] - [Carlson78], by contrast, provides - a unified method for all three kinds of elliptic integrals with satisfactory - precisions. -

-
- - References -
-

- Special mention goes to: -

-

- A. M. Legendre, Traitd des Fonctions Elliptiques et des Integrales - Euleriennes, Vol. 1. Paris (1825). -

-

- However the main references are: -

-
    -
  1. - M. Abramowitz and I. A. Stegun (Eds.) (1964) - Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical - Tables, National Bureau of Standards Applied Mathematics Series, U.S. - Government Printing Office, Washington, D.C. -
  2. -
  3. - B.C. Carlson, Computing - elliptic integrals by duplication, Numerische Mathematik, - vol 33, 1 (1979). -
  4. -
  5. - B.C. Carlson, Elliptic Integrals - of the First Kind, SIAM Journal on Mathematical Analysis, - vol 8, 231 (1977). -
  6. -
  7. - B.C. Carlson, Short Proofs - of Three Theorems on Elliptic Integrals, SIAM Journal on Mathematical - Analysis, vol 9, 524 (1978). -
  8. -
  9. - B.C. Carlson and E.M. Notis, ALGORITHM - 577: Algorithms for Incomplete Elliptic Integrals, ACM Transactions - on Mathematmal Software, vol 7, 398 (1981). -
  10. -
  11. - B. C. Carlson, On computing elliptic integrals and functions. - J. Math. and Phys., 44 (1965), pp. 36-51. -
  12. -
  13. - B. C. Carlson, A table of elliptic integrals of the second - kind. Math. Comp., 49 (1987), pp. 595-606. (Supplement, ibid., - pp. S13-S17.) -
  14. -
  15. - B. C. Carlson, A table of elliptic integrals of the third kind. - Math. Comp., 51 (1988), pp. 267-280. (Supplement, ibid., pp. S1-S5.) -
  16. -
  17. - B. C. Carlson, A table of elliptic integrals: cubic cases. - Math. Comp., 53 (1989), pp. 327-333. -
  18. -
  19. - B. C. Carlson, A table of elliptic integrals: one quadratic - factor. Math. Comp., 56 (1991), pp. 267-280. -
  20. -
  21. - B. C. Carlson, A table of elliptic integrals: two quadratic - factors. Math. Comp., 59 (1992), pp. 165-180. -
  22. -
  23. - B. C. Carlson, Numerical - computation of real or complex elliptic integrals. - Numerical Algorithms, Volume 10, Number 1 / March, 1995, p13-26. -
  24. -
  25. - B. C. Carlson and John L. Gustafson, Asymptotic - Approximations for Symmetric Elliptic Integrals, SIAM - Journal on Mathematical Analysis, Volume 25, Issue 2 (March 1994), 288-303. -
  26. -
-

- The following references, while not directly relevent to our implementation, - may also be of interest: -

-
    -
  1. - R. Burlisch, Numerical Compuation of Elliptic Integrals and - Elliptic Functions. Numerical Mathematik 7, 78-90. -
  2. -
  3. - R. Burlisch, An extension of the Bartky Transformation to Incomplete - Elliptic Integrals of the Third Kind. Numerical Mathematik - 13, 266-284. -
  4. -
  5. - R. Burlisch, Numerical Compuation of Elliptic Integrals and - Elliptic Functions. III. Numerical Mathematik 13, 305-315. -
  6. -
  7. - T. Fukushima and H. Ishizaki, Numerical - Computation of Incomplete Elliptic Integrals of a General Form. - Celestial Mechanics and Dynamical Astronomy, Volume 59, Number 3 / July, - 1994, 237-251. -
  8. -
-
- - - -
-
-
-PrevUpHomeNext -
- - diff --git a/boost/libs/math/doc/html/math_toolkit/ellint/heuman_lambda.html b/boost/libs/math/doc/html/math_toolkit/ellint/heuman_lambda.html deleted file mode 100644 index 1e1afc43..00000000 --- a/boost/libs/math/doc/html/math_toolkit/ellint/heuman_lambda.html +++ /dev/null @@ -1,221 +0,0 @@ - - - -Heuman Lambda Function - - - - - - - - - - - - - - - -
Boost C++ LibrariesHomeLibrariesPeopleFAQMore
-
-
-PrevUpHomeNext -
-
- -
- - Synopsis -
-
#include <boost/math/special_functions/heuman_lambda.hpp>
-
-
namespace boost { namespace math {
-
-template <class T1, class T2>
-calculated-result-type heuman_lambda(T1 k, T2 phi);
-
-template <class T1, class T2, class Policy>
-calculated-result-type heuman_lambda(T1 k, T2 phi, const Policy&);
-
-}} // namespaces
-
-
- - Description -
-

- This function evaluates the Heuman Lambda Function Λ0(φ, k) -

-

- -

-

- The return type of this function is computed using the __arg_pomotion_rules - when the arguments are of different types: when they are the same type then - the result is the same type as the arguments. -

-

- Requires -1 <= k <= 1, otherwise returns the result - of domain_error - (outside this range the result would be complex). -

-

- The final Policy argument is optional and can - be used to control the behaviour of the function: how it handles errors, - what level of precision to use etc. Refer to the policy - documentation for more details. -

-

- Note that there is no complete analogue of this function (where φ = π / 2) as - this takes the value 1 for all k. -

-
- - Accuracy -
-

- These functions are trivially computed in terms of other elliptic integrals - and generally have very low error rates (a few epsilon) unless parameter - φ -is very large, in which case the usual trigonometric function argument-reduction - issues apply. -

-
-

Table 6.69. Error rates for heuman_lambda

-
------- - - - - - - - - - - - - - - - - - - - - - - - -
- -

- Microsoft Visual C++ version 12.0
Win32
double -

-
-

- GNU C++ version 5.1.0
linux
double -

-
-

- GNU C++ version 5.1.0
linux
long double -

-
-

- Sun compiler version 0x5130
Sun Solaris
long double -

-
-

- Elliptic Integral Jacobi Zeta: Mathworld Data -

-
-

- Max = 1.08ε (Mean = 0.734ε) -

-
-

- Max = 0ε (Mean = 0ε) -

-
-

- Max = 1.89ε (Mean = 0.887ε) -

-
-

- Max = 1.89ε (Mean = 0.887ε) -

-
-

- Elliptic Integral Heuman Lambda: Random Data -

-
-

- Max = 2.12ε (Mean = 0.59ε) -

-
-

- Max = 0ε (Mean = 0ε) -

-
-

- Max = 3.82ε (Mean = 0.609ε) -

-
-

- Max = 3.82ε (Mean = 0.608ε) -

-
-
-
- - Testing -
-

- The tests use a mixture of spot test values calculated using values calculated - at wolframalpha.com, and random test data generated using MPFR at 1000-bit - precision and a deliberately naive implementation in terms of the Legendre - integrals. -

-
- - Implementation -
-

- The function is then implemented in terms of Carlson's integrals RJ and RF -using - the relation: -

-

- -

-

- This relation fails for |φ| >= π/2 in which case the - definition in terms of the Jacobi Zeta is used. -

-
- - - -
-
-
-PrevUpHomeNext -
- - diff --git a/boost/libs/math/doc/html/math_toolkit/ellint/jacobi_zeta.html b/boost/libs/math/doc/html/math_toolkit/ellint/jacobi_zeta.html deleted file mode 100644 index da00b4c1..00000000 --- a/boost/libs/math/doc/html/math_toolkit/ellint/jacobi_zeta.html +++ /dev/null @@ -1,257 +0,0 @@ - - - -Jacobi Zeta Function - - - - - - - - - - - - - - - -
Boost C++ LibrariesHomeLibrariesPeopleFAQMore
-
-
-PrevUpHomeNext -
-
- -
- - Synopsis -
-
#include <boost/math/special_functions/jacobi_zeta.hpp>
-
-
namespace boost { namespace math {
-
-template <class T1, class T2>
-calculated-result-type jacobi_zeta(T1 k, T2 phi);
-
-template <class T1, class T2, class Policy>
-calculated-result-type jacobi_zeta(T1 k, T2 phi, const Policy&);
-
-}} // namespaces
-
-
- - Description -
-

- This function evaluates the Jacobi Zeta Function Z(φ, k) -

-

- -

-

- The return type of this function is computed using the __arg_pomotion_rules - when the arguments are of different types: when they are the same type then - the result is the same type as the arguments. -

-

- Requires -1 <= k <= 1, otherwise returns the result - of domain_error - (outside this range the result would be complex). -

-

- The final Policy argument is optional and can - be used to control the behaviour of the function: how it handles errors, - what level of precision to use etc. Refer to the policy - documentation for more details. -

-

- Note that there is no complete analogue of this function (where φ = π / 2) as - this takes the value 0 for all k. -

-
- - Accuracy -
-

- These functions are trivially computed in terms of other elliptic integrals - and generally have very low error rates (a few epsilon) unless parameter - φ -is very large, in which case the usual trigonometric function argument-reduction - issues apply. -

-
-

Table 6.68. Error rates for jacobi_zeta

-
------- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -

- Microsoft Visual C++ version 12.0
Win32
double -

-
-

- GNU C++ version 5.1.0
linux
double -

-
-

- GNU C++ version 5.1.0
linux
long double -

-
-

- Sun compiler version 0x5130
Sun Solaris
long double -

-
-

- Elliptic Integral Jacobi Zeta: Mathworld Data -

-
-

- Max = 0.505ε (Mean = 0.119ε) -

-
-

- Max = 0ε (Mean = 0ε) -

-
-

- Max = 1.66ε (Mean = 0.48ε) -

-
-

- Max = 1.66ε (Mean = 0.48ε) -

-
-

- Elliptic Integral Jacobi Zeta: Random Data -

-
-

- Max = 3.89ε (Mean = 0.818ε) -

-
-

- Max = 0ε (Mean = 0ε) -

-
-

- Max = 2.99ε (Mean = 0.824ε) -

-
-

- Max = 3.96ε (Mean = 1.06ε) -

-
-

- Elliptic Integral Jacobi Zeta: Large Phi Values -

-
-

- Max = 2.92ε (Mean = 0.964ε) -

-
-

- Max = 0ε (Mean = 0ε) -

-
-

- Max = 2.92ε (Mean = 0.951ε) -

-
-

- Max = 3.05ε (Mean = 1.13ε) -

-
-
-
- - Testing -
-

- The tests use a mixture of spot test values calculated using values calculated - at wolframalpha.com, and random test data generated using MPFR at 1000-bit - precision and a deliberately naive implementation in terms of the Legendre - integrals. -

-
- - Implementation -
-

- The implementation for Z(φ, k) first makes the argument φ positive using: -

-

- Z(-φ, k) = -Z(φ, k) -

-

- The function is then implemented in terms of Carlson's integral RJ -using the - relation: -

-

- -

-

- There is one special case where the above relation fails: when k - = 1, in that case the function simplifies to -

-

- Z(φ, 1) = sign(cos(φ)) sin(φ) -

-
- - - -
-
-
-PrevUpHomeNext -
- - -- cgit v1.2.3