Combinations and permutations: Difference between revisions
m
→{{header|Phix}}: Fix comment: Perl 6 --> Raku
SqrtNegInf (talk | contribs) m (→{{header|Perl}}: Fix comments: Perl 6 --> Raku) |
SqrtNegInf (talk | contribs) m (→{{header|Phix}}: Fix comment: Perl 6 --> Raku) |
||
Line 1,681:
=={{header|Phix}}==
Translation of
Update: there are now builtin routines k_perm(n,k) and choose(n,k), slightly more efficient equivalents of P() and C() respectively.
<lang Phix>function P(integer n,k)
|