bezierCurve
Bézier curve evaluation
Syntax
bezierCurve(controlPoints, t)
bspline
B-spline curve evaluation
Syntax
bspline(controlPoints, degree, t)
bsplineEval
Evaluate a fitted B-spline (de Boor's algorithm) at a point or array of points
Syntax
bsplineEval(spline, xnew)
bsplineFit
Fit a B-spline to data (tck tuple): interpolation (s=0) or least-squares smoothing (s>0)
Syntax
bsplineFit(xs, ys[, opts])
chebyshevApprox
Chebyshev polynomial approximation
Syntax
chebyshevApprox(f, a, b, n)
chebyshevFit
Least-squares fit in the Chebyshev-T basis → coefficient array (WASM from 1024)
Syntax
chebyshevFit(xs, ys, degree)
AccelWASM
cspline
Cubic spline (numeric layer)
cubicSpline
Natural cubic spline → evaluator
Syntax
cubicSpline(xs, ys)
curvefit
Nonlinear curve fitting
Syntax
curvefit(xs, ys, model, p0)
expfit
Exponential fit a·exp(b·x)
griddata
Scattered-data interpolation to a grid
Syntax
griddata(xs, ys, values, xi, yi)
hermiteInterp
Hermite interpolation
Syntax
hermiteInterp(xs, ys, dys, x)
interpn
Regular-grid N-D multilinear interpolation (scipy.interpolate.interpn)
Syntax
interpn(grids, values, query)
interpolate
General interpolation dispatcher
Syntax
interpolate(xs, ys, x[, method])
lagrangeInterp
Lagrange polynomial interpolation
Syntax
lagrangeInterp(xs, ys, x)
legendreFit
Least-squares fit in the Legendre-P basis → coefficient array (WASM from 1024)
Syntax
legendreFit(xs, ys, degree)
AccelWASM
linearInterp
Piecewise linear interpolation
Syntax
linearInterp(xs, ys, x)
loess
LOESS local regression
Syntax
loess(xs, ys, x[, bandwidth])
newtonInterp
Newton divided-difference polynomial interpolation; throws on duplicate nodes
Syntax
newtonInterp(xs, ys, x)
padeApproximant
Padé approximant
Syntax
padeApproximant(coeffs, m, n)
pchip
Shape-preserving PCHIP at query x
pchipInterp
Shape-preserving PCHIP at query x
Syntax
pchipInterp(xs, ys, x)
polyFit
Least-squares polynomial fit (WASM poly_fit_f64 from 1024 after loadWasm())
Syntax
polyFit(xs, ys, degree)
AccelWASM
rbfInterpolate
Radial basis function interpolation
Syntax
rbfInterpolate(centers, values, query)