|
IDL Analyst Reference Guide: Math and Statistics Utilities |
|
The IMSL_BINOMIALCOEF function evaluates the binomial coefficient.
| Note This routine requires an IDL Analyst license. For more information, contact your ITT Visual Information Solutions sales or technical support representative. |
Result = IMSL_BINOMIALCOEF(n, m [, /DOUBLE])
The binomial coefficient:
is returned.
Second parameter of the binomial coefficient. Parameter m must be nonnegative.
First parameter of the binomial coefficient. Parameter n must be nonnegative.
If present and nonzero, double precision is used.
The binomial function is defined to be:

with n ³ m ³ 0. Also, n must not be so large that the function overflows.
In this example:
is computed and printed.