
max - maximum of numbers

Calling sequence:

max(expr ...)

Parameter:

expr   --  expression

Overloading:

all

Summary:

max calculates the maximum of the numerical arguments.  If one of the
arguments cannot be evaluated to a number then the function call is returned
with the maximum of the numerical arguments and the remaining evaluated
arguments. max flattens its arguments.

max returns an error when one of the arguments is a complex number . max
is a kernel function.

>>  max(-3/2, 7, 1.4);

     7

>>  max(-4, b+2, 1, 3);

      max(b+2, 3)

>>  max(a,max(b,c));

      max(a,b,c)

See also:  min

