| java.lang.Object org.jfree.data.function.LineFunction2D
LineFunction2D | public class LineFunction2D implements Function2D(Code) | | A function in the form y = a + bx.
|
Constructor Summary | |
public | LineFunction2D(double a, double b) Constructs a new line function. |
Method Summary | |
public double | getValue(double x) Returns the function value.
Parameters: x - the x-value. |
LineFunction2D | public LineFunction2D(double a, double b)(Code) | | Constructs a new line function.
Parameters: a - the intercept. Parameters: b - the slope. |
getValue | public double getValue(double x)(Code) | | Returns the function value.
Parameters: x - the x-value. The value. |
|
|