P
Plissken.s
Hi,
How can I find out the index of a vector which has the min element?
I know how to find out the * value * of a vector which has the min
element.
But how can I find out its index?
for example, [100, 98, 1, 98, 28], I would like the function to return
2.
Thank you.
How can I find out the index of a vector which has the min element?
I know how to find out the * value * of a vector which has the min
element.
But how can I find out its index?
for example, [100, 98, 1, 98, 28], I would like the function to return
2.
Thank you.