This has cut my computation time to a hundredth of that it was, thanks. On Wednesday, 22 May 2013 01:10:40 UTC-4, Jeroen Demeyer wrote: > > On 05/22/2013 12:24 AM, Michael Orlitzky wrote: > > Singular (included in sage) has a library that can quickly count the > > number of real roots in an interval: > > > > http://mate.dm.uba.ar/~alidick/etobis/rrc.pdf > > > > I don't see an easy way to interface with it, but you could probably > > come up with something based on other code that uses singular. > > > > This seems to do what you want: > > > > sturmha(p, 0, maxabs(p)) > > > > Same for PARI, where the function is called polsturm(). > > gp> ?polsturm() > polsturm(pol,{a},{b}): number of real roots of the squarefree polynomial > pol in the interval ]a,b] (which are respectively taken to be -oo or +oo > when omitted). > >
-- 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 http://groups.google.com/group/sage-support?hl=en. For more options, visit https://groups.google.com/groups/opt_out.