MathGroup Archive 2004

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

Search the Archive

RE: Min[], Max[]

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


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}]]

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

From: Frank Brand [mailto:fank.brand at]
To: mathgroup at

Dear newsgroup members,

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

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

Thanks in advance

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

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

frank.brand at

  • 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[]