package umontreal.iro.lecuyer.functions;



/**
 * Represents a mathematical function whose
 * derivative can be computed using
 * {@link #derivative(double) derivative}.
 * 
 */
public interface MathFunctionWithFirstDerivative extends MathFunction {


   /**
    * Computes (or estimates) the first derivative 
    *    of the function at point x.
    * 
    * @param x the point to evaluate the derivative to.
    * 
    *    @return the value of the derivative.
    */
   public double derivative (double x);
}

 

Ads help maintain this website.