public class Constant extends Object implements UnivariateDifferentiableFunction
| Constructor and Description |
|---|
Constant(double c) |
| Modifier and Type | Method and Description |
|---|---|
double |
value(double x)
Compute the value of the function.
|
<T extends Derivative<T>> |
value(T t)
Compute the value for the function.
|
public double value(double x)
value in interface UnivariateFunctionx - Point at which the function value should be computed.public <T extends Derivative<T>> T value(T t)
value in interface UnivariateDifferentiableFunctionT - the type of the field elementst - the point for which the function value should be computedCopyright © 2016-2021 CS GROUP. All rights reserved.