For a small project which involves computing tile coordinates for OpenStreetMap, I need a Math.sinh(Double) or Math.exp(Double) method to do conversion between Latitude and OSM tile coordinates.
Toolbox.Math does not offer either of these. Also implementing did not look as easy as I hoped, so I am wondering if anyone already solved a similar thing somewhere?
Alternatively I could do a lookup into a table, but this requires an array with a few thousand Double numbers, which quickly blows up memory usage and leads to spurious crashes, so also does not seem to be a viable option.
Any other ideas how to do a lookup-table for 16384 different input-values?