axiom-developer
[Top][All Lists]
Advanced

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

[Axiom-developer] Changing a variable type?


From: Alasdair McAndrew
Subject: [Axiom-developer] Changing a variable type?
Date: Wed, 23 May 2007 23:50:52 +1000

In experimenting with the Chor-Rivest knapsack cryptosystem, I have the problem of adding two polynomials: one is the defining polynomial of the field, and the other is a field element.

But the command

definingPolynomial()$F+u

produces the error

 >> Error detected within library code:
   coerce: element doesn't belong to smaller field

which I don't understand.  What I need to do is to force u to be treated as an "ordinary" polynomial, rather than as a field element...

-Alasdair

reply via email to

[Prev in Thread] Current Thread [Next in Thread]