skip to main
|
skip to sidebar
Simple, Complex and Complicated
Tuesday, January 22, 2008
index of minimum element in a sequence
From Python group:
from itertools import izip, count idx, min_element = min(izip(seq, count()))
No comments:
Post a Comment
Older Post
Home
Subscribe to:
Post Comments (Atom)
Blog Archive
▼
2008
(1)
▼
January
(1)
index of minimum element in a sequence
►
2007
(3)
►
October
(1)
►
April
(2)
No comments:
Post a Comment