
DoubleToMatrix |
ptolemy.domains.sdf.lib.DoubleToMatrix |
This actor converts a sequence of input tokens to a matrix.
The actor reads rows times columns inputs and
inserts their values into a double matrix with rows rows
and columns columns. The first row is filled 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.VectorAssembler instead.
Author(s): Edward A. Lee
Version:$Id: DoubleToMatrix.java,v 1.25 2005/07/08 19:58:43 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.
rows
The number of rows. It is of type integer and has a
default value of 2. It must be greater than zero.