Changeset 6a0d85 in git


Ignore:
Timestamp:
Sep 16, 1999, 1:17:31 PM (25 years ago)
Author:
Gerhard Pfister <pfister@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
d4373f15d7fb05d5a4ac70b75014752ca9df2d8e
Parents:
6e3bdda1bf83a507a37ba6d2066c193efaf4218f
Message:
in furtherInvariants mstd eingebaut, um weniger Erzeugende zu haben,
weiterhin durch completReducenew tailreduction bei den sagbi basen


git-svn-id: file:///usr/local/Singular/svn/trunk@3614 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/invar.lib

    r6e3bdda r6a0d85  
    1 // $Id: invar.lib,v 1.16 1999-08-03 13:21:56 obachman Exp $
     1// $Id: invar.lib,v 1.17 1999-09-16 11:17:31 pfister Exp $
    22/////////////////////////////////////////////////////////////////////////////
    33
    4 version="$Id: invar.lib,v 1.16 1999-08-03 13:21:56 obachman Exp $";
     4version="$Id: invar.lib,v 1.17 1999-09-16 11:17:31 pfister Exp $";
    55info="
    66LIBRARY: invar.lib   PROCEDURES FOR COMPUTING INVARIANTS OF (K,+)-ACTIONS
     
    187187    }
    188188  }
     189
    189190  // -------------------- first algorithm (default) -----------------------
    190191  if ( choose == 0 )
     
    301302///////////////////////////////////////////////////////////////////////////////
    302303
     304proc completeReductionnew(poly p, ideal dom, list #)
     305"USAGE:   completeReduction(p,I[,q,n]); p poly, I ideal, [q monomial, n int]
     306RETURN:  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)
     310NOTE:    help reduction; shows an explanation of SAGBI reduction
     311EXAMPLE: 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
    303331proc localInvar(matrix m, poly p, poly q, poly h)
    304332"USAGE:   localInvar(m,p,q,h); m matrix, p,q,h polynomials
     
    401429  // --------------- compute the kernel of phi ---------------------------
    402430  ideal ker=preimage(br,phi,null);
     431  ker=mstd(ker)[2];
    403432  // ---- define the map psi : r1 ---> br defined by y(i) ---> id[i] -----
    404433  setring br;
     
    546575    k1=sortier(k1);
    547576    z=size(k1);
     577
    548578    for (i=1;i<=z;i++)
    549579    {
     
    682712  }
    683713  ideal in=invariantRing(m,x(2),x(1),0,"");
     714
    684715  in;
    685716*/
Note: See TracChangeset for help on using the changeset viewer.