Beta-func
This function calculates Beta function with parameter a and b. The formula of the Beta function is:
double beta(double a,double b)
a
b
Returns the value of Beta function with parameters a and b.
aa = beta(2,2); aa = ; //aa=0.16666666666879
incbeta(x, a, b), betacdf(x, a, b)