Class MatrixToDouble

  • All Implemented Interfaces:
    java.lang.Cloneable, Actor, Executable, FiringsRecordable, Initializable, SequenceActor, TypedActor, Changeable, Debuggable, DebugListener, Derivable, Instantiable, ModelErrorHandler, MoMLExportable, Moveable, Nameable

    @Deprecated
    public class MatrixToDouble
    extends SDFConverter
    Deprecated.
    Use MatrixToSequence instead.
    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.

    Since:
    Ptolemy II 2.0
    Version:
    $Id$
    Author:
    Edward A. Lee
    Pt.AcceptedRating:
    Red (eal)
    Pt.ProposedRating:
    Yellow (eal)
    • Field Detail

      • columns

        public Parameter columns
        Deprecated.
        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

        public Parameter rows
        Deprecated.
        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.