Re: Min
- To: mathgroup at smc.vnet.net
- Subject: [mg2373] Re: Min
- From: hans.steffani at e-technik.tu-chemnitz.de (Hans Steffani)
- Date: Sun, 29 Oct 1995 22:49:07 -0500
- Organization: University of Technology Chemnitz, FRG
hans.steffani at e-technik.tu-chemnitz.de (Hans Steffani) writes:
>As we all know, Min[] returns the value of its
>smallest argument. Is there a way to find out
>which of the arguments is the smallest one?
Sometimes news are olds. ;-)
I got one answer myself.
list={1., 2.,.933,.324}
First[Min[list], Position[list] ]
helped me. The First[] is necessary as the minimum can
occure more than once in list.
h.f.s.
--
Hans Friedrich Steffani
Institut fuer Elektrische Maschinen und Antriebe
TU Chemnitz-Zwickau
e-mail: hans.steffani at e-technik.tu-chemnitz.de