|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--opale.mathtools.parser.TypeOp | +--opale.mathtools.parser.UnaryFunction
This class makes it possible to add an user function that will be recognised by the parser. The function must be explicitly defined in a Java programme. To define a function with a string definition, use the class SUnaryFunction
.
Constructor Summary | |
UnaryFunction()
|
Method Summary | |
abstract double |
eval(double x)
|
abstract java.lang.String |
keyword()
Return the keyword that will be recognized in a string to identify this operation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public UnaryFunction()
Method Detail |
public abstract double eval(double x)
public abstract java.lang.String keyword()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |