bottleneck icon indicating copy to clipboard operation
bottleneck copied to clipboard

NaN-aware sum-of-squares (nanss)

Open rhandberg opened this issue 4 years ago • 1 comments

Bottleneck already includes a fast sum-of-squares function (ss), but no NaN-aware counterpart exists. Wouldn't it make sense to add a nanss function?

rhandberg avatar Mar 09 '20 12:03 rhandberg

Seems straightforward enough. I'm trying to pin down the exact casting behavior of the old scipy.stats.ss() (seeing some discrepancies with hypothesis fuzz testing), but once that's nailed down a nanss should be trivial.

Thanks for raising!

qwhelan avatar Mar 11 '20 02:03 qwhelan