manpagez: man pages & more
info cln
Home | html | info | man
[ << ] [ < ] [ 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 factorial n! = 1*2*…*n.

cl_I doublefactorial (uintL n)

n must be a small integer >= 0. This function returns the doublefactorial n!! = 1*3*…*n or n!! = 2*4*…*n, respectively.

cl_I binomial (uintL n, uintL k)

n and k 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.

© manpagez.com 2000-2024
Individual documents may contain additional copyright information.