> Alan G Isaac wrote: >> M.transpose()[V>0] >> If you want the columns as columns, >> you can transpose again.
On Wed, 21 Jun 2006, Keith Goodman apparently wrote: > I can't get that to work when M is a n by m matrix: The problem is not M being a matrix. You made V a matrix (i.e., 2d). So you need to ravel() it first. >> M.transpose()[V.ravel()>0] hth, Alan Isaac All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ Numpy-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/numpy-discussion
