Messy math with map() and pow()

I read about your MultiMap function when I was reading this old thread today. It's where I got the pow() idea from.

To be honest I could not quite wrap my head around it, but let me hazard a guess.
I make an array with values corresponding to the X-axis and a similar array for the Y-axis, and MultiMap will use this to calculate all other points between the given values, even though they may not be linear?