|
|
◆ Ibetai()
| Function Ibetai |
( |
A As |
Double, |
|
|
B As |
Double, |
|
|
P As |
Double, |
|
|
Py As |
Double, |
|
|
Optional Info As |
Long |
|
) |
| |
Normalized incomplete beta function Ix(a, b) inverse for x
- Purpose
- This routine returns a value x such that p = Ix(a, b), where p is the specified value of the normalized incomplete beta function.
- Returns
- Double
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. |
| [out] | Info | (Optional) = 0: Successful exit.
= -1: The argument A had an illegal value. (A <= 0)
= -2: The argument B had an illegal value. (B <= 0)
= -3: The argument P had an illegal value. (P < 0 or P > 1)
= 1: Floating point range error. |
- Reference
- boost/math/special_functions
|