This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients belopolsky, mark.dickinson, rhettinger, serhiy.storchaka, skrah, steven.daprano, tim.peters
Date 2016-06-21.16:33:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1466526839.72.0.0664614422904.issue27353@psf.upfronthosting.co.za>
In-reply-to
Content
[Serhiy]
> ... nroot() wouldn't help too much to implement geometric mean

It's fine, so long as it's only being called once or twice at the end of the calculation (it's even helpful to have the last operation be an nth root call, since that's a contracting operation that tends to reduce relative error). It's calling it on every single item in the input list and *then* multiplying that would be bad.
History
Date User Action Args
2016-06-21 16:33:59mark.dickinsonsetrecipients: + mark.dickinson, tim.peters, rhettinger, belopolsky, steven.daprano, skrah, serhiy.storchaka
2016-06-21 16:33:59mark.dickinsonsetmessageid: <1466526839.72.0.0664614422904.issue27353@psf.upfronthosting.co.za>
2016-06-21 16:33:59mark.dickinsonlinkissue27353 messages
2016-06-21 16:33:59mark.dickinsoncreate