Message269009
[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. |
|
Date |
User |
Action |
Args |
2016-06-21 16:33:59 | mark.dickinson | set | recipients:
+ mark.dickinson, tim.peters, rhettinger, belopolsky, steven.daprano, skrah, serhiy.storchaka |
2016-06-21 16:33:59 | mark.dickinson | set | messageid: <1466526839.72.0.0664614422904.issue27353@psf.upfronthosting.co.za> |
2016-06-21 16:33:59 | mark.dickinson | link | issue27353 messages |
2016-06-21 16:33:59 | mark.dickinson | create | |
|