[Numpy-discussion] index method for array objects?

Aureli Soria Frisch aureli at ipk.fhg.de
Thu Jul 25 09:51:06 EDT 2002


Hi all,

Has someone implemented a function for arrays that behaves like the 
index(*) method for lists (it should then consider something like a 
tolerance parameter).

I suppose it could be maybe done with array.tolist() and 
list.index(), but have someone implemented something more 
elegant/array-based?

Thanks in advance

Aureli

PD: (*) index receive a value as an argument and retunrs the index of 
the list member equal to this value...
-- 
#################################
Aureli Soria Frisch
Fraunhofer IPK
Dept. Pattern Recognition

post: Pascalstr. 8-9, 10587 Berlin, Germany
e-mail: aureli at ipk.fhg.de
fon: +49 30 39006-143
fax: +49 30 3917517
web: http://vision.fhg.de/~aureli/web-aureli_en.html
#################################




More information about the NumPy-Discussion mailing list