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
To
:
pari-users@pari.math.u-bordeaux.fr
Subject
: conversion of t_FFELT to t_POL
From
: Max Alekseyev <
maxale@gmail.com
>
Date
: Fri, 16 Feb 2024 11:11:03 -0500
Delivery-date
: Fri, 16 Feb 2024 17:11:44 +0100
Dkim-signature
: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708099899; x=1708704699; darn=pari.math.u-bordeaux.fr; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=1aZNMqBszVkD+mDzvcJ2khYJHB4WG9MH+9gmTUxGtO4=; b=USg2latLCnd61Pq2cjt/2CWgG4tYoRj3X8ZllKS/1NdSvgFeuOAWYbpB6EEqSjfybd OKT/iRMJKL2rAi5HpWgHNbOUflWVPbCP7VcJ7j/c1+UOm7hnHh8+y8sXODTkM/O4OIXg iMKTYQ5lh6f9+MEg4TO+mkrxMmGCpbdsBOzproCpIt9oibQL/o4hOT9qqeDZ4sc4o+5o RQxY5fubFyPx9l4hPSt+PFiPDY4hApnoz9QczMpKy/uD5WgK/Ziu/7Eho65nXgYjMUaD wnZuBBr51rc9e+aOMeb2UFGQlyeeCf1p1Smurp5JbVQBT1SfKhzvzdR9p+ptsDvYXbIs wicg==
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
Follow-Ups
:
Re: conversion of t_FFELT to t_POL
From:
Karim Belabas <Karim.Belabas@math.u-bordeaux.fr>
Prev by Date:
Re: [Collatz] how to best derive x and T^n(x) from a parity vector
Next by Date:
Re: conversion of t_FFELT to t_POL
Previous by thread:
Re: polcoef: domain error in polcoef: degree > 9999
Next by thread:
Re: conversion of t_FFELT to t_POL
Index(es):
Date
Thread