org.jmat.function
Class TestDoubleFunctionExpression

java.lang.Object
  |
  +--org.jmat.function.Function
        |
        +--org.jmat.function.TestDoubleFunction
              |
              +--org.jmat.function.TestDoubleFunctionExpression
All Implemented Interfaces:
CommandLinePrintable, StringPrintable

public class TestDoubleFunctionExpression
extends TestDoubleFunction


Field Summary
 
Fields inherited from class org.jmat.function.Function
argNumber
 
Constructor Summary
TestDoubleFunctionExpression(java.lang.String exp, java.lang.String vars)
           
TestDoubleFunctionExpression(java.lang.String exp, java.lang.String[] vars)
           
 
Method Summary
 boolean eval(AbstractMatrix values)
           
 boolean eval(double value)
           
 void toCommandLine(java.lang.String title)
           
 java.lang.String toString()
           
 
Methods inherited from class org.jmat.function.TestDoubleFunction
eval, toPlot2DPanel, toPlot2DPanel, toPlot3DPanel, toPlot3DPanel
 
Methods inherited from class org.jmat.function.Function
checkArgNumber, getArgNumber
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestDoubleFunctionExpression

public TestDoubleFunctionExpression(java.lang.String exp,
                                    java.lang.String[] vars)

TestDoubleFunctionExpression

public TestDoubleFunctionExpression(java.lang.String exp,
                                    java.lang.String vars)
Method Detail

eval

public boolean eval(double value)

eval

public boolean eval(AbstractMatrix values)
Specified by:
eval in class TestDoubleFunction

toString

public java.lang.String toString()
Specified by:
toString in interface StringPrintable
Specified by:
toString in class Function

toCommandLine

public void toCommandLine(java.lang.String title)
Specified by:
toCommandLine in interface CommandLinePrintable
Specified by:
toCommandLine in class Function