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

Robin robince at gmail.com
Wed May 21 13:15:57 EDT 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