org.jfree.data.function
public class LineFunction2D extends Object implements Function2D
Constructor Summary | |
---|---|
LineFunction2D(double a, double b)
Constructs a new line function.
|
Method Summary | |
---|---|
double | getValue(double x)
Returns the function value.
|
Parameters: a the intercept. b the slope.
Parameters: x the x-value.
Returns: The value.