Full Library / Math Operator / Math and Trig / Minimum
Block Name: Minimum
Code File Location: VisualSim/actor/lib/Minimum
Block Overview
- Read at most one token from each input channel and broadcast the one with the least value to the minimumValue output. In addition, broadcast the channel number of the minimum on the channelNumber output port. Either output port may be left unconnected if you do not need its results (this is why these are multiports). This actor works with any scalar token. For ComplexToken, the output is the one with the minimum magnitude. The input port is a multiport.
input
public TypedIOPort input
- The input port. This base class imposes no type constraints except that the type of the input cannot be greater than the type of the minimumValue output.
minimumValue
public TypedIOPort minimumValue
- The output port for the minimum value. The type of this output is constrained to be at most a scalar.
channelNumber
public TypedIOPort channelNumber
- The output port for the channel number. The type of this output is an integer.
Created with the Personal Edition of HelpNDoc: Free EPub producer