This project has moved and is read-only. For the latest updates, please go here.

Step function/interpolator

Jul 16, 2014 at 1:33 PM
I implemented a piece wise constant interpolator. would you like to have it?
Jul 20, 2014 at 2:09 PM
Great, thanks! I've cherry-picked the step but also the log-linear and transformed intepolators to mainline.

Marked as answer by cdrnet on 7/20/2014 at 9:42 AM
Jul 23, 2014 at 4:02 PM

I am not sure if you saw my alternative implementation of LeftBracketIndex which uses Array.BinarySearch. I'd recommend adopting it at other places.

Jul 24, 2014 at 12:58 PM
I've just adopted it to the splines in mainline, although with a small modification to limit it to an actual full segment (to extrapolate from at the borders).