math:vector-min

(math:vector-min v1 [slice])


Description:

Return the minimum element in v1. can use an optional slice.


Arguments:

          slice -- slice v1 into segments.  slice is a list of (startpos size increment) or a list containing a single mask.  a mask is a vector of 0.0 or 1.0 values.  Any vectors must contain real numbers only

             v1 -- vector


Returns: real


Examples:

(math:vector-min (vector 1 2 3 4 5) '(2 3 1)) => 3



Back to index