bundles / scipy latest / scipy / interpolate / _fitpack_repro / fprati
function
scipy.interpolate._fitpack_repro:fprati
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