I'm having some trouble here. I have a list of numpy arrays. I want to know if an array 'u' is in the list.
As an example, u = np.arange(10) : u not in [u+1] --------------------------------------------------------------------------- ValueError Traceback (most recent call last) /home/nbecker/raysat/test/<ipython console> in <module>() ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all() What would be the way to do this? _______________________________________________ NumPy-Discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion
