HI! On Wed, Jul 04, 2001 at 10:19:12AM -0400, Wolfgang Abele wrote:
How can I set the coefficient domain of polynomials?
You can't.
Say, I want my coefficients to be in Z mod 17, i.e. Galois Field 17, what do I do?
You would have to manually adjust the coefficients after each operation. There's an smod() function in GiNaC for this, but this is a symmetric modulus.
In other words, it is less efficient to write polynomials routines in Normal.cpp (the polynomial module in GiNac) than directly work with the CLN classes?
Yes. GiNaC doesn't use CLN's polynomial type because we needed to work with a more general class of expressions. Bye, Christian -- / Coding on PowerPC and proud of it \/ http://www.uni-mainz.de/~bauec002/ - To UNSUBSCRIBE, email to ginac-list@ginac.de with a subject of "unsubscribe".