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

◆ rf()

double rf ( double  x,
double  y,
double  z 
)

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

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