[Insight-users] vnl_vector min_value

Fabian Torres fabian.trobles at gmail.com
Mon May 7 15:17:19 EDT 2012


I have a simple question, I hope someone can help me.

I have a vnl_vector<double> vector, and I need to find the minimum value of
the vector and its index.

I know that vector.min_value(), gives me the minimum value in the vector.

But how can I find the index of that value?

Thanks

-- 
Fabián Torres Robles
Maestria en Ciencias en Ingeniería Electrónica
Ingeniería en Sistemas Electrónicos
tel. 58081280, 0445534661338
e-mail fabian.trobles at gmail.com, dae.wong at gmail.com




-- 
Fabián Torres Robles
Maestria en Ciencias en Ingeniería Electrónica
Ingeniería en Sistemas Electrónicos
tel. 58081280, 0445534661338
e-mail fabian.trobles at gmail.com, dae.wong at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120507/d90029de/attachment.htm>


More information about the Insight-users mailing list