Subject: Different max behavior from commercial product.
From: Donna and Dan Stanger
Date: Sun, 28 Aug 2005 10:59:59 -0400
The commercial product returns minf when max is either called
with a empty list, or applied to one, or called with no arguments.
If called with a non empty list, it applies max to the list.
Maxima does the following:
(%i1) max();
Wrong number of arguments to max
-- an error. Quitting. To debug this try debugmode(true);
(%i2) max([]);
(%o2) []
(%i3) apply(max,[]);
Wrong number of arguments to max
-- an error. Quitting. To debug this try debugmode(true);
What should the proper behavior be?
Dan Stanger