Message331318
| Author | steven.daprano |
|---|
| Recipients | kellerfuchs, mark.dickinson, rhettinger, serhiy.storchaka, steven.daprano, tim.peters |
|---|
| Date | 2018-12-07.14:44:08 |
|---|
| SpamBayes Score | -1.0 |
|---|
| Marked as misclassified | Yes |
|---|
| Message-id | <20181207144401.GB13061@ando.pearwood.info> |
|---|
| In-reply-to | <1544141084.22.0.788709270274.issue35431@psf.upfronthosting.co.za> |
|---|
| Content |
|---|
On Fri, Dec 07, 2018 at 12:04:44AM +0000, Raymond Hettinger wrote:> Also, I'm not sure what the predominant choice for variable names > should be, "n things taken r at a time" or "n things taken k at time".> > Also, it's worth considering whether the function should be called > "binomial", "choose", "combinations", or "comb".I've done a quick survey of some of the most common/popular scientific calculators:TI NspireTI-84 PlusCasio ClasspadCasio FX-82AU Plus IIall call this nCr, and nPr for the permutation version. This matches the notation taught in secondary school maths classes in Australia. That's common and familiar notation for secondary school students, but personally I'm not super-keen on it.For what its worth, the colour I prefer for this bikeshed are "comb" and "perm", which are the names used by the HP 48GX calculator. Second choice would be to spell the names out in full, "combinations" and "permutations". |
|