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

public Class Abs

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

Absolute value function.
Since
3.0

Constructor Summary

AccessConstructor and Description
public
Abs()

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

Absback to summary
public Abs()

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.