Changeset 034ce1 in git
- Timestamp:
- May 12, 2000, 2:25:47 PM (23 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'cdfcdb8287f66bc6070028082cbbc6eff10e609b')
- Children:
- 7bb71fad3a9d45a2e30c8458373b89a01eecf500
- Parents:
- 73d7b5cf051d2bb349542039ed3ac2b513f7c109
- Location:
- Singular/LIB
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/ainvar.lib
r73d7b5 r034ce1 1 // $Id: ainvar.lib,v 1. 1 1999-12-13 15:53:37 obachmanExp $1 // $Id: ainvar.lib,v 1.2 2000-05-12 12:25:40 Singular Exp $ 2 2 ///////////////////////////////////////////////////////////////////////////// 3 3 4 version="$Id: ainvar.lib,v 1. 1 1999-12-13 15:53:37 obachmanExp $";4 version="$Id: ainvar.lib,v 1.2 2000-05-12 12:25:40 Singular Exp $"; 5 5 info=" 6 6 LIBRARY: ainvar.lib PROCEDURES FOR COMPUTING INVARIANTS RINGS OF THE ADDITIVE GROUP … … 107 107 108 108 //changes the basering bsr to bsr[@t] 109 execute "ring s="+charstr(basering)+",("+varstr(basering)+",@t),dp;";109 execute("ring s="+charstr(basering)+",("+varstr(basering)+",@t),dp;"); 110 110 poly inv,delta,tee,j; 111 111 ideal id=imap(bsr,id); … … 216 216 217 217 //------------- changes the basering bsr to bsr[@(0),...,@(z)] ---------- 218 execute "ring s="+charstr(basering)+",("+varstr(basering)+",@(0..z)),dp;";218 execute("ring s="+charstr(basering)+",("+varstr(basering)+",@(0..z)),dp;"); 219 219 // Ev hier die Reihenfolge der Vars aendern. Dazu muss unten aber entsprechend 220 220 // geaendert werden: 221 // execute "ring s="+charstr(basering)+",(@(0..z),"+varstr(basering)+"),dp;";221 // execute("ring s="+charstr(basering)+",(@(0..z),"+varstr(basering)+"),dp;"); 222 222 223 223 //constructs the leading ideal of dom=(p-@(0),dom[1]-@(1),...,dom[z]-@(z)) -
Singular/LIB/algebra.lib
r73d7b5 r034ce1 1 1 /////////////////////////////////////////////////////////////////////////////// 2 version="$Id: algebra.lib,v 1. 4 1999-08-05 10:53:29 obachmanExp $";2 version="$Id: algebra.lib,v 1.5 2000-05-12 12:25:41 Singular Exp $"; 3 3 info=" 4 4 LIBRARY: algebra.lib PROCEDURES FOR COMPUTING WITH ALGBRAS AND MAPS … … 584 584 string mp=string(minpoly); 585 585 // ------------ create new ring with extra variables --------------------- 586 execute ("ring R=("+charstr(br)+"),(x(1..n),y(1..m)),(dp(n),dp(m));");586 execute ("ring R=("+charstr(br)+"),(x(1..n),y(1..m)),(dp(n),dp(m));"); 587 587 execute ("minpoly=number("+mp+");"); 588 588 ideal vars = x(1..n); … … 655 655 string mp=string(minpoly); 656 656 // ------------ create new ring with extra variables --------------------- 657 execute ("ring R=("+charstr(br)+"),(x(1..n),y(1..m)),(dp(n),dp(m));");657 execute ("ring R=("+charstr(br)+"),(x(1..n),y(1..m)),(dp(n),dp(m));"); 658 658 execute ("minpoly=number("+mp+");"); 659 659 ideal vars = x(1..n); -
Singular/LIB/classify.lib
r73d7b5 r034ce1 1 e// $Id: classify.lib,v 1.4 1 2000-05-05 18:40:29 obachmanExp $1 e// $Id: classify.lib,v 1.42 2000-05-12 12:25:41 Singular Exp $ 2 2 // KK, last modified: 04.04.1998 3 3 /////////////////////////////////////////////////////////////////////////////// 4 4 5 version = "$Id: classify.lib,v 1.4 1 2000-05-05 18:40:29 obachmanExp $";5 version = "$Id: classify.lib,v 1.42 2000-05-12 12:25:41 Singular Exp $"; 6 6 info=" 7 7 LIBRARY: classify.lib Procedures for the Arnold-Classifier of Singularities … … 2368 2368 S = "f = ", Tp, ";"; 2369 2369 debug_log(2,"S=", S, " Tp=", Tp, "Key=", Key); 2370 execute S;2371 execute read(dbmLink, Key)+";";2370 execute(S); 2371 execute(read(dbmLink, Key)+";"); 2372 2372 debug_log(1, "Polynom f=", f, " crk=", crk, " Mu=", Mu, 2373 2373 " MlnCd=", MlnCd); … … 2486 2486 if( s != "" && defined(@DeBug)==0) { 2487 2487 s="newDebug="+s; 2488 execute s;2488 execute(s); 2489 2489 } 2490 2490 } … … 2658 2658 def ring_save=basering; 2659 2659 2660 execute @ringdisplay;2660 execute(@ringdisplay); 2661 2661 map showpoly=ring_save,maxideal(1); 2662 2662 s = string(showpoly(g)); … … 2708 2708 debug_log(8, " Number of columns: 0"); 2709 2709 s2 = "k = "+s1+";"; 2710 execute s2;2710 execute(s2); 2711 2711 if( (Typ=="A[") || (Typ=="D[") ) { s3 = "k"; } 2712 2712 if( Typ == "E[") { t = 6; } … … 2743 2743 b = find(s1, ","); 2744 2744 s2 = "k = ",s1[1..b-1],";"; 2745 execute s2;2745 execute(s2); 2746 2746 s1 = s1[b+1..size(s1)]; 2747 2747 if(find(s1, ",") == 0) { 2748 2748 debug_log(8, " Number of columns 1"); 2749 2749 s2 = "r = "+s1+";"; 2750 execute s2;2750 execute(s2); 2751 2751 s4 = "r"; 2752 2752 s3 = "k"; … … 2768 2768 b = find(s1, ","); 2769 2769 s2 = "r = ",s1[1..b-1],";"; 2770 execute s2;2770 execute(s2); 2771 2771 s2 = "s = ",s1[b+1..size(s1)],";"; 2772 execute s2;2772 execute(s2); 2773 2773 if(Typ=="Y[") { s2 = "Y[k,r,s]"; } 2774 2774 if(Typ=="Z[") { s2 = "Z[k,r,s]"; } -
Singular/LIB/deform.lib
r73d7b5 r034ce1 1 // $Id: deform.lib,v 1.2 0 2000-05-12 12:20:25 krueger Exp $1 // $Id: deform.lib,v 1.21 2000-05-12 12:25:42 Singular Exp $ 2 2 // author: Bernd Martin email: martin@math.tu-cottbus.de 3 3 //(bm, last modified 4/98) 4 4 /////////////////////////////////////////////////////////////////////////////// 5 version="$Id: deform.lib,v 1.2 0 2000-05-12 12:20:25 krueger Exp $";5 version="$Id: deform.lib,v 1.21 2000-05-12 12:25:42 Singular Exp $"; 6 6 info=" 7 7 LIBRARY: deform.lib PROCEDURES FOR COMPUTING MINIVERSAL DEFORMATION … … 660 660 string my_Ox = my+"Ox"; 661 661 string my_So = my+"So"; 662 extendring(my_Px,e1,my_var,my_ord);662 extendring(my_Px,e1,my_var,my_ord); 663 663 ideal Io = imap(Po,Io); attrib(Io,"isSB",1); 664 664 my ="qring "+my_Qx+" = Io; export("+my_Qx+");"; 665 execute(my);665 execute(my); 666 666 if (switch) 667 667 { -
Singular/LIB/factor.lib
r73d7b5 r034ce1 1 // $Id: factor.lib,v 1. 6 1998-05-14 18:44:59Singular Exp $1 // $Id: factor.lib,v 1.7 2000-05-12 12:25:43 Singular Exp $ 2 2 //(RS) 3 3 /////////////////////////////////////////////////////////////////////////////// 4 4 5 version="$Id: factor.lib,v 1. 6 1998-05-14 18:44:59Singular Exp $";5 version="$Id: factor.lib,v 1.7 2000-05-12 12:25:43 Singular Exp $"; 6 6 info=" 7 7 LIBRARY: factor.lib PROCEDURES FOR CALLING THE REDUCE FACTORIZER … … 73 73 { 74 74 resultstring = delete_dollar( resultstring ); 75 execute resultstring;75 execute(resultstring); 76 76 } 77 77 // remove tmp-files after usage */ -
Singular/LIB/finvar.lib
r73d7b5 r034ce1 1 // $Id: finvar.lib,v 1.2 6 2000-05-02 14:52:48Singular Exp $1 // $Id: finvar.lib,v 1.27 2000-05-12 12:25:43 Singular Exp $ 2 2 // author: Agnes Eileen Heydtmann, email:agnes@math.uni-sb.de 3 3 // last change: 98/11/05 4 4 /////////////////////////////////////////////////////////////////////////////// 5 version="$Id: finvar.lib,v 1.2 6 2000-05-02 14:52:48Singular Exp $"5 version="$Id: finvar.lib,v 1.27 2000-05-12 12:25:43 Singular Exp $" 6 6 info=" 7 7 LIBRARY: finvar.lib LIBRARY TO CALCULATE INVARIANT RINGS OF FINITE GROUPS … … 765 765 if (minpoly==0) 766 766 { if (i>size(chst)) 767 { execute "ring "+newring+"=0,("+varstr(br)+"),("+ordstr(br)+")";767 { execute("ring "+newring+"=0,("+varstr(br)+"),("+ordstr(br)+")"); 768 768 } 769 769 else 770 770 { chst=chst[i..size(chst)]; 771 execute "ring "+newring+"=(0"+chst+"),("+varstr(br)+"),("+ordstr(br)+")"; 771 execute 772 ("ring "+newring+"=(0"+chst+"),("+varstr(br)+"),("+ordstr(br)+")"); 772 773 } 773 774 } … … 776 777 minp=minp[2..size(minp)-1]; 777 778 chst=chst[i..size(chst)]; 778 execute "ring "+newring+"=(0"+chst+"),("+varstr(br)+"),("+ordstr(br)+")";779 execute "minpoly="+minp;779 execute("ring "+newring+"=(0"+chst+"),("+varstr(br)+"),("+ordstr(br)+")"); 780 execute("minpoly="+minp); 780 781 } 781 782 matrix I=diag(1,n); … … 813 814 } 814 815 setring `newring`; 815 execute "matrix G(i)["+string(n)+"]["+string(n)+"]="+stM(i);816 execute("matrix G(i)["+string(n)+"]["+string(n)+"]="+stM(i)); 816 817 p=det(I-v1*G(i)); // denominator of new term - 817 818 M[1,1]=M[1,1]*p+M[1,2]; // expanding M[1,1]/M[1,2] + 1/p … … 1202 1203 if (minpoly==0) 1203 1204 { if (i>size(chst)) 1204 { execute "ring "+newring+"=0,("+varstr(br)+"),("+ordstr(br)+")";1205 { execute("ring "+newring+"=0,("+varstr(br)+"),("+ordstr(br)+")"); 1205 1206 } 1206 1207 else 1207 1208 { chst=chst[i..size(chst)]; 1208 execute "ring "+newring+"=(0"+chst+"),("+varstr(br)+"),("+ordstr(br)+")"; 1209 execute 1210 ("ring "+newring+"=(0"+chst+"),("+varstr(br)+"),("+ordstr(br)+")"); 1209 1211 } 1210 1212 } … … 1213 1215 minp=minp[2..size(minp)-1]; 1214 1216 chst=chst[i..size(chst)]; 1215 execute "ring "+newring+"=(0"+chst+"),("+varstr(br)+"),("+ordstr(br)+")";1216 execute "minpoly="+minp;1217 execute("ring "+newring+"=(0"+chst+"),("+varstr(br)+"),("+ordstr(br)+")"); 1218 execute("minpoly="+minp); 1217 1219 } 1218 1220 poly v1=var(1); // the Molien series will be in terms of … … 1234 1236 } 1235 1237 setring `newring`; 1236 execute "matrix G(1)["+string(n)+"]["+string(n)+"]="+stM(1);1238 execute("matrix G(1)["+string(n)+"]["+string(n)+"]="+stM(1)); 1237 1239 matrix A(2)[1][2]; // A(2) will contain the Molien series - 1238 1240 A(2)[1,1]=1; // A(2)[1,1] will be the numerator … … 1271 1273 } 1272 1274 setring `newring`; 1273 execute "matrix G(i)["+string(n)+"]["+string(n)+"]="+stM(i);1275 execute("matrix G(i)["+string(n)+"]["+string(n)+"]="+stM(i)); 1274 1276 p=det(I-v1*G(i)); // denominator of new term - 1275 1277 A(2)[1,1]=A(2)[1,1]*p+A(2)[1,2]; // expanding A(2)[1,1]/A(2)[1,2] +1/p … … 1330 1332 } 1331 1333 setring `newring`; 1332 execute "matrix G(g)["+string(n)+"]["+string(n)+"]="+stM(g);1334 execute("matrix G(g)["+string(n)+"]["+string(n)+"]="+stM(g)); 1333 1335 p=det(I-v1*G(g)); // denominator of new term 1334 1336 A(2)[1,1]=A(2)[1,1]*p+A(2)[1,2]; … … 1473 1475 poly A(1)=M[1,2]; // denominator of Molien series (for now) 1474 1476 string mp=string(minpoly); 1475 execute "ring R=("+charstr(br)+"),("+varstr(br)+"),ds;";1476 execute "minpoly=number("+mp+");";1477 execute("ring R=("+charstr(br)+"),("+varstr(br)+"),ds;"); 1478 execute("minpoly=number("+mp+");"); 1477 1479 poly A(1)=0; // A(1) will contain the sum of n terms - 1478 1480 poly min; // min will be our smallest term - … … 1596 1598 } 1597 1599 //---------------------------------------------------------------------------- 1598 execute "ring T=("+charstr(br)+"),("+varstr(br)+",p(1..m)),lp;";1600 execute("ring T=("+charstr(br)+"),("+varstr(br)+",p(1..m)),lp;"); 1599 1601 // p(1..m) are the general coefficients of the general polynomial of degree g 1600 execute "ideal vars="+varstr(br)+";";1602 execute("ideal vars="+varstr(br)+";"); 1601 1603 map f; 1602 1604 ideal mon=imap(br,mon); … … 3045 3047 } 3046 3048 if (not(flag)) 3047 { execute "test_dim="+string(answer[1..size(answer)]);3049 { execute("test_dim="+string(answer[1..size(answer)])); 3048 3050 if (test_dim<=max) 3049 3051 { flag=1; … … 3154 3156 } 3155 3157 if (not(flag)) 3156 { execute "test_dim="+string(answer[1..size(answer)]);3158 { execute("test_dim="+string(answer[1..size(answer)])); 3157 3159 if (test_dim<=max) 3158 3160 { flag=1; … … 5116 5118 string mp=string(minpoly); // generating a ring where we can do 5117 5119 // elimination 5118 execute "ring R=("+charstr(br)+"),(x(1..n),y(1..n),h),dp;";5119 execute "minpoly=number("+mp+");";5120 execute("ring R=("+charstr(br)+"),(x(1..n),y(1..n),h),dp;"); 5121 execute("minpoly=number("+mp+");"); 5120 5122 map f=br,maxideal(1); // canonical mapping 5121 5123 matrix M[k][m+k*n]; … … 5640 5642 int m=ncols(F); 5641 5643 string mp=string(minpoly); 5642 execute "ring R=("+charstr(br)+"),("+varstr(br)+",y(1..m)),dp;";5643 execute "minpoly=number("+mp+");";5644 execute("ring R=("+charstr(br)+"),("+varstr(br)+",y(1..m)),dp;"); 5645 execute("minpoly=number("+mp+");"); 5644 5646 ideal I=ideal(imap(br,F)); 5645 5647 for (int i=1;i<=m;i++) … … 5647 5649 } 5648 5650 I=elim(I,1,n); 5649 execute "ring "+newring+"=("+charstr(br)+"),(y(1..m)),dp(m);";5650 execute "minpoly=number("+mp+");";5651 execute("ring "+newring+"=("+charstr(br)+"),(y(1..m)),dp(m);"); 5652 execute("minpoly=number("+mp+");"); 5651 5653 ideal vars; 5652 5654 for (i=2;i<=n;i++) … … 5658 5660 kill emb, vars, R; 5659 5661 keepring `newring`; 5660 // execute "keepring "+newring+";";5661 5662 return(); 5662 5663 } … … 5701 5702 int m=ncols(F); 5702 5703 string mp=string(minpoly); 5703 execute "ring R=("+charstr(br)+"),("+varstr(br)+",y(1..m)),lp;";5704 execute "minpoly=number("+mp+");";5704 execute("ring R=("+charstr(br)+"),("+varstr(br)+",y(1..m)),lp;"); 5705 execute("minpoly=number("+mp+");"); 5705 5706 ideal J=ideal(imap(br,F)); 5706 5707 ideal I=imap(br,I); … … 5727 5728 } 5728 5729 G=compress(G); 5729 execute "ring "+newring+"=("+charstr(br)+"),(y(1..m)),lp;";5730 execute "minpoly=number("+mp+");";5730 execute("ring "+newring+"=("+charstr(br)+"),(y(1..m)),lp;"); 5731 execute("minpoly=number("+mp+");"); 5731 5732 ideal vars; 5732 5733 for (i=2;i<=n;i++) … … 5738 5739 kill vars, emb; 5739 5740 keepring `newring`; 5740 // execute "keepring "+newring+";";5741 5741 return(); 5742 5742 } … … 5775 5775 string newring="E"; 5776 5776 relative_orbit_variety(I,F,newring); 5777 execute "ring R=("+charstr(br)+"),("+varstr(br)+","+varstr(E)+"),lp;";5777 execute("ring R=("+charstr(br)+"),("+varstr(br)+","+varstr(E)+"),lp;"); 5778 5778 ideal F=imap(br,F); 5779 5779 for (int i=1;i<=n;i++) -
Singular/LIB/general.lib
r73d7b5 r034ce1 1 // $Id: general.lib,v 1.2 6 2000-04-27 10:07:13 obachmanExp $1 // $Id: general.lib,v 1.27 2000-05-12 12:25:47 Singular Exp $ 2 2 //GMG, last modified 18.6.99 3 3 /////////////////////////////////////////////////////////////////////////////// 4 4 5 version="$Id: general.lib,v 1.2 6 2000-04-27 10:07:13 obachmanExp $";5 version="$Id: general.lib,v 1.27 2000-05-12 12:25:47 Singular Exp $"; 6 6 info=" 7 7 LIBRARY: general.lib PROCEDURES OF GENERAL TYPE … … 80 80 string sR = "ring R = (0,"+A_Z("A",6)+"),("+A_Z("a",10)+"),dp;"; 81 81 sR; 82 execute sR;82 execute(sR); 83 83 R; 84 84 } … … 740 740 if( find(os,",") ) 741 741 { 742 execute "nw = "+os+";";742 execute("nw = "+os+";"); 743 743 if( size(nw) > ii ) 744 744 { … … 751 751 else 752 752 { 753 execute "q = "+os+";";753 execute("q = "+os+";"); 754 754 if( q > ii ) 755 755 { … … 853 853 if ( typeof(#[1])=="string" ) 854 854 { 855 execute "ring r1 =("+charstr(P)+"),("+varstr(P)+"),("+#[1]+");";855 execute("ring r1 =("+charstr(P)+"),("+varstr(P)+"),("+#[1]+");"); 856 856 def i = imap(P,id); 857 857 v = sortvec(i); … … 881 881 } 882 882 } 883 execute "ring r=0,x(1..s),("+o+");";883 execute("ring r=0,x(1..s),("+o+");"); 884 884 ideal i; 885 885 poly f; -
Singular/LIB/hnoether.lib
r73d7b5 r034ce1 1 // $Id: hnoether.lib,v 1. 19 2000-04-27 21:06:09 lammExp $1 // $Id: hnoether.lib,v 1.20 2000-05-12 12:25:47 Singular Exp $ 2 2 // last change: 27.04.00 3 3 /////////////////////////////////////////////////////////////////////////////// 4 4 // This library is for Singular 1-3-7 or newer 5 5 6 version="$Id: hnoether.lib,v 1. 19 2000-04-27 21:06:09 lammExp $";6 version="$Id: hnoether.lib,v 1.20 2000-05-12 12:25:47 Singular Exp $"; 7 7 info=" 8 8 LIBRARY: hnoether.lib Procedures for the Hamburger-Noether (Puiseux) development … … 281 281 } 282 282 execute("ring rsqrf = ("+charstr(altring)+"),(x,y),dp;"); 283 if ((gcd_ok!=0) && (mipl!="0")) { execute "minpoly="+mipl+";"; }283 if ((gcd_ok!=0) && (mipl!="0")) { execute("minpoly="+mipl+";"); } 284 284 poly f=fetch(altring,f); 285 285 poly dif,g,l; … … 376 376 } 377 377 execute("ring rsqrf = ("+charstr(altring)+"),(x,y),dp;"); 378 if (mipl!="0") { execute "minpoly="+mipl+";"; }378 if (mipl!="0") { execute("minpoly="+mipl+";"); } 379 379 poly f=fetch(altring,f); 380 380 poly l=fetch(altring,l); … … 558 558 execute("ring guenstig = ("+charstr(altring)+"),(x,y),ls;"); 559 559 if ((char(basering)==0) && (mipl!="0")) { 560 execute "minpoly="+mipl+";";560 execute("minpoly="+mipl+";"); 561 561 }} 562 562 else { def guenstig=basering; } … … 591 591 if ((p!=0) and (ringchar != string(p))) { 592 592 // coefficient field is extension of Z/pZ 593 execute "int n_elements="+ringchar[1,size(ringchar)-2]+";";593 execute("int n_elements="+ringchar[1,size(ringchar)-2]+";"); 594 594 // number of elements of actual ring 595 595 number generat=par(1); // generator of the coefficient field of the ring … … 1789 1789 if (charstr(basering)!=string(char(basering))+","+parstr(basering)) { 1790 1790 execute 1791 "ring dazu=("+charstr(basering)+"),z(0.."+string(size(v)-1)+"),ls;";1791 ("ring dazu=("+charstr(basering)+"),z(0.."+string(size(v)-1)+"),ls;"); 1792 1792 } 1793 1793 else { ring dazu=char(altring),z(0..size(v)-1),ls; } … … 2059 2059 if (tststr==string(p)) { 2060 2060 if (size(parstr(basering))>1) { // ring (p,a,..),... 2061 execute "ring extdguenstig=("+charstr(basering)+"),(x,y),ls;";2061 execute("ring extdguenstig=("+charstr(basering)+"),(x,y),ls;"); 2062 2062 } 2063 2063 else { // ring (p,a),... 2064 2064 string mipl=string(minpoly); 2065 2065 ring extdguenstig=(p,`parstr(basering)`),(x,y),ls; 2066 if (mipl!="0") { execute "minpoly="+mipl+";"; }2066 if (mipl!="0") { execute("minpoly="+mipl+";"); } 2067 2067 } 2068 2068 } 2069 2069 else { 2070 execute "ring extdguenstig=("+charstr(basering)+"),(x,y),ls;";2070 execute("ring extdguenstig=("+charstr(basering)+"),(x,y),ls;"); 2071 2071 } 2072 2072 } … … 2314 2314 string strmip=string(minpoly); 2315 2315 string strf=string(f); 2316 execute 2317 +varstr(basering)+"),dp;" ;2318 execute "minpoly="+strmip+";";2319 execute "poly f="+strf+";";2316 execute("ring tempr=("+string(char(basering))+","+parstr(basering)+"),(" 2317 +varstr(basering)+"),dp;"); 2318 execute("minpoly="+strmip+";"); 2319 execute("poly f="+strf+";"); 2320 2320 list hne=reddevelop(f); 2321 2321 if ((voice==2) && (printlevel > -1)) { … … 2341 2341 string strmip=string(minpoly); 2342 2342 ring HNEring=(char(altring),`parstr(altring)`),(x,y),ls; 2343 execute "minpoly="+strmip+";";2343 execute("minpoly="+strmip+";"); 2344 2344 export HNEring; 2345 2345 poly f=fetch(altring,f); … … 2495 2495 " ** occurs during the calculation, we cannot proceed with the"; 2496 2496 " ** corresponding branches ..."; 2497 execute "ring HNEring=("+charstr(basering)+"),(x,y),ls;";2497 execute("ring HNEring=("+charstr(basering)+"),(x,y),ls;"); 2498 2498 //--- ring ...=(char(.),`parstr()`),... geht nicht, wenn mehr als 1 Param. --- 2499 2499 } … … 2501 2501 string pa=parstr(altring); 2502 2502 ring HNhelpring=p,`pa`,dp; 2503 execute "poly mipo="+mipl+";";// Minimalpolynom in Polynom umgewandelt2503 execute("poly mipo="+mipl+";"); // Minimalpolynom in Polynom umgewandelt 2504 2504 ring HNEring=(p,a),(x,y),ls; 2505 2505 map getminpol=HNhelpring,a; 2506 2506 mipl=string(getminpol(mipo)); // String umgewandelt mit 'a' als Param. 2507 execute "minpoly="+mipl+";"; // "minpoly=poly is not supported"2507 execute("minpoly="+mipl+";"); // "minpoly=poly is not supported" 2508 2508 kill HNhelpring, getminpol; 2509 2509 }
Note: See TracChangeset
for help on using the changeset viewer.