Class ASTPtMatrixConstructNode

  • All Implemented Interfaces:
    java.lang.Cloneable, Node

    public class ASTPtMatrixConstructNode
    extends ASTPtRootNode
    The parse tree created from the expression string consists of a hierarchy of node objects. This class represents matrix construction using Matlab like expressions.
    Since:
    Ptolemy II 0.3
    Version:
    $Id$
    Author:
    Xiaojun Liu
    See Also:
    ASTPtRootNode, PtParser, Token
    Pt.AcceptedRating:
    Red (cxh)
    Pt.ProposedRating:
    Yellow (nsmyth)
    • Field Detail

      • _nRows

        protected int _nRows
        The number of rows of the matrix construction.
      • _nColumns

        protected int _nColumns
        The number of columns of the matrix construction.
      • _form

        protected int _form
        The form of the matrix construction. _form is 1 when the matrix construction gives all elements. _form is 2 when using regularly spaced vector construction.
    • Constructor Detail

      • ASTPtMatrixConstructNode

        public ASTPtMatrixConstructNode​(int id)
      • ASTPtMatrixConstructNode

        public ASTPtMatrixConstructNode​(PtParser p,
                                        int id)
    • Method Detail

      • getColumnCount

        public int getColumnCount()
      • getForm

        public int getForm()
      • getRowCount

        public int getRowCount()