com.singularsys.aa.polynomial
Class PolynomialTerm
java.lang.Object
com.singularsys.aa.polynomial.PolynomialTerm
public class PolynomialTerm
- extends java.lang.Object
- Author:
- nathan
Constructor Summary |
PolynomialTerm(int nVar_in)
Creates a new instance of PolynomialTerm |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PolynomialTerm
public PolynomialTerm(int nVar_in)
- Creates a new instance of PolynomialTerm
setCoefficient
public void setCoefficient(java.lang.Object value)
setExponent
public void setExponent(int i,
java.lang.Object value)
throws java.lang.IndexOutOfBoundsException
- Throws:
java.lang.IndexOutOfBoundsException
getCoefficient
public java.lang.Object getCoefficient()
getExponent
public java.lang.Object getExponent(int i)
throws java.lang.IndexOutOfBoundsException
- Throws:
java.lang.IndexOutOfBoundsException
getNumberOfVariables
public int getNumberOfVariables()
getValue
public double getValue(java.util.Vector varNames,
java.util.Hashtable varValues)