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(double value)
           
 boolean eval(Matrix values)
           
 
Methods inherited from class org.jmat.function.TestDoubleFunction
eval, toPlot2DPanel, toPlot3DPanel
 
Methods inherited from class org.jmat.function.Function
checkArgNumber, getArgNumber, toCommandLine, toString
 
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(Matrix values)
Specified by:
eval in class TestDoubleFunction