XLPack 7.0
XLPack Numerical Library (C API) Reference Manual
Loading...
Searching...
No Matches

◆ celli3()

double celli3 ( double  n,
double  k 
)

Complete elliptic integral of the third kind P(n, k)

Purpose
celli3 computes the Legendre form of complete elliptic integral of the third kind P(n, k).
P(n, k) = P(π/2, n, k)
where P(φ, n, k) is the incomplete elliptic integral of the third kind defined as follows:
P(φ, n, k) = ∫ 1/((1 - n(sin(t))^2)sqrt(1 - k^2(sin(t))^2)) dt [0, φ]
Returns
Complete elliptic integral of the third kind P(n, k).
Parameters
[in]nArgument n. (n < 1)
[in]kArgument k. (|k| < 1)
Error handling
  • If |k| > 1, domain error (EDOM) occurs.
  • If n >= 1, domain error (EDOM) occurs.
  • Range error (ERANGE) may occur.
Reference
boost/math/special_functions