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
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
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 TypeMethodDescriptiondefault doublevalue(double x) Compute the value of the function.<T extends Derivative<T>>
Tvalue(T x) Compute the value for the function.
-
Method Details
-
value
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- ifxdoes not satisfy the function's constraints (argument out of bound, or unsupported derivative order for example)
-
value
default double value(double x) Description copied from interface:UnivariateFunctionCompute the value of the function.- Specified by:
valuein interfaceUnivariateFunction- Parameters:
x- Point at which the function value should be computed.- Returns:
- the value of the function.
-