public class LineFunction2D extends Object implements Function2D
| Constructor and Description |
|---|
LineFunction2D(double a,
double b)
Constructs a new line function.
|
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.