public class LinearInterpolatingDoubleArray
extends java.lang.Object
Constructor and Description |
---|
LinearInterpolatingDoubleArray() |
LinearInterpolatingDoubleArray(double[] mesh,
double[] values)
Constructs the interpolating Array.
|
public LinearInterpolatingDoubleArray()
public LinearInterpolatingDoubleArray(double[] mesh, double[] values)
mesh
- the mesh with the gridding of the valuesvalues
- the values at each mesh point.public double[] getValues()
public double[] getMesh()
public double getValue(double meshPoint)
meshPoint
- the value to interpolate atpublic int size()
public void setMap(double[] mesh, double[] values)