Rev Language Reference


min - Minimum of a set of numbers

Finds the minimum of a vector of numbers.

Usage

min(Real[] x)

Arguments

x : Real[] (pass by const reference)
A vector of values.

Return Type

Example

a = v(0,1,1,2,3,5,8,13)
min(a)
# will print 0

See Also