Changeset 6a0d85 in git
- Timestamp:
- Sep 16, 1999, 1:17:31 PM (24 years ago)
- Branches:
- (u'spielwiese', 'd1ba061a762c62d3a25159d8da8b6e17332291fa')
- Children:
- d4373f15d7fb05d5a4ac70b75014752ca9df2d8e
- Parents:
- 6e3bdda1bf83a507a37ba6d2066c193efaf4218f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/invar.lib
r6e3bdda r6a0d85 1 // $Id: invar.lib,v 1.1 6 1999-08-03 13:21:56 obachmanExp $1 // $Id: invar.lib,v 1.17 1999-09-16 11:17:31 pfister Exp $ 2 2 ///////////////////////////////////////////////////////////////////////////// 3 3 4 version="$Id: invar.lib,v 1.1 6 1999-08-03 13:21:56 obachmanExp $";4 version="$Id: invar.lib,v 1.17 1999-09-16 11:17:31 pfister Exp $"; 5 5 info=" 6 6 LIBRARY: invar.lib PROCEDURES FOR COMPUTING INVARIANTS OF (K,+)-ACTIONS … … 187 187 } 188 188 } 189 189 190 // -------------------- first algorithm (default) ----------------------- 190 191 if ( choose == 0 ) … … 301 302 /////////////////////////////////////////////////////////////////////////////// 302 303 304 proc completeReductionnew(poly p, ideal dom, list #) 305 "USAGE: completeReduction(p,I[,q,n]); p poly, I ideal, [q monomial, n int] 306 RETURN: a polynomial, the SAGBI reduction of the polynomial p with I 307 via the procedure 'reduction' as long as possible 308 if n=1, a different algorithm is choosen which is sometimes faster 309 (default: n=0; q and n can be given (or not) in any order) 310 NOTE: help reduction; shows an explanation of SAGBI reduction 311 EXAMPLE: example completeReduction; shows an example 312 " 313 { 314 if(p==0) 315 { 316 return(p); 317 } 318 poly p1=p; 319 poly p2=reduction(p,dom,#); 320 while (p1!=p2) 321 { 322 p1=p2; 323 p2=reduction(p1,dom,#); 324 } 325 poly re=lead(p2)+completeReduction(p2-lead(p2),dom,#); 326 return(re); 327 } 328 329 /////////////////////////////////////////////////////////////////////////////// 330 303 331 proc localInvar(matrix m, poly p, poly q, poly h) 304 332 "USAGE: localInvar(m,p,q,h); m matrix, p,q,h polynomials … … 401 429 // --------------- compute the kernel of phi --------------------------- 402 430 ideal ker=preimage(br,phi,null); 431 ker=mstd(ker)[2]; 403 432 // ---- define the map psi : r1 ---> br defined by y(i) ---> id[i] ----- 404 433 setring br; … … 546 575 k1=sortier(k1); 547 576 z=size(k1); 577 548 578 for (i=1;i<=z;i++) 549 579 { … … 682 712 } 683 713 ideal in=invariantRing(m,x(2),x(1),0,""); 714 684 715 in; 685 716 */
Note: See TracChangeset
for help on using the changeset viewer.