##
BETA

The
BETA function returns the value of the beta function B(*
Z, W*
).

This routine is written in the IDL language. Its source code can be found in the file ```
beta.pro
```

in the ```
lib
```

subdirectory of the IDL distribution.

###
Calling Sequence

Result = BETA(*
Z, W*
)

###
Arguments

####
Z, W

The point at which the beta function is to be evaluated. *
Z*
and *
W*
can be scalar or array.

###
Keywords

####
DOUBLE

Set this keyword to force the computation to be done in double-precision arithmetic.

###
Example

To evaluate the beta function at the point (1.0, 1.1) and print the result:

PRINT, BETA(1.0, 1.1)

IDL prints:

0.909091

The exact solution is:

((1.00 * .95135077) / (1.10 * .95135077)) = 0.909091.