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, unmarshall
public StringFunction()
public StringFunction(String expression)
public String getExpression()
public void setExpression(String expression)
expression
- the expression to setpublic String help()
Function1D
help
in interface Function1D
help
in class AbstractFunction1D
public Double evaluate(double x) throws FunctionEvaluationException
Function1D
x
- variable value used to compute function valueFunctionEvaluationException
Copyright © 2016 Laboratoire COGIT, IGN. All rights reserved.