[Numpy-discussion] How do I make a diagonal matrix?

Travis Oliphant oliphant at ee.byu.edu
Fri Jun 23 16:08:25 CDT 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