Public Member Functions | |
NonUniformInterpolation (double[] invals, double[] outvals) | |
double | interpolate (double val) |
Static Public Member Functions | |
static void | main (String[] args) |
Package Attributes | |
double[] | samples |
double[] | values |
A class to return the linear interpolated value in a non-equally sampled range
Definition at line 10 of file NonUniformInterpolation.java.
theba.core.math.NonUniformInterpolation.NonUniformInterpolation | ( | double[] | invals, | |
double[] | outvals | |||
) |
invals | an _increasing_ array indicating where on a positive linear line the samples are taken | |
outval | An array indicating the sampled value at corresponding sample-positions |
Definition at line 24 of file NonUniformInterpolation.java.
References theba.core.math.NonUniformInterpolation.samples, and theba.core.math.NonUniformInterpolation.values.
Referenced by theba.core.math.NonUniformInterpolation.main().
double theba.core.math.NonUniformInterpolation.interpolate | ( | double | val | ) |
val |
Definition at line 36 of file NonUniformInterpolation.java.
References theba.core.math.NonUniformInterpolation.samples, and theba.core.math.NonUniformInterpolation.values.
Referenced by theba.core.math.NonUniformInterpolation.main(), and theba.descriptors.AvgCurvature.measure().
static void theba.core.math.NonUniformInterpolation.main | ( | String[] | args | ) | [static] |
This is a simple test-routine as well as an example on usage
args |
Definition at line 64 of file NonUniformInterpolation.java.
References theba.core.math.NonUniformInterpolation.interpolate(), and theba.core.math.NonUniformInterpolation.NonUniformInterpolation().
double [] theba.core.math.NonUniformInterpolation.samples [package] |
Definition at line 12 of file NonUniformInterpolation.java.
Referenced by theba.core.math.NonUniformInterpolation.interpolate(), and theba.core.math.NonUniformInterpolation.NonUniformInterpolation().
double [] theba.core.math.NonUniformInterpolation.values [package] |
Definition at line 14 of file NonUniformInterpolation.java.
Referenced by theba.core.math.NonUniformInterpolation.interpolate(), and theba.core.math.NonUniformInterpolation.NonUniformInterpolation().