[Numpy-discussion] How do I make a diagonal matrix? (original) (raw)

Travis Oliphant oliphant at ee.byu.edu
Fri Jun 23 17:08:25 EDT 2006


Travis Oliphant wrote:

Alan G Isaac wrote:

I think you are right that this is a bug, though. Because array() (which is where the behavior comes from) should return a base-class array (not a sub-class). This is fixed in SVN.

-Travis



More information about the NumPy-Discussion mailing list