XLPack 7.0
XLPack Numerical Library (Excel VBA) Reference Manual
Loading...
Searching...
No Matches

◆ Rd()

Function Rd ( X As  Double,
Y As  Double,
Z As  Double,
Optional Info As  Long 
)

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

Purpose
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
Double
Carlson form of elliptic integral RD(x, y, z).
Parameters
[in]XArgument x. (X >= 0 (one of X and Y may be 0))
[in]YArgument y. (Y >= 0 (one of X and Y may be 0))
[in]ZArgument z. (Z > 0)
[out]Info(Optional)
= 0: Successful exit.
= -1: The argument X had an illegal value. (X < 0)
= -2: The argument Y had an illegal value. (Y < 0 or X = Y = 0)
= -3: The argument Z had an illegal value. (Z <= 0)
= 1: Floating point range error.
Reference
boost/math/special_functions