com.singularsys.aa.polynomial
Class PolynomialTerm

java.lang.Object
  extended by 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
 
Method Summary
 java.lang.Object getCoefficient()
           
 java.lang.Object getExponent(int i)
           
 int getNumberOfVariables()
           
 double getValue(java.util.Vector varNames, java.util.Hashtable varValues)
           
 void setCoefficient(java.lang.Object value)
           
 void setExponent(int i, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolynomialTerm

public PolynomialTerm(int nVar_in)
Creates a new instance of PolynomialTerm

Method Detail

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)