bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / interpolate / _fitpack_repro / fprati
function
scipy.interpolate._fitpack_repro:fprati
source: build-install/usr/lib/python3.14/site-packages/scipy/interpolate/_fitpack_repro.py:790
Signature
def fprati(p1, f1, p2, f2, p3, f3)Summary
The root of r(p) = (u*p + v) / (p + w) given three points and values, (p1, f2), (p2, f2) and (p3, f3).
Extended Summary
The FITPACK analog adjusts the bounds, and we do not https://github.com/scipy/scipy/blob/maintenance/1.11.x/scipy/interpolate/fitpack/fprati.f
NB: FITPACK uses p < 0 to encode p=infinity. We just use the infinity itself. Since the bracket is p1 <= p2 <= p3, p3 can be infinite (in fact, this is what the minimizer starts with, p3=inf).
Aliases
scipy.interpolate._fitpack_repro.fprati