Re: [sage-support] Define function in GF(q)

2012-04-06 Thread Artur ZieliƄski
Hi, Thank You very much for the answer. If I'll have more troubles may I write to You? I wish you a very happy Easter! Best regards, Artur Zielinski 2012/4/7 Maarten Derickx > I'll give you a small example so hopefully you can figure out the rest. > > The following code first defines the fu

[sage-support] Define function in GF(q)

2012-04-06 Thread Maarten Derickx
I'll give you a small example so hopefully you can figure out the rest. The following code first defines the function custom_divide and then prints all possible values of that function together with the input. You could also add the values to a list or a set to process them later. def custom_d

Re: [sage-support] Define function in GF(q)

2012-04-06 Thread Justin C. Walker
On Apr 6, 2012, at 06:54 , ArturZ wrote: > First of all I say that these are my first steps in SAGE. Welcome to Sage. Enjoy the ride! > I want to define a function f(x,y), where x,y in GF(q), q=2^3 and next > check all possible values of this function (for all x,y in GF(q)). Details > about