public class LinearInterpolator implements Interpolator
Interpolates values between the given data points using straight lines.
| Modifier and Type | Class and Description |
|---|---|
static class |
LinearInterpolator.Factory |
| Modifier and Type | Field and Description |
|---|---|
static LinearInterpolator.Factory |
Factory |
| Constructor and Description |
|---|
LinearInterpolator(double[] xs,
double[] ys)
Interpolates values between the given data points using straight lines.
|
| Modifier and Type | Method and Description |
|---|---|
double |
interpolate(double x) |
interpolatepublic static LinearInterpolator.Factory Factory