org.lsmp.djep.sjep
Class MutiableMonomial

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

public class MutiableMonomial
extends java.lang.Object

A mutable monomial representing a * x^i * y^j * ... * z^k. 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
MutiableMonomial(PolynomialCreator pc, PConstant coeff, PNodeI[] nodes, PNodeI[] pows)
          Note arrays parsed may be modified.
 
Method Summary
 void div(PConstant c)
           
 void mul(PConstant c)
           
 void mul(PNodeI term, PNodeI power)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MutiableMonomial

public MutiableMonomial(PolynomialCreator pc,
                        PConstant coeff,
                        PNodeI[] nodes,
                        PNodeI[] pows)
Note arrays parsed may be modified.

Method Detail

mul

public void mul(PConstant c)
         throws ParseException
Throws:
ParseException

div

public void div(PConstant c)
         throws ParseException
Throws:
ParseException

mul

public void mul(PNodeI term,
                PNodeI power)
         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