in reply to index of the minimum element of the array
If you don't like the classical way of a for loop checking the min and memorizing the last index you can try combining min with first_index. (note that's inefficient)
HTH! =)
Or do you want a sub minindex ?
Cheers Rolf
( addicted to the Perl Programming Language)
|
|---|