Compute the inverse function of a transformation g
based on a grid search.
Arguments
- g
the transformation function
- t_grid
grid of arguments at which to evaluate the transformation function
Value
A function which can be used for evaluations of the
(approximate) inverse transformation function.