|
From: | Alasdair McAndrew |
Subject: | Re: [Axiom-mail] Re: [Axiom-developer] Changing a variable type? |
Date: | Thu, 24 May 2007 20:54:00 +1000 |
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.
________________________________________________________________________
_______________________________________________
Axiom-mail mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/axiom-mail
[Prev in Thread] | Current Thread | [Next in Thread] |