public class Abs extends Object implements ExtendedUnivariateDifferentiableFunction
Constructor and Description |
---|
Abs() |
Modifier and Type | Method and Description |
---|---|
DerivativeStructure |
value(DerivativeStructure x)
Simple mathematical function.
|
double |
value(double x)
Compute the value of the function.
|
<T extends Derivative<T>> |
value(T x)
Compute the value for the function.
|
public double value(double x)
value
in interface UnivariateFunction
x
- Point at which the function value should be computed.public DerivativeStructure value(DerivativeStructure x)
UnivariateDifferentiableFunction
classes compute both the
value and the first derivative of the function.
value
in interface UnivariateDifferentiableFunction
x
- function input valuepublic <T extends Derivative<T>> T value(T x)
value
in interface ExtendedUnivariateDifferentiableFunction
T
- the type of the field elementsx
- the point for which the function value should be computedCopyright © 2016–2020 Hipparchus.org. All rights reserved.