|
|
◆ Ibetai_sub()
| Sub Ibetai_sub |
( |
Ret As |
Double, |
|
|
A As |
Double, |
|
|
B As |
Double, |
|
|
P As |
Double, |
|
|
Py As |
Double, |
|
|
Optional Info As |
Long |
|
) |
| |
Inverse function of x for normalized incomplete beta function Ix(a, b) (Subroutine version)
- Purpose
- Computes the inverse function of x for normalized incomplete beta function Ix(a, b).
- Parameters
-
| [out] | Ret | Inverse function of x for normalized incomplete beta function Ix(a, b). |
| [in] | A | Argument a. (A > 0) |
| [in] | B | Argument b. (B > 0) |
| [in] | P | Value of Ix(a, b). (0 <= P <= 1) |
| [out] | Py | 1 - x is returned. 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
|