swestrup: (Default)
I hate the damn things. I know just enough number theory that I know when one would be useful, and then I take forever to calculate one. And Mathematica was of little help. I had to scour some web sites to determine that it uses a weird variant of its Solve function for linear congruence relations.

Here I was trying to get it to Solve[ Mod[17 a, 10000] == b, a ], which is the normal syntax (and which doesn't work) and it turns out I need to say Solve[ 17 a == b && Modulus == 10000, a], a fact which is not mentioned in the reference for EITHER Solve or Mod.
swestrup: (Default)
It seems that my body has decided that while I'm recovering from the nasty sickness that now seems to have zotted [livejournal.com profile] azrhey I'm going to be somewhat narcoleptic. I collapsed around 6:00 pm last night while reading my Mathematica book, and woke up at 8:00 am this morning.

Other than that, I don't have much to report. I suppose I should get to work.
swestrup: (Default)
Just coughed myself awake after only 4 hours sleep. Had to tell [livejournal.com profile] _sps_ that I still too sick to go see X2. It sucks to be me.

One small good thing is that the copy of the Mathematica manual that I ordered arrived yesterday. 1400+ pages. I guess Math is a big subject. The first two features I looked for (graphing of relations and calculations with signifigant digits) are not directly supported, although it looks like they are each only a day or so's work to add in since there are very closely related features in there already.
swestrup: (Default)
So, a few weeks ago I acquired a copy of Mathematica, and I've been taking the occasional free moment now and then to try and figure out if its as nifty as folks say. I'm beginning to think it is. Yesterday I managed to update the WorldPlot module with the necessary transformations to plot Eckert IV Equal Area maps. Its extra nifty when you realize the transformations are non-analytic. Anyway, I can now get an Eckert map of the world in about 9 seconds of compute.

The reason this is important to me is that I've drawn all my RPG world maps in Eckert format and had no idea how to transform them into a globe or some other view. Now I'm fairly confident that I can write something that does the reverse transforms (which thankfully ARE analytic) and then reproject my world in any desired map format. Oh, and I'm sure I can get that 8 second delay down below 1/4 second. After all there is NO evidence that the WorldPlot routines were written with speed in mind.

January 2017



RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 23rd, 2017 12:33 am
Powered by Dreamwidth Studios