HTBasic Help
×
Menu
Index
Beta
Beta function.
 
Loading        LOADSUB ALL FROM "GAMMA.HTS"
or LOADSUB FROM "MATHLIB.HTS"
 
Usage                REAL A,B,Y
Y=FNBeta(A,B)
 
Description                
FNBeta returns the value of B(a,b), where B represents the beta function. B(a,b) is defined as (a)(b)/(a+b) (see Gamma). B(a,b) is only defined for a > 0 and b > 0.
 
Errors                
FNBeta causes an HTBasic error if its arguments are not all of type REAL or if either a or b is negative or zero.
 
See Also
Cbeta, Gamma, Logbeta
 
B(a,b)