|
|
◆ _ibetai()
| double _ibetai |
( |
double |
a, |
|
|
double |
b, |
|
|
double |
p, |
|
|
double * |
py |
|
) |
| |
Normalized incomplete beta function Ix(a, b) inverse for x
- Purpose
- ibetai returns a value x such that p = Ix(a, b), where p is the specified value of the normalized incomplete beta function.
- Returns
- Value of x.
- Parameters
-
| [in] | a | Argument a. (a > 0) |
| [in] | b | Argument b. (b > 0) |
| [in] | p | Specified value of normalized incomplete beta function. (0 <= p <= 1) |
| [out] | py | Returne 1 - x. The value returned in py is free from cancellation errors. Even if ibetai returns 1, the value of py may be non-zero very small value. |
- Error handling
- If a <= 0, b <= 0, p < 0 or p > 1, domain error (EDOM) occurs.
- Range error (ERANGE) may occur.
- Reference
- boost/math/special_functions
|