|
From: Colin J. W. <cj...@sy...> - 2006-01-12 17:51:17
|
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 >Num...@li... >https://lists.sourceforge.net/lists/listinfo/numpy-discussion > > > |