Max Alekseyev on Fri, 16 Feb 2024 17:11:44 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

conversion of t_FFELT to t_POL


Please take a look at this example:

? r = ffprimroot(ffgen([3,5]))
%1 = 2*x^4 + 2*x^3 + x^2 + x + 2
? type(r)
%2 = "t_FFELT"
? f = Pol(r)
%3 = 2*x^4 + 2*x^3 + x^2 + x + 2
? type(f)
%4 = "t_POL"
? print(f)
(2*x^4 + 2*x^3 + x^2 + x + 2)

Why are there parentheses around the polynomial f when it's printed?

Regards,
Max