Greatest element in list
- To: mathgroup at smc.vnet.net
- Subject: [mg30474] Greatest element in list
- From: "Oliver Friedrich" <oliver.friedrich at tz-mikroelektronik.de>
- Date: Thu, 23 Aug 2001 02:15:38 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Hi, what's the best way to get the position of the greatest number in list of reals? I've tried Position[#,Max[#]]&list but surprisingly, it doesn't work all the time, sometimes it returns an empty list. How is that, because a theorem says that a non empty set of real numbers must have at least one biggest element. So Max[#] can't be empty. Any solutions ? Oliver Friedrich
- Follow-Ups:
- Re: Greatest element in list
- From: Ken Levasseur <Kenneth_Levasseur@uml.edu>
- Re: Greatest element in list
- From: Tomas Garza <tgarza01@prodigy.net.mx>
- Re: Greatest element in list