First time here? Check out the FAQ!

Ask Your Question
0

Remove constant term

asked 9 years ago

santoshi gravatar image

p=5 K.=GF(p^2);K.modulus() R.<z>=PolynomialRing(K); f=(2*a+4).

from above equation i just want to remove constant term 4

Preview: (hide)

Comments

To display blocks of code, either indent them with 4 spaces, or select the corresponding lines and click the "code" button (the icon with '101 010'). Can you edit your question to do that?

To display inline code, surround it within "backticks" or "backquotes" `.

slelievre gravatar imageslelievre ( 9 years ago )

[EDIT] I misunderstood your question, and you get an answer on your other question.[/EDIT] Your question does not make sense to me: You define K as the finite field with 25 elements, and R as the polynomial ring in z over K. Then, you define f which has nothing to do with R or K since it is a symbolic expression depending on a variable a! Actually, the code as you write it does not even work since a is undeclared. But let's say it is declared somewhere as a symbolic variable. You can either write simply f-4 to get no constant coefficient, or f-f(a=0). If f where a polynomial of the polynomial ring R (say f=2*z+4), you could also do f - f.constant_coefficient().

B r u n o gravatar imageB r u n o ( 9 years ago )

1 Answer

Sort by » oldest newest most voted
0

answered 9 years ago

B r u n o gravatar image

See here

Preview: (hide)
link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 9 years ago

Seen: 364 times

Last updated: Apr 15 '16