Rev Language Reference


min - Minimum of a set of numbers

Finds the minimum of a vector of numbers.

Usage

min(MatrixReal x)

Arguments

x : MatrixReal (pass by const reference)
A vector/matrix of numbers.

Return Type

Example

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

See Also