#r = Ring( "Rat(B,S,T,Z,P,W) L" ); #print "Ring: " + str(r); #print; k = Katsura(knum) r = Ring(k.varList("Rat", "G")) print "Ring: " + str(r) print ps = k.polyList() f = Ideal(r, ps) print "Ideal: " + str(f) print rg = f.parGB(tnum) for th in range(tnum, 0, -1): rg = f.parGB(th) #print "par Output:", rg; #print; rg = f.GB() #print "seq Output:", rg; print # rg = f.distGB(2); #print "dist Output:", rg; #print; #f.distClient();
#rg = f.GB(); #print "seq Output:", rg; #print; #rgm = rg.toInteger().toModular(mf); #print "seq Output:", rgm; #print; #e = rm == rgm; #print "e = " + str(e); sys.exit(); #for i in range(1,9): for i in range(1,3): rg = f.parGB(i); #print "par Output:", rg; #print; rg = f.parOldGB(i); #print "par-old Output:", rg; #print; #f.distClient(); # starts in background #rg = f.distGB(i); #print "dist Output:", rg; #print; #sys.exit();
#r = Ring( "Rat(B,S,T,Z,P,W) L" ); #print "Ring: " + str(r); #print; k = Katsura(knum); r = Ring( k.varList("Rat","G") ); print "Ring: " + str(r); print; ps = k.polyList(); f = Ideal( r, ps ); print "Ideal: " + str(f); print; rg = f.parGB(tnum); for th in range(tnum,0,-1): rg = f.parGB(th); #print "par Output:", rg; #print; rg = f.GB(); #print "seq Output:", rg; print; # rg = f.distGB(2); #print "dist Output:", rg; #print; #f.distClient();
#print "seq Output:", rm; #print; #rg = f.GB(); #print "seq Output:", rg; #print; #rgm = rg.toInteger().toModular(mf); #print "seq Output:", rgm; #print; #e = rm == rgm; #print "e = " + str(e); #sys.exit(); for i in range(1, 9): rg = f.parGB(i) #print "par Output:", rg; #print; rg = f.parOldGB(i) #print "par-old Output:", rg; #print; #f.distClient(); # starts in background #rg = f.distGB(i); #print "dist Output:", rg; #print; #sys.exit();
"""; f = Ideal( r, ps ); print "Ideal: " + str(f); print; #startLog(); rg = f.GB(); #print "seq Output:", rg; #print; #sys.exit(); rg = f.parNewGB(2); #print "par-new Output:", rg; #print; rg = f.parGB(2); #print "par Output:", rg; #print; f.distClient(); # starts in background rg = f.distGB(2); #print "dist Output:", rg; #print; sys.exit();
- 91/800 A46^2 U3^3 - 5887/200000 A46 U3^3 - 343/128000 U3^3 ) ) """; f = Ideal( r, ps ); print "Ideal: " + str(f); print; rg = f.GB(); #print "seq Output:", rg; #print; #sys.exit(); rg = f.parGB(2); #print "par Output:", rg; #print; rg = f.parOldGB(2); #print "par-old Output:", rg; #print; #f.distClient(); # starts in background #rg = f.distGB(2); #print "dist Output:", rg; #print; #sys.exit();