The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
Using the results of function GF?
10-27-2018, 04:14 PM (This post was last modified: 10-28-2018 07:21 AM by leo3065.)
Post: #1
Using the results of function GF?
Currently I'm writing a program which need some operation in Galois field, but I can't find a way to further to use the result of the calculation. So I have some calculations like this:

Code:
g:=GF(2,8,[x,g,a])
--->
GF(2,x^8-x^5-x^3-x-1,[x,g,a],undef)

g(x)
--->
a

g(x^10)
--->
a^7+a^5+a^3+a^2

g(x^10)+g(x^2)
--->
a^7+a^5+a^3

So far so good, but how can I turn things like the result of g(x^10)+g(x^2) into regular polynomials like x^7+x^5+x^3? Doing subst(g(x^10)+g(x^2),a,x) didn't work...
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Using the results of function GF? - leo3065 - 10-27-2018 04:14 PM



User(s) browsing this thread: 2 Guest(s)