public abstract class AbstractFunction extends Object implements Function
| Constructor and Description |
|---|
AbstractFunction() |
| Modifier and Type | Method and Description |
|---|---|
int |
functionEvaluations()
The number of times this function has been evaluated.
|
double |
slopeAt(double point)
Compute and return the slope at the given point.
|
double |
slopeAt(double point,
double functionValue) |
int |
slopeEvaluations()
The number of times the slope has been computed.
|
public double slopeAt(double point)
point - an element of the function's domain.public double slopeAt(double point,
double functionValue)
public int functionEvaluations()
public int slopeEvaluations()