Mercurial > hg > octave-lyh
comparison scripts/specfun/nchoosek.m @ 6575:9ef0450c873d
[project @ 2007-04-25 14:07:20 by jwe]
author | jwe |
---|---|
date | Wed, 25 Apr 2007 14:07:20 +0000 |
parents | d42176e0d688 |
children | 451b346d8c2f |
comparison
equal
deleted
inserted
replaced
6574:d5d6a670f137 | 6575:9ef0450c873d |
---|---|
18 ## 02110-1301, USA. | 18 ## 02110-1301, USA. |
19 | 19 |
20 ## -*- texinfo -*- | 20 ## -*- texinfo -*- |
21 ## @deftypefn {Function File} {@var{c} =} nchoosek (@var{n}, @var{k}) | 21 ## @deftypefn {Function File} {@var{c} =} nchoosek (@var{n}, @var{k}) |
22 ## | 22 ## |
23 ## Compute the binomial coeeficient or all combinations of @var{n}. | 23 ## Compute the binomial coefficient or all combinations of @var{n}. |
24 ## If @var{n} is a scalar then, calculate the binomial coefficient | 24 ## If @var{n} is a scalar then, calculate the binomial coefficient |
25 ## of @var{n} and @var{k}, defined as | 25 ## of @var{n} and @var{k}, defined as |
26 ## | 26 ## |
27 ## @iftex | 27 ## @iftex |
28 ## @tex | 28 ## @tex |