[Numpy-discussion] What is an empty matrix ?
Nils Wagner
nwagner@iam.uni-stuttgart...
Wed Jul 4 06:39:43 CDT 2007
David Cournapeau wrote:
> Hi,
>
> I was wondering what an empty matrix is, and what it is useful for
> (by empty matrix, I mean something created by numpy.matrix([])) ? Using
> those crash some functions (see for example scipy ticket #381), and I am
> not sure how to fix this bug.
>
> David
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>
empty(...)
empty((d1,...,dn),dtype=float,order='C')
Return a new array of shape (d1,...,dn) and given type with all its
entries uninitialized. This can be faster than zeros.
Nils
More information about the Numpy-discussion
mailing list