gov.sandia.cognition.math
Interface DifferentiableUnivariateScalarFunction

All Superinterfaces:
Cloneable, CloneableSerializable, DifferentiableEvaluator<Double,Double,Double>, Evaluator<Double,Double>, ScalarFunction<Double>, Serializable, UnivariateScalarFunction
All Known Subinterfaces:
PolynomialFunction.ClosedForm
All Known Implementing Classes:
AbstractDifferentiableUnivariateScalarFunction, AdaptiveRejectionSampling.LineSegment, AtanFunction, CosineFunction, DirectionalVectorToDifferentiableScalarFunction, DirectionalVectorToScalarFunction, IdentityScalarFunction, LinearFunction, LineMinimizerDerivativeBased.InternalFunction, PolynomialFunction, PolynomialFunction.Cubic, PolynomialFunction.Linear, PolynomialFunction.Quadratic, SigmoidFunction

@CodeReview(reviewer="Kevin R. Dixon",
            date="2008-02-12",
            changesNeeded=false,
            comments={"Added differentiate(double) method.","Created AbstractDifferentiableUnivariateScalarFunction as a partial implementation.","Otherwise, interface is fine."})
public interface DifferentiableUnivariateScalarFunction
extends UnivariateScalarFunction, DifferentiableEvaluator<Double,Double,Double>

A differentiable univariate scalar function

Since:
2.0
Author:
Kevin R. Dixon

Method Summary
 double differentiate(double input)
          Differentiates the output of the function about the given input
 
Methods inherited from interface gov.sandia.cognition.math.UnivariateScalarFunction
evaluate
 
Methods inherited from interface gov.sandia.cognition.math.ScalarFunction
evaluateAsDouble
 
Methods inherited from interface gov.sandia.cognition.evaluator.Evaluator
evaluate
 
Methods inherited from interface gov.sandia.cognition.math.DifferentiableEvaluator
differentiate
 
Methods inherited from interface gov.sandia.cognition.util.CloneableSerializable
clone
 

Method Detail

differentiate

double differentiate(double input)
Differentiates the output of the function about the given input

Parameters:
input - Input about which to compute the derivative of the function output
Returns:
Derivative of the output with respect to the input