[Numpy-discussion] arange and linspace could take an output array

2007-07-07 Thread Carlos Pita
Hi all, I have a few cases where an output array with samples for a linear envelope should be composed by several linear segments, each one the output of arange o linspace. It would be preferable in terms of performance to write this segments directly to subviews of the output array instead of gen

[Numpy-discussion] arange and linspace could take an output array

2007-07-07 Thread Carlos Pita
Hi all, I have a few cases where an output array with samples for a linear envelope should be composed by several linear segments, each one the output of arange o linspace. It would be preferable in terms of performance to write this segments directly to subviews of the output array instead of gen