ArrayMinimum
ptolemy.actor.lib.ArrayMinimum

Extract the minimum element from an array. This actor reads an array from the input port and sends the smallest of its elements to the output port. The index of the smallest element (closest to minus infinity) is sent to the index output port. If there is more than one entry in the array with the minimum value, then the index of the first such entry is what is produced.

Author(s): Mark Oliver and Edward A. Lee
Version:$Id: ArrayMinimum.java,v 1.17 2005/10/28 19:20:13 cxh Exp $
Pt.Proposed Rating:Red (cxh)
Pt.Accepted Rating:Red (cxh)


index
The port producing the index of the largest element. This is port has type int.