[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
4.9.3 Combinatorial functions
cl_I factorial (uintL n)
-
n
must be a small integer >= 0. This function returns the factorialn
! =1*2*…*n
. cl_I doublefactorial (uintL n)
-
n
must be a small integer >= 0. This function returns the doublefactorialn
!! =1*3*…*n
orn
!! =2*4*…*n
, respectively. cl_I binomial (uintL n, uintL k)
-
n
andk
must be small integers >= 0. This function returns the binomial coefficient for 0 <= k <= n, 0 else.
This document was generated on August 27, 2013 using texi2html 5.0.