Class Overview
A function in the form y = a + bx.
Summary
Public Constructors |
|
LineFunction2D(double a, double b)
Constructs a new line function.
|
Public Methods |
double
|
getValue(double x)
Returns the function value.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
org.jfree.data.function.Function2D
abstract
double
|
getValue(double x)
Returns the value of the function ('y') for a given input ('x').
|
|
Public Constructors
public
LineFunction2D
(double a, double b)
Constructs a new line function.
Parameters
a
| the intercept. |
b
| the slope.
|
Public Methods
public
double
getValue
(double x)
Returns the function value.