[SciPy-user] finding number of elements in a vector

Perez Kawumi pepe_kawumi@yahoo.co...
Mon Aug 20 06:44:34 CDT 2007


Hi,
say i have a vector [3,5,0,9,0,8,9]
is there any method in python i can use to find out how many non-zero vector elements are in this list?


		
___________________________________________________________ 
NEW Yahoo! Cars - sell your car and browse thousands of new and used cars online! http://uk.cars.yahoo.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-user/attachments/20070820/92428e37/attachment.html 


More information about the SciPy-user mailing list