org.apache.commons.math3.analysis.differentiation
Interface UnivariateDifferentiableFunction

All Superinterfaces:
UnivariateFunction
All Known Implementing Classes:
Acos, Acosh, Asin, Asinh, Atan, Atanh, Cbrt, Constant, Cos, Cosh, Exp, Expm1, Gaussian, HarmonicOscillator, Identity, Inverse, Log, Log10, Log1p, Logistic, Logit, Minus, PolynomialFunction, PolynomialFunctionNewtonForm, PolynomialSplineFunction, Power, Sigmoid, Sin, Sinc, Sinh, Sqrt, Tan, Tanh

public interface UnivariateDifferentiableFunction
extends UnivariateFunction

Interface for univariate functions derivatives.

This interface represents a simple function which computes both the value and the first derivative of a mathematical function. The derivative is computed with respect to the input variable.

Since:
3.1
Version:
$Id: UnivariateDifferentiableFunction.java 1416643 2012-12-03 19:37:14Z tn $
See Also:
UnivariateDifferentiableFunction, UnivariateFunctionDifferentiator

Method Summary
 DerivativeStructure value(DerivativeStructure t)
          Simple mathematical function.
 
Methods inherited from interface org.apache.commons.math3.analysis.UnivariateFunction
value
 

Method Detail

value

DerivativeStructure value(DerivativeStructure t)
                          throws MathIllegalArgumentException
Simple mathematical function.

UnivariateDifferentiableFunction classes compute both the value and the first derivative of the function.

Parameters:
t - function input value
Returns:
function result
Throws:
MathIllegalArgumentException - if t does not fulfill functions constraints (argument out of bound, or unsupported derivative order for example)


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.