On Tue, May 3, 2011 at 19:03, Benjamin Root <[email protected]> wrote: > I can't comment much on the questions you raise, but I can certainly suggest > that np.where() function might be a much better choice than some of the > if-statements.
But it won't be any better than the two fancy-indexing approaches he's used. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco _______________________________________________ NumPy-Discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion
