Package org.sm.smtools.math
Class FunctionLookupTable
java.lang.Object
org.sm.smtools.math.FunctionLookupTable
The
FunctionLookupTable
class provides a raw container for storing a 1D function's (X,Y) values.
Note that this class cannot be subclassed!
- Version:
- 08/11/2012
- Author:
- Sven Maerivoet
-
Field Summary
-
Constructor Summary
ConstructorDescriptionConstructs an emptyFunctionLookupTable
object.FunctionLookupTable
(double[] x, double[] y) Constructs aFunctionLookupTable
object with specified inputs. -
Method Summary
-
Field Details
-
fX
public double[] fXThe x-values. -
fY
public double[] fYThe y-values.
-
-
Constructor Details
-
FunctionLookupTable
public FunctionLookupTable()Constructs an emptyFunctionLookupTable
object. -
FunctionLookupTable
public FunctionLookupTable(double[] x, double[] y) Constructs aFunctionLookupTable
object with specified inputs.- Parameters:
x
- the X-valuesy
- the Y-values
-
-
Method Details
-
reset
public void reset()Resets the function lookup table.
-