Changeset 409020 in git
- Timestamp:
- Jul 10, 2001, 1:49:19 PM (22 years ago)
- Branches:
- (u'spielwiese', 'ec94ef7a30b928574c0c3daf41f6804dff5f6b69')
- Children:
- 6a81f86c715f2c701a838ba9632de78d778e28c6
- Parents:
- 405ebc1754b159d0bbcacb3b2d555af201e48810
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/mprimdec.lib
r405ebc r409020 1 // $Id: mprimdec.lib,v 1. 2 2001-05-17 14:36:29 Singular Exp $1 // $Id: mprimdec.lib,v 1.3 2001-07-10 11:49:19 dreyer Exp $ 2 2 /////////////////////////////////////////////////////////////////////////////// 3 // mprimdec.lib // 4 // algorithms for primary decomposition for modules based on // 5 // the algorithms of Gianni, Trager and Zacharias and // 6 // Shimoyama and Yokoyama (generalization suggested by // 7 // the ideas of Hans-Gert Gräbe, Leipzig ) // 8 // using elments of primdec.lib // 9 // written by Alexander Dreyer // 10 // // 3 // mprimdec.lib 4 // algorithms for primary decomposition for modules based on 5 // the algorithms of Gianni, Trager and Zacharias and 6 // Shimoyama and Yokoyama (generalization of the latter 7 // suggested by Hans-Gert Gräbe, Leipzig ) 8 // using elments of primdec.lib 9 // written by Alexander Dreyer 10 // 11 // $Log: not supported by cvs2svn $ 12 // 11 13 /////////////////////////////////////////////////////////////////////////////// 12 14 13 version="$Id: mprimdec.lib,v 1. 2 2001-05-17 14:36:29 Singular Exp $";15 version="$Id: mprimdec.lib,v 1.3 2001-07-10 11:49:19 dreyer Exp $"; 14 16 category="Commutative Algebra"; 15 17 … … 135 137 computed by a generalized version of 136 138 the algorithm of Schimoyama/Yokoyama, 137 if i =1is given, the factorizing Groebner is used138 to compute the isolated primes .139 if i!=0 is given, the factorizing Groebner is used 140 to compute the isolated primes 139 141 EXAMPLE: example PrimdecA; shows an example 140 142 " … … 159 161 else 160 162 { 161 list pr = minAssPrimes(ann, #); // causes message "/ ** redefining @res **" if #[1]=1 162 } 163 if( (size(#)>0) ){ 164 list pr = minAssChar(ann); // causes message "/ ** redefining @res **" 165 } 166 else{ 167 list pr = minAssGTZ(ann); 168 } 169 } 170 163 171 list sp, pprimary; // the separators and the pseudo-primary modules 164 172 int @i; … … 386 394 if (@j!=@i) 387 395 { 388 if ( idealsEqual(prim[@i][2],prim[@j-@l][2])==1)396 if (modulesEqual(prim[@i][2],prim[@j-@l][2])==1) 389 397 { 390 398 prim[@i][1]=intersect(prim[@i][1],prim[@j-@l][1]); … … 916 924 for (@i=1;@i<=size(ann);@i++) 917 925 { 918 fact=factor (ann[@i]);926 fact=factorize(ann[@i],2); 919 927 szFact=size(fact[2]); 920 928 // if the element is the power of an irreducible element … … 1196 1204 if(deg(ann[1])>0) 1197 1205 { 1198 act=factor (ann[1]);1206 act=factorize(ann[1],2); 1199 1207 } 1200 1208 else … … 1753 1761 if(vdim(ann)==deg(ann[1])) // if ann ist prime 1754 1762 { 1755 list fact=factor (ann[1]);1763 list fact=factorize(ann[1],2); 1756 1764 int k;ideal id;list result; 1757 1765 module hilf;
Note: See TracChangeset
for help on using the changeset viewer.