[Numpy-discussion] What's wrong with matrices?

Keith Goodman kwgoodman at gmail.com
Fri Jul 7 18:01:47 CDT 2006

On 7/7/06, Travis Oliphant <oliphant.travis at ieee.org> wrote:
> Bill Baxter wrote:
> > 4) eye,empty,rand,ones,zeros,arange and anything else that builds an
> > array from scratch or from a python list should have a matrix equivalent
> Would
> from numpy.defmatrix import ones, zeros, ...
> work?

Can defmatrix be shortened to matrix? So

from numpy.matrix import ones, zeros, ...

More information about the Numpy-discussion mailing list