Skip to content
@go-approx

go-approx

go-approx

go-approx

🌐 Website · 📚 Documentation

Interpolation, splines and polynomials in pure Go (CGO=0), validated against SciPy and NumPy.

interp provides the interpolators of scipy.interpolate (1-D and N-D, cubic, PCHIP, Akima, B-splines, FITPACK smoothing splines) and poly the polynomial tools of NumPy (polyfit, roots, the numpy.polynomial bases). Both run SciPy and NumPy as oracles and compare to them value by value. Chebyshev and AAA rational approximation are planned.

s, _ := interp.NewCubicSpline(x, y, "not-a-knot")
v := s.At(2.5)

fit, _ := poly.Polyfit(x, y, 3, nil)
r, _ := poly.Roots(fit.Coef)

Repositories

Repo What it is Status
interp interpolation, splines and smoothing: interp1d, cubic, PCHIP, Akima, B-splines, FITPACK smoothing splines, regular-grid and tensor-product interpolation released v0.1.0
poly polynomials: evaluation, arithmetic, least-squares fits, roots, and the Chebyshev, Legendre, Hermite, HermiteE and Laguerre bases released v0.1.0
docs the documentation site (Hugo + Hextra), served at /docs/
go-approx.github.io the landing page (Hugo)
brand logo, icons and social images

Popular repositories Loading

  1. interp interp Public

    Interpolation, splines and smoothing in pure Go, validated against SciPy and NumPy

    Go

  2. poly poly Public

    Polynomials in pure Go: polyfit, roots, Chebyshev/Legendre/Hermite/Laguerre bases, validated against NumPy

    Go

  3. brand brand Public

    Official logos and brand assets for the go-approx organization

    Go

  4. .github .github Public

    Organisation profile, community defaults and Renovate preset for go-approx

    JavaScript

  5. go-approx.github.io go-approx.github.io Public

    The go-approx landing page

    HTML

  6. docs docs Public

    The go-approx documentation site (Hugo + Hextra)

    HTML

Repositories

Showing 6 of 6 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…