public class Power extends Object implements DifferentiableUnivariateFunction
Constructor and Description |
---|
Power(double p) |
Modifier and Type | Method and Description |
---|---|
UnivariateFunction |
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 UnivariateFunction
x
- Point at which the function value should be computed.public UnivariateFunction derivative()
derivative
in interface DifferentiableUnivariateFunction
Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.