C-based numpy's nonzero() has the same performance as its vanilla Python implementation running pypy
3 Sep
2011
3 Sep
'11
2:22 p.m.
isn't that cool? my 1-dimensional vanilla Python implementation was: lambda v: [i for i,e in enumerate(v) if e != 0] best regards -- Valery A.Khamenya
4775
Age (days ago)
4775
Last active (days ago)
0 comments
1 participants
participants (1)
-
Valery Khamenya