public abstract class AbstractEvaluatable1D extends java.lang.Object implements Evaluatable1D
Modified by: Joseph A. Huwaldt
Constructor and Description |
---|
AbstractEvaluatable1D() |
Modifier and Type | Method and Description |
---|---|
double |
derivative(double x)
Calculates the derivative of the function dy/dx = d fn(x)/dx.
|
double |
getInitialValue()
Returns the initial function value set with "setInitialValue()".
|
void |
setInitialValue(double initialValue)
Used to set an initial function value (or any other initial
value the user wants to use).
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
function
public AbstractEvaluatable1D()
public double derivative(double x) throws RootException
derivative
in interface Evaluatable1D
x
- Independent parameter to the function.RootException
public void setInitialValue(double initialValue)
initialValue
- Initial function value, f0.public final double getInitialValue()