[Numpy-discussion] proposing a "beware of [as]matrix()" warning

Alan G Isaac aisaac@american....
Wed Apr 28 19:46:31 CDT 2010

On 4/28/2010 5:46 PM, David Warde-Farley wrote:
> Would it be acceptable to retain the matrix class but not have it
> imported in the default namespace, and have to import e.g.
> numpy.matlib to get at them?

If we can have A * M undefined, then I do not think this is
a needed addition.  But I do not have a strong opinion.
It does not create a significant barrier in teaching
(and might even have some advantages).


More information about the NumPy-Discussion mailing list