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

◆ chu()

double chu ( double  a,
double  b,
double  x 
)

Confluent hypergeometric function U(a,b,x)

Purpose
chu computes the confluent hypergeometric function U(a,b,x).
U(a, b, x) = (1/Γ(x)) * ∫ exp(-xt)t^(a - 1)(1 + t)^(b - a - 1) dt [0, ∞]
Returns
Confluent hypergeometric function U(a,b,x).
Parameters
[in]aArgument a.
[in]bArgument b.
[in]xArgument x. (x >= 0)
Error handling
  • If x < 0, domain error (EDOM) occurs.
  • Range error (ERANGE) may occur.
Note
This routine is not valid if 1 + a - b is close to zero when x is small.