Dear Kashyap,

On Sat, Mar 28, 2015 at 11:35:53AM +0530, Dr. Kashyap Rajeevsarathy wrote:
> How do we make GAP display the irrational roots of a single-variable
> polynomial that has only real roots? The functions "RootsOfPolynomial" and
> "RootsOfUPol" display only the rational roots as a list, and using the
> string "split" doesn't help either.

you can use factorisation over a field to find roots in this field.
E.g.
gap> x:=Indeterminate(Rationals);;
gap> Factors(PolynomialRing(CF(3)),x^12-1);


HTH,
Dima


_______________________________________________
Forum mailing list
Forum@mail.gap-system.org
http://mail.gap-system.org/mailman/listinfo/forum

Reply via email to