Skip to content

Instantly share code, notes, and snippets.

@lengyijun
Created October 25, 2017 02:32
Show Gist options
  • Save lengyijun/4a742e0490037cffe8208c146a57c6a5 to your computer and use it in GitHub Desktop.
Save lengyijun/4a742e0490037cffe8208c146a57c6a5 to your computer and use it in GitHub Desktop.
magma 域上的遍历
clear;
q:=19;
Fq:=GF(q);
Fq2<i>:=ExtensionField<Fq,x|x^2+1>;
#Fq2;
for j in Set(Fq2) do
j;
j^(#Fq2-1);
end for;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment