[Numpy-discussion] Two bugs in numpy 0.9.2 and a suggestion.

Colin J. Williams cjw at sympatico.ca
Thu Jan 12 09:52:11 CST 2006


Alan G Isaac wrote:

>Paulo wrote:
>  
>
>>>Now the suggestion. What about adding a "transpose" property (in the 
>>>Python parlance) to ndarray objects? I would call it "t". 
>>>      
>>>
>
>
>On Thu, 12 Jan 2006, "Colin J. Williams" apparently wrote: 
>  
>
>>Or "T" to distinguish properties, 
>>    
>>
>
>You mean like this?  Or something else?
>Alan Isaac
>
>  
>
>>>>import numpy as N
>>>>x = N.mat([[1,2,3],[4,5,6]])
>>>>y = x.T
>>>>y
>>>>        
>>>>
>matrix([[1, 4],
>       [2, 5],
>       [3, 6]])
>
>
>  
>
Thanks.  Yes, exactly.

Colin W.

>
>-------------------------------------------------------
>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
>for problems?  Stop!  Download the new AJAX search engine that makes
>searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
>http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
>_______________________________________________
>Numpy-discussion mailing list
>Numpy-discussion at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/numpy-discussion
>
>  
>





More information about the Numpy-discussion mailing list