Given a pair of vectors y and x, where y is a (well-defined) function of x, this function will return the subsets of y and x where y = f(x) is an injective (i.e., one-to-one) function. In these subsets, x is a function of y.
This is equivalent to finding the intersections of the Reimann surfaces of the inverse function, x = g(y), with the real line.
The sets returned are inclusive of the endpoints.
Fixed output variables