edu.jhu.bme.smile.commons.optimize
Interface Optimizable1DContinuousDifferentiable

All Superinterfaces:
Optimizable1DContinuous
All Known Implementing Classes:
FunctionExponential, FunctionNegativeXSquared, FunctionNumeric1DDifferentiation, FunctionXSquared, FunctionXXplusSinXX, MinToMax1DDifferentiable, ProjectNDto1DOptimizableDifferentiable

public interface Optimizable1DContinuousDifferentiable
extends Optimizable1DContinuous

Interface for Differentiable 1D functions. It extends the Optimizable1DContinuous interface.

Author:
Yufeng Guo, Hanlin Wan

Method Summary
 double get2ndDerivative(double x)
          Gets the value of the 2nd derivative of the function.
 double getDerivative(double x)
          Gets the value of the derivative of the function.
 
Methods inherited from interface edu.jhu.bme.smile.commons.optimize.Optimizable1DContinuous
getDomainMax, getDomainMin, getDomainTolerance, getValue
 

Method Detail

getDerivative

double getDerivative(double x)
Gets the value of the derivative of the function.

Parameters:
x - location to evaluate the derivative
Returns:
the value of the derivative at x

get2ndDerivative

double get2ndDerivative(double x)
Gets the value of the 2nd derivative of the function.

Parameters:
x - location to evaluate the derivative
Returns:
the value of the 2nd derivative at x