combinatorics - Combinatorial functions in the Tcl Math Library
package require Tcl 8.2
package require math ?1.2.2?
|
The math package contains implementations of several functions useful in combinatorial problems.
t**(x-1)*exp(-t) dt |
exp( ln_Gamma( x) ) |
C(n,k) = n! / k! (n-k)! |
Beta(z,w) = Beta(w,z) = Gamma(z) * Gamma(w) / Gamma(z+w) |