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

◆ rd()

double rd ( double  x,
double  y,
double  z 
)

Carlson form of elliptic integral RD(x, y, z)

Purpose
rd computes the Carlson form of elliptic integral RD(x, y, z).
RD(x, y, z) = (3/2) * ∫(t + x)^(-1/2)(t + y)^(-1/2)(t + z)^(-3/2) dt [0, ∞]
Returns
Carlson form of elliptic integral RD(x, y, z).
Parameters
[in]xArgument x. (x >= 0 (one of x and y may be zero))
[in]yArgument y. (y >= 0 (one of x and y may be zero))
[in]zArgument z. (z > 0)
Error handling
  • If x < 0, y < 0, x = y = 0 or z <= 0, domain error (EDOM) occurs.
  • Range error (ERANGE) may occur.
Reference
boost/math/special_functions