Hi
I have a list of objects that I want to be interpreted numpy.where. What 
class methods do I need to implement?

example:
class A:pass
a=A()
a.i=1
b=A()
b.i=0
numpy.where([a,b,a]) #desired result [0,2]

Thanks
Mathew

_______________________________________________
Numpy-discussion mailing list
[email protected]
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to