Changeset 2d2c8be in git


Ignore:
Timestamp:
May 25, 2000, 1:22:19 PM (24 years ago)
Author:
Gerhard Pfister <pfister@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
e762aa7102176256bbb9d4ba9809f356f0a1f5ea
Parents:
5674d5213a7afa320d0912b0dc1cd45291072f6f
Message:
decomp fuer w-ordnungen angepasst


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

Legend:

Unmodified
Added
Removed
  • Singular/LIB/primdec.lib

    r5674d5 r2d2c8be  
    1 // $Id: primdec.lib,v 1.71 2000-05-25 10:07:19 pfister Exp $
     1// $Id: primdec.lib,v 1.72 2000-05-25 11:22:19 pfister Exp $
    22///////////////////////////////////////////////////////////////////////////////
    33// primdec.lib                                                               //
     
    1111///////////////////////////////////////////////////////////////////////////////
    1212
    13 version="$Id: primdec.lib,v 1.71 2000-05-25 10:07:19 pfister Exp $";
     13version="$Id: primdec.lib,v 1.72 2000-05-25 11:22:19 pfister Exp $";
    1414info="
    1515LIBRARY: primdec.lib   PROCEDURES FOR PRIMARY DECOMPOSITION
     
    20002000  list primary,indep,ltras;
    20012001  intvec @vh,isat;
    2002   int @wr,@k,@n,@m,@n1,@n2,@n3,homo,seri,keepdi;
     2002  int @wr,@k,@n,@m,@n1,@n2,@n3,homo,seri,keepdi,@w;
    20032003  ideal peek=i;
    20042004  ideal ser,tras;
     
    20252025
    20262026  homo=homog(i);
    2027   if((find(ordstr(basering),"w")!=0)||(find(ordstr(basering),"W")!=0))
    2028   {
    2029      homo=0;
    2030   }
    2031 
    20322027  if(homo==1)
    20332028  {
     
    20552050        return(primary);
    20562051     }
    2057      intvec @hilb=hilb(tras,1);
     2052     for(n=1;n<=nvars(basering);n++)
     2053     {
     2054        @w[n]=ord(var(n));
     2055     }
     2056     intvec @hilb=hilb(tras,1,@w);
    20582057     intvec keephilb=@hilb;
    20592058  }
     
    20822081     if((ordstr(@P)[1]!="(C,lp)")&&(ordstr(@P)[3]!="(C,lp)"))
    20832082     {
    2084        ideal @j=std(fetch(@P,i),@hilb);
     2083       ideal @j=std(fetch(@P,i),@hilb,@w);
    20852084     }
    20862085     else
     
    22792278    else
    22802279    {
    2281       ideal jwork=std(imap(gnir,@j),@hilb);
     2280      ideal jwork=std(imap(gnir,@j),@hilb,@w);
    22822281    }
    22832282
     
    23182317        if(homo==1)
    23192318        {
    2320            ideal @j=std(phi(@j),@hilb);
     2319           ideal @j=std(phi(@j),@hilb,@w);
    23212320        }
    23222321        else
     
    25002499        if(homo==1)
    25012500        {
    2502               @hilb=hilb(jwork,1);
     2501              @hilb=hilb(jwork,1,@w);
    25032502        }
    25042503
     
    25842583              if(homo==1)
    25852584              {
    2586                  ideal @j=std(phi(jkeep),keephilb);
     2585                 ideal @j=std(phi(jkeep),keephilb,@w);
    25872586              }
    25882587              else
Note: See TracChangeset for help on using the changeset viewer.