Convert a Cartesian pair (represented as two double tokens) to a single
complex token. At each firing of the actor, it will consume exactly one
token from each of the two input ports and produce a complex token on the
output port. The x input becomes the real output and the y input becomes the
imaginary output. If either input port is empty, nothing is produced.
Michael Leung, Jie Liu, Edward A. Lee, Paul Whitaker
$Id: CartesianToComplex.java 70398 2014-10-22 23:44:32Z cxh $
Ptolemy II 1.0
Green (pwhitake)
Green (pwhitake)
The input port for the x coordinate of the Cartesian pair, which
has type DoubleToken.
The input port for the y coordinate of the Cartesian pair, which
has type DoubleToken.
The port for the output, which has type ComplexToken.