The function lerp() is a common function in programming languages:
lerp(a, b, t) = a + t * (b - a).
Now for very many situatons I have an inverse function:
fraction(x, a, b) = (x - a) / (b - a).
This function is built so that
lerp(a, b, fraction(x, a, b)) == x
and
fraction(lerp(a, b, t), a, b) == t
However I'm not happy with the name "fraction". Is there a common name for this function?