[Numpy-discussion] arange and linspace could take an output array
Wed Jul 4 01:32:32 CDT 2007
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 generating
temporary arrays and then copying them to the final one. So why don't
provide output arguments for arange and linspace?
Thank you in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Numpy-discussion