|
◆ Beta()
Function Beta |
( |
A As |
Double, |
|
|
B As |
Double, |
|
|
Optional Info As |
Long |
|
) |
| |
Beta function B(a, b)
- Purpose
- Beta computes the beta function at a and b.
B(a, b) = Γ(a)Γ(b)/Γ(a + b)
- Returns
- Double
Beta function B(a, b).
- Parameters
-
[in] | A | Argument a. (A > 0) |
[in] | B | Argument b. (B > 0) |
[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)
= 1: Floating point range error. |
- Reference
- boost/math/special_functions
|