Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #4859

PolynomialMod

From Artur <grafix@csl.pl>
Newsgroups comp.soft-sys.math.mathematica
Subject PolynomialMod
Date 2011-09-11 11:30 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j4i65f$bv1$1@smc.vnet.net> (permalink)

Show all headers | View raw


Dear Mathematica Gurus,

Who is able help me to write Mathematica procedure which will be 
improovment of recent PolynomialMod.

If we do
PolynomialMod[ 1 + 3 #1 + 5 #1^2 + 5 #1^3 + 5 #1^4 + 3 #1^5 + #1^6, -1 + 
2 #1^2 + #1^3]
result is OK
1 + 6 #1 + 6 #1^2

But if we do
PolynomialMod[1 + 3 #1 + 5 #1^2 + 5 #1^3 + 5 #1^4 + 3 #1^5 + #1^6, -1 + 
(-(3/2) - (I Sqrt[23])/2) #1 + (3/2 - (I Sqrt[23])/2) #1^2 + #1^3]
Result is wrong
good should be
-2 + (-(1/2) - (I Sqrt[23])/2) x + x^2

Who is able to write good one procedure e.g. PolMod to automatic 
reduction of any degree polynomials by polynomial smaller degree?

Best wishes
Artur Jasinskii

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

PolynomialMod Artur <grafix@csl.pl> - 2011-09-11 11:30 +0000

csiph-web