interpfib

emlib.mathlib.interpfib(x, x0, y0, x1, y1)[source]

Fibonacci interpolation

Interpolate between (x0, y0) and (x1, y1) at x with fibonacci interpolation

It is assured that if x is equidistant to x0 and x1, then for the result y it should be true that:

y1 / y == y / y0 == ~0.618
Return type:

float