org.jfree.data.function
public class PowerFunction2D extends Object implements Function2D
Constructor Summary | |
---|---|
PowerFunction2D(double a, double b)
Creates a new power function.
|
Method Summary | |
---|---|
double | getValue(double x)
Returns the value of the function for a given input ('x').
|
Parameters: a the 'a' coefficient. b the 'b' coefficient.
Parameters: x the x-value.
Returns: The value.