
MatrixToDouble |
ptolemy.domains.sdf.lib.MatrixToDouble |
This actor converts a matrix input sequence of output tokens.
The input must be a DoubleMatrixToken and the output will be a sequence
of instances of DoubleToken. The number of outputs produced
on each firing is the number of elements in the matrix.
This is assumed to equal the product rows times columns,
although this is not enforced unless the actor is under the control
of an instance of SDFDirector. The SDF director requires this information
to construct its schedule. The first row is produced first, then
the second row, then the third, etc.
Note that this actor is not likely to work in the CT domain, use
actor.lib.VectorDisassembler instead.
Author(s): Edward A. Lee
Version:$Id: MatrixToDouble.java,v 1.27 2005/07/08 19:58:45 cxh Exp $
Pt.Proposed Rating:Yellow (eal)
Pt.Accepted Rating:Red (eal)
columns
The number of columns. It is of type integer and has a default
value of 2. It must be greater than zero. This information is
only used if the actor is under the control of an SDFDirector.
rows
The number of rows. It is of type integer and has a default
value of 2. It must be greater than zero. This information is
only used if the actor is under the control of an SDFDirector.