Package org.hipparchus.analysis.function
Class Signum
- java.lang.Object
-
- org.hipparchus.analysis.function.Signum
-
- All Implemented Interfaces:
UnivariateFunction
public class Signum extends Object implements UnivariateFunction
signum
function.
-
-
Constructor Summary
Constructors Constructor Description Signum()
-
-
-
Method Detail
-
value
public double value(double x)
Compute the value of the function.- Specified by:
value
in interfaceUnivariateFunction
- Parameters:
x
- Point at which the function value should be computed.- Returns:
- the value of the function.
-
-