Leon Foks

Results 36 comments of Leon Foks

If a ”math” module is reserved for the elemental functions, Perhaps cumsum cumprod etc. Could go in a “numerical” module? Since we are talking about summation, do we want to...

Phew, I was hoping I wasn't crazy haha

In that benchmark, a manually unrolled loop version would be cool to see. The compilers should already do a good job of this. It would be nice to see in...

I seem to remember the "volatile" declaration statement. Can that be used to enforce no optimization on the term with parentheses?

Welford's method takes care of two things. Possible numerical instability; it's a single pass algorithm. It's a choose your poison scenario as with most robust computation algorithms. Regardless of the...

First stab. Also, @jvdp1 should we add the proposal label? FWIW. I would be up for doing this, I have yet to contribute directly to stdlib because I have not...

> Anyway, don't hesitate to ask if needed Great! Thanks @jvdp1 > I think it would be good to propose both: a subroutine which is in-place, and a function with...

Thanks @gareth-nx, that should be the case. For returning several elements at different k indices, that is a good use case for the optional left, right arguments in my interface/subroutine...

I'm surprised that Python is not using its canned Fortran compiler. If the setup.py file is told about the Fortran code, it should just compile and install for you. As...

I just confirmed this, thanks for the report! I'll see what I can come up with!