Richard Jackson wrote:
A handy set of functions.
The worksheet could use an example or two though Image may be NSFW.
Clik here to view.
You are right. The routines basically stem from this thread
where it was used in the context of a specific problem.