org.lsmp.djep.sjep
Class MutiablePolynomial

java.lang.Object
  extended by org.lsmp.djep.sjep.MutiablePolynomial

public class MutiablePolynomial
extends java.lang.Object

A mutable polynomial representing a + b + c. There are no requirements that this is in a reduced form so some powers can be zero.

Author:
Rich Morris Created on 23-Dec-2004

Constructor Summary
MutiablePolynomial(PolynomialCreator pc, PNodeI[] nodes)
          Note arrays parsed may be modified.
 
Method Summary
 void add(PNodeI term)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MutiablePolynomial

public MutiablePolynomial(PolynomialCreator pc,
                          PNodeI[] nodes)
Note arrays parsed may be modified.

Method Detail

add

public void add(PNodeI term)
         throws ParseException
Throws:
ParseException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


http://www.singularsys.com/jep Copyright © 2007 Singular Systems