Changeset f3c6e5 in git


Ignore:
Timestamp:
Jul 26, 2006, 3:48:05 PM (18 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
6e3cab4cadf40a95b799d76008c2f5305dbcbe6b
Parents:
7f7c25e5e9c095ee25b7bfbfbfd3d7e6a7f3575a
Message:
*hannes/slaplagne: syntax


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

Legend:

Unmodified
Added
Removed
  • Singular/LIB/primdec.lib

    r7f7c25e rf3c6e5  
    11///////////////////////////////////////////////////////////////////////////////
    2 version="$Id: primdec.lib,v 1.124 2006-07-26 11:50:30 Singular Exp $";
     2version="$Id: primdec.lib,v 1.125 2006-07-26 13:48:05 Singular Exp $";
    33category="Commutative Algebra";
    44info="
    55LIBRARY: primdec.lib   Primary Decomposition and Radical of Ideals
    6 AUTHORS:  Gerhard Pfister, pfister@mathematik.uni-kl.de (GTZ)
    7 @*        Wolfram Decker, decker@math.uni-sb.de         (SY)
    8 @*        Hans Schoenemann, hannes@mathematik.uni-kl.de (SY)
    9 @*        Santiago Laplagne, slaplagn@dm.uba.ar         (GTZ)
     6AUTHORS:  Gerhard Pfister, pfister@mathematik.uni-kl.de (GTZ)@*
     7          Wolfram Decker, decker@math.uni-sb.de         (SY)@*
     8          Hans Schoenemann, hannes@mathematik.uni-kl.de (SY)@*
     9          Santiago Laplagne, slaplagn@dm.uba.ar         (GTZ)
    1010
    1111OVERVIEW:
     
    54235423            if(#[j] == "KL") {
    54245424               algorithm = "KL";
    5425                valid = 1}
     5425               valid = 1;}
    54265426            if(#[j] == "SL") {
    54275427               algorithm = "SL";
    5428                valid = 1}
     5428               valid = 1;}
    54295429            if(#[j] == "noFacstd") {
    54305430               useFac = 0;
    5431                valid = 1}
     5431               valid = 1;}
    54325432            if(#[j] == "facstd") {
    54335433               useFac = 1;
    5434                valid = 1}
     5434               valid = 1;}
    54355435            if(#[j] == "equiRad") {
    54365436               il = 1;
    5437                valid = 1}
     5437               valid = 1;}
    54385438            if(#[j] == "fullRad") {
    54395439               il = 0;
    5440                valid = 1}
     5440               valid = 1;}
    54415441         }
    54425442         if(valid == 0) {
     
    54695469      pr = facstd(i);
    54705470   } else {
    5471       pr = i
     5471      pr = i;
    54725472   }
    54735473   option(set, op);
     
    55225522//
    55235523static proc radicalKL(ideal I, ideal ser, list #) {
    5524 // ideal I                  The ideal for which the radical is computed
    5525 // ideal ser                Used to reduce components already obtained
    5526 // list #                   If #[1] = 1, equiradical is computed.
     5524// ideal I     The ideal for which the radical is computed
     5525// ideal ser   Used to reduce components already obtained
     5526// list #      If #[1] = 1, equiradical is computed.
    55275527
    55285528        // I needs to be a Groebner basis.
     
    59275927    dbprint(printlevel - voice, "// The dimension is ", dim(groebner(J)));
    59285928
    5929     int allMaximal = 0;      // Compute the zerodim reduction for only one indep set.
    5930     ideal re = 1;            // No reduction is need, there are not redundant components.
    5931     list emptyList = list(); // Look for primes of any dimension, not only of max dimension.
     5929    int allMaximal = 0;                   // Compute the zerodim reduction for only one indep set.
     5930    ideal re = 1;                           // No reduction is need, there are not redundant components.
     5931    list emptyList = list();   // Look for primes of any dimension, not only of max dimension.
    59325932    list result = radicalReduction(J, re, allMaximal, emptyList);
    59335933
     
    74857485// Output = primaryDec where primaryDec is the list of the minimal
    74867486// associated primes and the primary components corresponding to these primes.
    7487 
    74887487{
    74897488  ideal P = 1;
     
    75047503      // Debug
    75057504      dbprint(printlevel - voice, "// We intersect the prime ideals obtained.");
    7506       /*
    7507       for (k = 1; k <= size(pd); k++) {
    7508         P = intersect(P, pd[k]);
    7509       };
    7510       */
    75117505      P = intersect(P, pd[2]);
    75127506      // Debug
    75137507      dbprint(printlevel - voice, "// Intersection finished.");
    75147508    } else {
    7515       stop = 1
     7509      stop = 1;
    75167510    }
    75177511  }
     7512
    75187513  // Returns only the primary components, not the radical.
    75197514  return(primaryDec);
    7520 };
     7515}
    75217516
    75227517///////////////////////////////////////////////////////////////////////////////
     
    79967991       else
    79977992       {
    7998 
    79997993          lres1=psi(@lh);
    80007994          lres0=psi1(lres1);
Note: See TracChangeset for help on using the changeset viewer.