public class StringFunction extends AbstractFunction1D
| Constructor and Description |
|---|
StringFunction()
Constructor
|
StringFunction(String expression)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Double |
evaluate(double x)
Compute the function value
|
String |
getExpression() |
String |
help()
Returns a String explaining the function and its arguments
|
void |
setExpression(String expression) |
String |
toString() |
getLowerBoundDF, getUpperBoundDF, getWithMatchLowerBound, getWithMatchUpperBound, isBetween, marshall, marshall, marshall, setDomainOfFunction, unmarshall, unmarshallpublic StringFunction()
public StringFunction(String expression)
public String getExpression()
public void setExpression(String expression)
expression - the expression to setpublic String help()
Function1Dhelp in interface Function1Dhelp in class AbstractFunction1Dpublic Double evaluate(double x) throws FunctionEvaluationException
Function1Dx - variable value used to compute function valueFunctionEvaluationExceptionCopyright © 2016 Laboratoire COGIT, IGN. All rights reserved.