Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

RE: Min[], Max[]

  • To: mathgroup at smc.vnet.net
  • Subject: [mg48345] RE: [mg48320] Min[], Max[]
  • From: "David Park" <djmp at earthlink.net>
  • Date: Tue, 25 May 2004 07:17:09 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Frank,

What other value would you suggest for the minimum of an empty list?

Min and Max have the attribute Flat.

Min[Min[{}], Min[{10^20}]]
100000000000000000000

The only way the above statement could always be correct is that the Min of
an empty list is infinity. You might have an algorithm that generates two
lists, but one of the lists may sometimes be empty. The statement above
would still work.

Same for Max.

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/

From: Frank Brand [mailto:fank.brand at t-online.de]
To: mathgroup at smc.vnet.net

Dear newsgroup members,

can anyone explain me what´s the sense in the definition of

Min[{}]= Infinity and Max[{}]= -Infinity

Thanks in advance
Frank


Prof. Dr. Frank Brand
Budapester Str. 13
10787 Berlin

+49 (0)30 - 25 79 36 62
0179 - 215 58 04

frank.brand at t-online.de





  • Prev by Date: RE : Problem with function
  • Next by Date: WTD: point intersection in space
  • Previous by thread: Re: Min[], Max[]
  • Next by thread: RE: Min[], Max[]