poly_interp

Crates.iopoly_interp
lib.rspoly_interp
version1.0.0-beta.1
created_at2025-05-29 22:40:25.202093+00
updated_at2025-06-02 10:09:27.410455+00
descriptionA simple but powerful polynomial library focused on interpolation between points.
homepagehttp://rrtk.org/crate/poly_interp
repositoryhttps://github.com/UxuginPython/poly_interp
max_upload_size
id1694477
size24,757
(UxuginPython)

documentation

README

poly_interp

A simple but powerful polynomial library focused on interpolation between points. Works with both standard polynomials and parametric curves. Mostly no_std although a dynamic allocator is required. Based on the f64 number type. BSD licensed.

Features

  • Construct polynomials from coefficients or zeros.
  • Interpolate polynomials of least degree between points.
  • Solve for derivatives and integrals of polynomials.
  • Add, subtract, and multiply polynomials.
  • Use Newton's method of iteratively finding roots of functions generically or with the included types.
  • Construct polynomial parametric curves from (x, y, t) points that they pass through.
    • Convert between t and distance along the curve (std-only).
Commit count: 51

cargo fmt