Why can't you just take any arbitrary large degree polynomial and test? I am not getting you.
I am on a very slow computer. It will take me a long time to generate any example specifically relevant to me. That would involving running my rest of the code entirely. Isn't there a way for you to just randomly generate a 300 degree polynomial? On Sunday, May 10, 2015 at 12:09:56 PM UTC-5, William wrote: > > On Sun, May 10, 2015 at 10:07 AM, Phoenix <[email protected] > <javascript:>> wrote: > > > > The polynomial will be of integer coefficients always. > > k will be given as square-root of some integer. > > > > Does that help? > > Like I said, you should provide a concrete example for whoever > actually tries to answer your question (probably not me). Something > that a person can immediately use, e.g. a public sage worksheet or a > link to a sagecell would help even more: http://sagecell.sagemath.org/ > > William > > > > > > > > > On Sunday, May 10, 2015 at 10:57:43 AM UTC-5, William wrote: > >> > >> On Sun, May 10, 2015 at 8:43 AM, Phoenix <[email protected]> > wrote: > >> > I have a polynomial which is of degree ~500 and a number $k$. > >> > I want to check two properties, > >> > >> Your question is far too ambiguous. You should make available an > >> explicit example of a polynomial and a k that are want to try to do > >> this with. For example, this problem is completely different > >> depending o whether the coefficients of the polynomial are floating > >> point or say huge exact rational numbers, or maybe numbers in an > >> algebraic number field... > >> > >> > > >> > - That all the roots of this polynomial are real > >> > > >> > - That the largest root is below $k$. > >> > > >> > What is the fastest way to check this? > >> > > >> > -- > >> > 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 [email protected]. > >> > To post to this group, send email to [email protected]. > >> > Visit this group at http://groups.google.com/group/sage-support. > >> > For more options, visit https://groups.google.com/d/optout. > >> > >> > >> > >> -- > >> William (http://wstein.org) > > > > -- > > 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 [email protected] <javascript:>. > > To post to this group, send email to [email protected] > <javascript:>. > > Visit this group at http://groups.google.com/group/sage-support. > > For more options, visit https://groups.google.com/d/optout. > > > > -- > William (http://wstein.org) > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
