linearalgebra.symbolic
Class ConstantSymbol

java.lang.Object
  extended by linearalgebra.symbolic.AbstractUnknown
      extended by linearalgebra.symbolic.LeafUnknown
          extended by linearalgebra.symbolic.ConstantSymbol
All Implemented Interfaces:
SymbolicValue

public class ConstantSymbol
extends LeafUnknown


Field Summary
private  double m_value
           
 
Fields inherited from interface linearalgebra.symbolic.SymbolicValue
ADDS, LEAF, MULT
 
Constructor Summary
ConstantSymbol(double value)
           
 
Method Summary
 double getNumericValue()
           
 void solveFor(double y)
           
 java.lang.String toString()
           
 
Methods inherited from class linearalgebra.symbolic.LeafUnknown
getChild, getChildCount, getPrecedence
 
Methods inherited from class linearalgebra.symbolic.AbstractUnknown
addParent, appendParenthesisString, contains, getParent, getParentCount, isNormal, removeParent, scale, subTreeChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_value

private double m_value
Constructor Detail

ConstantSymbol

public ConstantSymbol(double value)
Method Detail

getNumericValue

public double getNumericValue()

solveFor

public void solveFor(double y)

toString

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