Changeset 50cbdc in git for Singular/LIB/primdec.lib


Ignore:
Timestamp:
Aug 27, 2001, 4:48:02 PM (23 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
2567b5a6cb7109be5a83e53eb94abb1c38fb9945
Parents:
3de58c9ca0aeaafdf5cb29f986967bffa405b542
Message:
*hannes: merge-2-0-2


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

Legend:

Unmodified
Added
Removed
  • Singular/LIB/primdec.lib

    r3de58c r50cbdc  
    11///////////////////////////////////////////////////////////////////////////////
    2 version="$Id: primdec.lib,v 1.99 2001-03-29 11:34:59 Singular Exp $";
     2version="$Id: primdec.lib,v 1.100 2001-08-27 14:47:58 Singular Exp $";
    33category="Commutative Algebra";
    44info="
     
    379379///////////////////////////////////////////////////////////////////////////////
    380380
    381 static proc idealsEqual( ideal k, ideal j)
     381proc idealsEqual( ideal k, ideal j)
    382382{
    383383   return(stdIdealsEqual(std(k),std(j)));
     
    426426
    427427
    428 static proc primaryTest (ideal i, poly p)
     428proc primaryTest (ideal i, poly p)
    429429{
    430430   int m=1;
     
    797797    for(i=1;i<=size(keep);i++)
    798798    {
    799        l[size(l)+1]=keep[i];
    800        l[size(l)+1]=primaryTest(keep[i],keep[i][1]);
     799       if(deg(keep[i][1])>0)
     800       {
     801          l[size(l)+1]=keep[i];
     802          l[size(l)+1]=primaryTest(keep[i],keep[i][1]);
     803       }
    801804    }
    802805  }
     
    952955     }
    953956  }
     957
    954958  if(size(#)==0)
    955959  {
     
    31563160RETURN:  ideal, the radical of i.
    31573161NOTE:    Uses the algorithm of Eisenbud/Huneke/Vasconcelos, which
    3158          reduces the computation to the complete intersection case, 
     3162         reduces the computation to the complete intersection case,
    31593163         by taking, in the general case, a generic linear combination
    31603164         of the input.
     
    31773181   intvec op=option(get);
    31783182   matrix M;
    3179    
     3183
    31803184   option(redSB);
    31813185   list m=mstd(i);
Note: See TracChangeset for help on using the changeset viewer.