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

◆ celli2()

double celli2 ( double  k)

Complete elliptic integral of the second kind E(k)

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