Interface UnivariateDifferentiableFunction

All Superinterfaces:
UnivariateFunction
All Known Implementing Classes:
Abs, Acos, Acosh, Asin, Asinh, Atan, Atanh, Cbrt, Ceil, Constant, Cos, Cosh, Exp, Expm1, Floor, Gaussian, HarmonicOscillator, Identity, Inverse, Log, Log10, Log1p, Logistic, Logit, Minus, PolynomialFunction, PolynomialFunctionNewtonForm, PolynomialSplineFunction, Power, Rint, Sigmoid, Sin, Sinc, Sinh, SmoothStepFactory.QuadraticSmoothStepFunction, SmoothStepFactory.SmoothStepFunction, 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.

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    <T extends Derivative<T>>
    T
    value(T x)
    Compute the value for the function.

    Methods inherited from interface org.hipparchus.analysis.UnivariateFunction

    value
  • Method Details

    • value

      <T extends Derivative<T>> T value(T x) throws MathIllegalArgumentException
      Compute the value for the function.
      Type Parameters:
      T - the type of the field elements
      Parameters:
      x - the point for which the function value should be computed
      Returns:
      the value
      Throws:
      MathIllegalArgumentException - if x does not satisfy the function's constraints (argument out of bound, or unsupported derivative order for example)