Changeset 7d7d24 in git
- Timestamp:
- Sep 17, 2019, 3:06:21 PM (5 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 54f7977545741955f5f91b1a913510dfee7e7acd
- Parents:
- 8f5259270995467397bb2f930d7ccf6f7e0688f7972221336f146ec8874444749dead4ee4cff5642
- Location:
- Singular/LIB
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/arcpoint.lib
r8f5259 r7d7d24 327 327 RETURN: string, the nth letter of the alphabet" 328 328 { 329 string s="ring r=0,("+A_Z("a",n)+"),ds;"; 330 execute(s); 329 ring r = create_ring(0, "("+A_Z("a",n)+")", "ds"); 331 330 return (string(var(n))); 332 331 } -
Singular/LIB/control.lib
r8f5259 r7d7d24 774 774 string newvars = parstr(basering); 775 775 def save = basering; 776 string NewRing = "ring @NR =" +string(char(basering))+",("+newvars+"),Dp;"; 777 execute(NewRing); 776 ring @NR = create_ring("string(char(basering))", "("+newvars+")", "Dp"); 778 777 // get params as variables 779 778 // create a list of non-monomials … … 838 837 string newvars = parstr(basering); 839 838 def save = basering; 840 string NewRing = "ring @NR =(" +string(char(basering))+"),("+newvars+"),Dp;"; 841 execute(NewRing); 839 ring @NR = create_ring("("+string(char(basering))+")", "("+newvars+")", "Dp"); 842 840 ideal F; 843 841 ideal Den = imap(save,Den); -
Singular/LIB/graal.lib
r8f5259 r7d7d24 358 358 else 359 359 { string pars; string vars = varstr(basering); } 360 ring Q0 = create_ring("("+charstr(basering)+pars+")", "("+vars+")", "dp");360 execute("ring Q0 = ("+charstr(basering)+pars+"),("+vars+"),dp;"); 361 361 ideal J0 = imap(Q,J); 362 362 Gr.Q0 = Q0; … … 410 410 } 411 411 l2[s+1] = ringlist(basering)[2]; 412 ring Q0y = create_ring(ringlist(basering)[1], l2, "(ds(s),c,"+ostring+")", "no_minpoly");412 execute("ring Q0y = ("+charstr(basering)+"),(Y(1..s),"+varstr(basering)+"),(ds(s),c,"+ostring+")"); 413 413 setring Q0y; 414 414 ideal H = imap(Gr.A,H); -
Singular/LIB/mprimdec.lib
r8f5259 r7d7d24 287 287 // this is also a standard basis in (R[U])[A] 288 288 @A[size(@A)]=")"; 289 execute("ring Rloc=("+charstr(basering)+","+@U+",("+@A+",(C,dp);");289 ring Rloc = create_ring("("+charstr(basering)+","+@U, "("+@A, "(C,dp)"); 290 290 module @N=imap(RAU,@N); 291 291 ideal @h; … … 673 673 module @N=std(imap(BAS,@N)); // this is also a standard basis in (R[U])[A] 674 674 @A[size(@A)]=")"; 675 execute("ring Rloc=("+charstr(basering)+","+@U+",("+@A+",(C,dp);");675 ring Rloc = create_ring("("+charstr(basering)+","+@U, "("+@A, "(C,dp)"); 676 676 module @N=imap(RAU,@N); 677 677 kill RAU; -
Singular/LIB/primdec.lib
r8f5259 r7d7d24 5273 5273 I=std(I); // the standard basis in (R[U])[A] 5274 5274 A[size(A)]=")"; 5275 execute("ring Rloc=("+charstr(basering)+","+U+",("+A+",dp;");5275 ring Rloc = create_ring("("+charstr(basering)+","+U, "("+A, "dp"); 5276 5276 ideal I=imap(RAU,I); 5277 5277 //"std in lokalisierung:"+newline,I;
Note: See TracChangeset
for help on using the changeset viewer.