Evaluate binomial coefficients: Difference between revisions
Content added Content deleted
m (→{{header|Lua}}: not save some out of normal(?) inputs bound case) |
(+Stata) |
||
Line 2,056: | Line 2,056: | ||
Alternatively, by using the ''Number.nok()'' method: |
Alternatively, by using the ''Number.nok()'' method: |
||
<lang ruby>say 400.nok(200)</lang> |
<lang ruby>say 400.nok(200)</lang> |
||
=={{header|Stata}}== |
|||
Use the [http://www.stata.com/help.cgi?comb comb] function. Notice the result is a missing value if k>n or k<0. |
|||
<lang stata>. display comb(5,3) |
|||
10</lang> |
|||
=={{header|Tcl}}== |
=={{header|Tcl}}== |