Hi.
Mathmap is a general transformation tool for images. It might take an already rendered pano, probably in eqvirectangular view, and then converts it to some projections of your choice. You write a script that do it for you.
The scripts look a but hairy, but it is probably just a small threshold for understanding what to do. One thing that sounds a bit scary is though that there is lots of talk about the tool crashing for your scripts.
There is a simpler, similar tool called
Panojector. https://github.com/vitroid/Panojector where you add actual code instead of a script.
There is also a similar commercial tool that is made for only do this kind of conversions called
Flexify. http://www.flamingpear.com/flexify-2.html In this case you cannot add any projections.