org.lsmp.djep.sjep
Class MutiableMonomial
java.lang.Object
org.lsmp.djep.sjep.MutiableMonomial
public class MutiableMonomial
- extends 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
MutiableMonomial
public MutiableMonomial(PolynomialCreator pc,
PConstant coeff,
PNodeI[] nodes,
PNodeI[] pows)
- Note arrays parsed may be modified.
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 String toString()
- Overrides:
toString in class Object
Copyright © 2014. All rights reserved.