Re: Re: [Axiom-developer] Changing a variable type?

Themos Tsikas <[email protected]>
Newsgroups gmane.comp.mathematics.axiom.user
Organization NAG Ltd
Message-ID <[email protected]>
On Thursday 24 May 2007 08:46, Alasdair McAndrew wrote:

> Currently u is 3%C^2  + 2%C + 4, but I want to turn it into 3x^2+2x+4 over
> PF p.

Use the coordinates function to get the coefficients and then compose the 
polynomial?


(90) -> u

            3
   (90)  3%A  + 4%A + 6
     Type: FiniteFieldExtensionByPolynomial(PrimeField 7,?**4+?**3+?*?+4*?+1)
(91) -> coordinates u

   (91)  [6,4,0,3]
                                                    Type: Vector PrimeField 7

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.