Productivity
I have a feeling today is not going to be a highly productive one...
*later that day*
I was right.
I spent all day figuring out how to write a function to calculate the sub-coordinates for a 4 point natural cubic spline (A curve, wiki it if you don't know what the hell i'm talking about). I needed this to interpolate values in between coordinates so that I could find a true minimum for my data. Unfortunately, as I would have known had I been paying attention, since all my data points are evenly spaced, the minimum on the spline is.... the minimum data point.
Which means I spent all afternoon writing a function in which I gave it data and told it which one was the minimum, and it spends some time thinking, and then replies that the minimum is the minimum.
Fuck you Splines.
Oh, and if anyone knows a way of solving a non-linear system of four equations in four unknowns (Stochastic methods are fine), I would very much like to hear from you.
When did my job turn into math? I had to do Calculus today!! Calculus!

0 Comments:
Post a Comment
<< Home