March 2003
Intermediate to advanced
656 pages
39h 30m
English
nonzero
nonzero(a)Returns the indices of those elements of a
that are not equal to 0, like the expression:
array([iforiin range(len(a)) ifa[i] != 0])
a must be a sequence or one-dimensional
array.