public class DerivativeCalculator
extends java.lang.Object
Constructor and Description |
---|
DerivativeCalculator()
Constructor for derivative calculator.
|
Modifier and Type | Method and Description |
---|---|
double |
calcDeriv(double in)
Given a new input value, output its derivative based on the last time the method was invoked.
|
public DerivativeCalculator()
public double calcDeriv(double in)
in
- input to take the derivative of