Julia: Deprecate sum_kbn and cumsum_kbn?

Created on 27 Nov 2017  路  4Comments  路  Source: JuliaLang/julia

It's unusual in the API to provide a separate function just to use a different algorithm. A more general and Julian approach would be to use something like sum(x, alg=KahanBabuskaNeumaier) or sum(KahanBabuskaNeumaier, x) (or just KBN).

Just like there is a separate SortingAlgorithms package, this does not need to live in Base.

deprecation excision maths

Most helpful comment

Let's just remove it for now, we can create a summation algorithms package or something.

All 4 comments

What are the upvotes for - baking into sum or removing from Base into a package?

Let's just remove it for now, we can create a summation algorithms package or something.

Fine to move this out if somebody gets to it but seems pretty non-urgent to me.

We could just delete it and let someone create a package if they really want it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

helgee picture helgee  路  3Comments

ararslan picture ararslan  路  3Comments

omus picture omus  路  3Comments

StefanKarpinski picture StefanKarpinski  路  3Comments

yurivish picture yurivish  路  3Comments