public class Constant extends Object implements DifferentiableUnivariateFunction
| Constructor and Description |
|---|
Constant(double c) |
| Modifier and Type | Method and Description |
|---|---|
DifferentiableUnivariateFunction |
derivative()
Returns the derivative of the function
|
double |
value(double x)
Compute the value of the function.
|
public double value(double x)
value in interface UnivariateFunctionx - Point at which the function value should be computed.public DifferentiableUnivariateFunction derivative()
derivative in interface DifferentiableUnivariateFunctionCopyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.