Shape-preserving piecewise rational cubic interpolation implementing the Delbourgo-Gregory algorithm. Version 1.0.0, requires Python 3.9+.
pip install piecewise-rationalNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Create a piecewise rational interpolant from x,y points and evaluate at a single point.
Sort your x,y arrays before passing to PiecewiseRational: x, y = zip(*sorted(zip(x, y)))
Explicitly set monotonic=False if you need the old behavior.
No dependency data recorded yet.