Re: [Numpy-discussion] improving arange()? introducing fma()?

2018-02-10 Thread Matthias Geier
I just want to add a few links related to the topic: https://mail.python.org/pipermail/numpy-discussion/2007-September/029129.html https://quantumwise.com/forum/index.php?topic=110.0#.VIVgyIctjRZ https://mail.python.org/pipermail/numpy-discussion/2012-February/060238.html

Re: [Numpy-discussion] Add guaranteed no-copy to array creation and reshape?

2018-12-29 Thread Matthias Geier
Hi Sebastian. I don't have an opinion (yet) about this matter, but I have a question: On Thu, Dec 27, 2018 at 12:30 AM Sebastian Berg wrote: [...] > new_arr = arr.reshape(new_shape) > assert np.may_share_memory(arr, new_arr) > > # Which is sometimes -- but should not be -- written as: >

Re: [Numpy-discussion] Add guaranteed no-copy to array creation and reshape?

2019-01-07 Thread Matthias Geier
On Wed, Jan 2, 2019 at 2:24 PM Sebastian Berg wrote: > > On Wed, 2019-01-02 at 11:27 +0100, Matthias Geier wrote: > > Hi Sebastian. > > > > Thanks for the clarification. > > > > > > print(arr.shape) # also (5, 2) > > > > > > so t

Re: [Numpy-discussion] Add guaranteed no-copy to array creation and reshape?

2019-01-02 Thread Matthias Geier
Hi Sebastian. Thanks for the clarification. On Sun, Dec 30, 2018 at 5:25 PM Sebastian Berg wrote: > On Sun, 2018-12-30 at 16:03 +0100, Matthias Geier wrote: > > On Sat, Dec 29, 2018 at 6:00 PM Sebastian Berg wrote: > > > On Sat, 2018-12-29 at 17:16 +0100, Matthias Geier

Re: [Numpy-discussion] Add guaranteed no-copy to array creation and reshape?

2018-12-30 Thread Matthias Geier
On Sat, Dec 29, 2018 at 6:00 PM Sebastian Berg wrote: > > On Sat, 2018-12-29 at 17:16 +0100, Matthias Geier wrote: > > Hi Sebastian. > > > > I don't have an opinion (yet) about this matter, but I have a > > question: > > > > On Thu, Dec