Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.jfree.data.function.PowerFunction2D
Constructor Summary | |
|
Method Summary | |
double |
|
public PowerFunction2D(double a, double b)
Creates a new power function.
- Parameters:
a
- the 'a' coefficient.b
- the 'b' coefficient.
public double getValue(double x)
Returns the value of the function for a given input ('x').
- Specified by:
- getValue in interface Function2D
- Parameters:
x
- the x-value.
- Returns:
- The value.