public class PolynomialNeville_F32 extends Interpolate1D_F32
Neville's algorithm for polynomial interpolation and extrapolation. Neville's algorithm improves upon Lagrange's formula by avoiding repetitive calculations.
See Numerical Recipes Third Edition page 118.
| Constructor and Description |
|---|
PolynomialNeville_F32(int maxDegree) |
PolynomialNeville_F32(int maxDegree,
float[] x,
float[] y,
int size) |
| Modifier and Type | Method and Description |
|---|---|
protected float |
compute(float sample)
This is where the specific implementation of the interpolation is done.
|
bisectionSearch, changeDegree, hunt, process, process, setInputpublic PolynomialNeville_F32(int maxDegree)
public PolynomialNeville_F32(int maxDegree,
float[] x,
float[] y,
int size)
protected float compute(float sample)
Interpolate1D_F32compute in class Interpolate1D_F32sample - Where the interpolated value is done at.