public class LineFunction2D extends java.lang.Object implements Function2D
| Constructor and Description |
|---|
LineFunction2D(double a,
double b)
Constructs a new line function.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getValue(double x)
Returns the function value.
|
public LineFunction2D(double a, double b)
a - the intercept.b - the slope.public double getValue(double x)
getValue in interface Function2Dx - the x-value.Copyright © 2000-2009 by Object Refinery Limited. All Rights Reserved.