DifferentiableFunction.java


Below is the syntax highlighted version of DifferentiableFunction.java from §3.6 Case Study: Purple America.


public interface DifferentiableFunction {
    public double eval(double x);
    public double diff(double x);
}


Copyright © 2007, Robert Sedgewick and Kevin Wayne.
Last updated: Tue Sep 29 16:17:41 EDT 2009.