my array subset method could be improved?

Jim O'D jbo at cannedham.ee.ed.ac.uk
Fri Oct 14 09:18:51 EDT 2005


> 
> new = Numeric.compress(Numeric.less(a,0),a)

Ah, thank you!

Sorry about subject mangle, I gave a silly example first time round.

Jim



More information about the Python-list mailing list