[Numpy-discussion] Nasty bug using pre-initialized arrays
Charles R Harris
Fri Jan 4 16:53:41 CST 2008
On Jan 4, 2008 2:37 PM, Stuart Brorson <email@example.com> wrote:
> On Fri, 4 Jan 2008, Stuart Brorson wrote:
> I realize NumPy != Matlab, but I'd wager that most users would think
> that this is the natural behavior......
Matlab support for different types was sort of kludged on. Matlab was
intended for computational convenience, not control of data types, and
started out as pretty much all doubles and double complex, it didn't
(doesn't?) even have integers. NumPy is a bit closer to the metal and
support for different data types has been there from the start, but that
extra power means you have to devote a bit more thought to what you are
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Numpy-discussion