bicoef
Binomial coefficient
p=bicoef(n,k)
Inputs
n An integer or array of integers.
k An integer or array of integers of same size as n. None of the elements of k should be larger than the corresponding element of n .
Outputs
p A real array of same size as n .


Description
Returns the binomial coefficient fact(n)./(fact(k).*fact(n-k)) where fact is the factorial function.