MaxIndex
ptolemy.actor.lib.MaxIndex

Produce the channel number of the largest of the inputs. This actor has one input port, which is multiport of type double and one output port, which is not a multiport, and has type int. The tokens on each channel of the input port will be compared and an IntToken giving the channel number of the largest one will be output.

Author(s): Jeff Tsay and Edward A. Lee
Version:$Id: MaxIndex.java,v 1.28 2005/10/28 20:14:51 cxh Exp $
Pt.Proposed Rating:Yellow (eal)
Pt.Accepted Rating:Yellow (ssachs)