[SciPy-user] extracting elements of a matrix using arrays as indices (SEGFAULT!)

Robin robince@gmail....
Wed May 21 12:15:57 CDT 2008


Sorry just re read your original mail and noticed that you are using
Alans method. Still keep in mind you can index directly with the
boolean result of the comparison which saves the nonzero() call if
speed is an issue.

Cheers

Robin


More information about the SciPy-user mailing list