public interface Interpolation
Modifier and Type | Method and Description |
---|---|
double[] |
interpolate(double[] x,
double[] y,
int nSamples)
Returns a set of interpolated y, equally spaced.
|
double[] interpolate(double[] x, double[] y, int nSamples)
x
- an array of position value, assumed to be monotonically increasingy
- an array of values, assumed to be the same length of xnSamples
- the number of samples to be returnedCopyright © 2010–2015. All rights reserved.