Min()

Find the minimum value in an array

MIN() array=Array Find the value of the lowest element

example:

	# Find the index of the lowest data value
	>> print Bracket(w.y, Min(w.y))
	245

Min

The Min() function returns the value of the smallest element of the array it is applied to. The size of an element is determined by comparing elements with each other using the "<" and "< "operators. As a result string arrays may also have a minimum value.

In arrays where there are undefined elements, the minimum value returned is the value of the smallest defined element. For correctness, the array should have all undefined elements "fixed" explicitly to a defined value first. This can be done using the Fix() command.

Parameters:

Array (Array)

Array to be tested.

RESULT = (Array element type)

The minimum value found in the array.