Re: Feature suggestion: sum() ought to use a compensated summation algorithm
- From: sturlamolden <sturlamolden@xxxxxxxx>
- Date: Sat, 3 May 2008 15:05:31 -0700 (PDT)
On May 3, 10:13 pm, hdante <hda...@xxxxxxxxx> wrote:
I believe that moving this to third party could be better. What about
numpy ? Doesn't it already have something similar ?
Yes, Kahan summation makes sence for numpy arrays. But the problem
with this algorithm is optimizing compilers. The programmer will be
forced to use tricks like inline assembly to get around the optimizer.
If not, the optimizer would remove the desired features of the
algorithm. But then we have a serious portability problem.
.
- Follow-Ups:
- References:
- Feature suggestion: sum() ought to use a compensated summation algorithm
- From: Szabolcs Horvát
- Re: Feature suggestion: sum() ought to use a compensated summation algorithm
- From: Arnaud Delobelle
- Re: Feature suggestion: sum() ought to use a compensated summation algorithm
- From: Szabolcs Horvát
- Re: Feature suggestion: sum() ought to use a compensated summation algorithm
- From: hdante
- Feature suggestion: sum() ought to use a compensated summation algorithm
- Prev by Date: Re: Feature suggestion: sum() ought to use a compensated summation algorithm
- Next by Date: PIL JPEG mis-step
- Previous by thread: Re: Feature suggestion: sum() ought to use a compensated summation algorithm
- Next by thread: Re: Feature suggestion: sum() ought to use a compensated summation algorithm
- Index(es):
Relevant Pages
|