Top Description Constructors Methods
org.apache.commons.math3.analysis.function

public Class Signum

extends Object
implements UnivariateFunction
Class Inheritance
All Implemented Interfaces
org.apache.commons.math3.analysis.UnivariateFunction
Imports
org.apache.commons.math3.analysis.UnivariateFunction, org.apache.commons.math3.util.FastMath

signum function.
Since
3.0

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public double
value(double
Point at which the function value should be computed.
x
)

Implements org.apache.commons.math3.analysis.UnivariateFunction.value.

Compute the value of the function.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Signumback to summary
public Signum()

Method Detail

valueback to summary
public double value(double x)

Implements org.apache.commons.math3.analysis.UnivariateFunction.value.

Doc from org.apache.commons.math3.analysis.UnivariateFunction.value.

Compute the value of the function.

Parameters
x:double

Point at which the function value should be computed.

Returns:double

the value of the function.