CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

| Download

GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it

Views: 418346
1
\\ compute basis of maximal order
2
b = nfbasis( f );
3
4
p2v(n,b)=vector(n,j,polcoeff(b,j-1));
5
6
\\ print result
7
print("[ ");
8
for(i=1,#b, print(p2v(#b,b[i]),","));
9
print("];");
10
11
12