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

◆ rc()

double rc ( double  x,
double  y 
)

Carlson form of elliptic integral RC(x, y)

Purpose
rc computes the Carlson form of elliptic integral RC(x, y).
RC(x, y) = (1/2) * ∫ (t + x)^(-1/2)(t + y)^(-1) dt [0, ∞]
For negative second argument y, rc computes the principal value.
Returns
Carlson form of elliptic integral RC(x, y).
Parameters
[in]xArgument x. (x >= 0)
[in]yArgument y. (y != 0)
Error handling
  • If x < 0 or y = 0, domain error (EDOM) occurs.
  • Range error (ERANGE) may occur.
Reference
boost/math/special_functions