[Numpy-discussion] Re: Managing integer overflow

2023-04-27 Thread jmsachs
> Ideally if there is an overflow in an array operation I'd like to produce an > "overflow array" that's the same size as the result array, but with the > values +1 if it's a positive overflow or -1 if it's a negative overflow. Alternatively, if boolean arrays are a much more compact memory foot

[Numpy-discussion] Re: Managing integer overflow

2023-04-27 Thread Robert Kern
Two boolean arrays are not more compact than one signed `int8` array. But since you'd have to make bool masks from such an array anyways to do anything useful, you might as well pass the bool masks. I think this example shows that you don't need any special infrastructure from numpy. I don't think

[Numpy-discussion] Google Season of Docs 2023 Project Roadmap

2023-04-27 Thread Mars Lee
Hi everyone, I'm Mars, the selected technical writer for NumPy’s Google Summer of Docs project proposal, the ‘NumPy Contributor Comics'. The project roadmap and timeline can be read here: https://medium.com/@marsbarlee/gsod-numpy-contributor-comics-project-roadmap-521280503fbd. In a few weeks,

[Numpy-discussion] Re: Google Season of Docs 2023 Project Roadmap

2023-04-27 Thread Matti Picus
On 27/4/23 23:40, Mars Lee wrote: Hi everyone, I'm Mars, the selected technical writer for NumPy’s Google Summer of Docs project proposal, the ‘NumPy Contributor Comics'. The project roadmap and timeline can be read here: https://medium.com/@marsbarlee/gsod-numpy-contributor-comics-project-ro