On 2018-03-15, Dima Pasechnik <dimp...@gmail.com> wrote: > it could be a different function, which potentially would run much longer, > by repetitive splitting of the interval > (I guess that's what Mathematica is doing)
I have toyed with the idea of repurposing whatever adaptive splitting code is in the plotting functions to finding initial intervals for the 1-d numerical root finder. There is a similar need in the plotting code to try to assess the wiggles of the function in order to judge if the plot is smooth enough. In any event, reusing the plotting code's splitting algorithm would at least mean that a multi-root finder would find the same roots as a human inspecting a plot and calling the root finder accordingly. (I'm guessing that look at plot + call root finder is the most common heuristic; I don't really have any evidence for that.) Maxima, which I'm familiar with, has its own plotting code, dunno about Sage, in any event just reusing the splitting algorithm isn't any big deal. best, Robert Dodier -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.