Package boofcv.alg.interpolate.array
Class PolynomialNeville_F32
- java.lang.Object
-
- boofcv.alg.interpolate.array.Interpolate1D_F32
-
- boofcv.alg.interpolate.array.PolynomialNeville_F32
-
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 Summary
Constructors Constructor Description PolynomialNeville_F32(int maxDegree)PolynomialNeville_F32(int maxDegree, float[] x, float[] y, int size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected floatcompute(float sample)This is where the specific implementation of the interpolation is done.-
Methods inherited from class boofcv.alg.interpolate.array.Interpolate1D_F32
bisectionSearch, changeDegree, hunt, process, process, setInput
-
-
-
-
Method Detail
-
compute
protected float compute(float sample)
Description copied from class:Interpolate1D_F32This is where the specific implementation of the interpolation is done. It should use points index0 to index0 + M - 1 in its interpolation- Specified by:
computein classInterpolate1D_F32- Parameters:
sample- Where the interpolated value is done at.- Returns:
- The interpolated value at sampleX.
-
-