public class InterpolateFunction
extends java.lang.Object
| Constructor and Description |
|---|
InterpolateFunction() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
extrapolatesHigh()
Returns true if it will extrapolate in the high direction.
|
static boolean |
extrapolatesLow()
Returns true if it will extrapolate in the low direction.
|
double |
interpolate(double xin)
Returns interpolated value using previously stored coordinates.
|
static double |
interpolate(double xin,
int nuords,
double[] xary,
double[] yary)
Returns interpolated value for input xin using nuords coordinate pairs of xary and yary.
|
static double |
interpolate(double xin,
int nuords,
double[] xary,
double[] yary,
boolean extrapLow,
boolean extrapHi)
Returns interpolated value for input xin using nuords coordinate pairs of xary and yary.
|
static float |
interpolate(float xin,
int nuords,
float[] xary,
float[] yary)
Returns interpolated value for input xin using nuords coordinate pairs of xary and yary.
|
static void |
main(java.lang.String[] args) |
void |
setArrays(int nv,
double[] x,
double[] y)
Set arrays for instance processing.
|
static void |
SetExtrapolateHigh(boolean extrap)
Set flag for extrapolation high.
|
static void |
SetExtrapolateLow(boolean extrap)
Set flag for extrapolation low.
|
public static void SetExtrapolateLow(boolean extrap)
public static void SetExtrapolateHigh(boolean extrap)
public static boolean extrapolatesLow()
public static boolean extrapolatesHigh()
public static double interpolate(double xin,
int nuords,
double[] xary,
double[] yary,
boolean extrapLow,
boolean extrapHi)
public static double interpolate(double xin,
int nuords,
double[] xary,
double[] yary)
public static float interpolate(float xin,
int nuords,
float[] xary,
float[] yary)
public void setArrays(int nv,
double[] x,
double[] y)
public double interpolate(double xin)
public static void main(java.lang.String[] args)