sloisel / numeric

Numerical analysis in Javascript

Home Page:http://www.numericjs.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reevaluate dopri for different events

tomlarkworthy opened this issue · comments

I am trying to bin an intergration. So I have some complicated function that needs to be calulated effeciently. I run dopri on it to some big t. Now I need to slice it according to bins in small delta x. So that would be lots of tiny steps (small t). It seems ineffecient making thousands of tiny dopri stopping criterion. Rather, I would like to use the existing big solution to step from a point, to another based on a criteria. Something like sol.step(<start t>, <criteria>) => [t, x]. Can I do this already? Am I too dense to figure it out?