|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jfree.data.LineFunction2D
A function in the form y = a + bx.
Constructor Summary | |
LineFunction2D(double a,
double b)
Constructs a new line function. |
Method Summary | |
double |
getValue(double x)
Returns the function value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LineFunction2D(double a, double b)
a
- the intercept.b
- the slope.Method Detail |
public double getValue(double x)
getValue
in interface Function2D
x
- the x-value.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |