MINVAL

Purpose:

Returns the minimum of one or two input arguments.

Syntax:

MINVAL(val1, val2)

val1

-

A series or numeric value.

val2

-

A series or numeric value.

Returns:

A real or series.

Example:

minval(10, 20)

 

returns 10.

Example:

minval({1, 2, 3}, {0, 4, 2})

 

returns the series {0, 2, 2}.

Example:

W1:{{1, 2, 3}, {4, 5, 6}, {7, 8, 9}}

W2: minval(W1)

 

W2 == {1, 2, 3}, the minimums of each column of W1.

Remarks:

MINVAL with no input arguments uses the current Window.

 

The built-in MIN function is equivalent to MINVAL.

 

See VMIN to compare more than two values.

See Also:

COLMIN

MAX

MAXVAL

MIN

VMIN