Movatterモバイル変換


[0]ホーム

URL:


homepage

Message331318

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Authorsteven.daprano
Recipientskellerfuchs, mark.dickinson, rhettinger, serhiy.storchaka, steven.daprano, tim.peters
Date2018-12-07.14:44:08
SpamBayes Score-1.0
Marked as misclassifiedYes
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".
History
DateUserActionArgs
2018-12-07 14:44:09steven.dapranosetrecipients: +steven.daprano,tim.peters,rhettinger,mark.dickinson,serhiy.storchaka,kellerfuchs
2018-12-07 14:44:09steven.dapranolinkissue35431 messages
2018-12-07 14:44:08steven.dapranocreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp