I am ashamed to have to ask such questions, since all this was covered in my math classes (but 10 years ago) and I hate to have become such a dumb blockhead after multiple years of j2ee development, but…
Say there is a train at point p0 travelling at speed v0 (which might be 0!) and has to reach a point p1 in constant time T. How would I compute the minimum needed acceleration ac and deceleration dc to reach p1 in exactly T with the constraints that ac <= dc and min(|ac|+|dc|). Any pointers on how to solve such problems (fast)?
And for alternative ideas: the real problem is, that I have to smooth abruptly changing input values to produce a smooth 2d-curve y’ over t where y is only accessible locally at t (I can’t query t+n, but could perhaps cache some t-n).