Changeset fa9cb5 in git
- Timestamp:
- Oct 29, 2009, 6:52:12 PM (14 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '00e2e9c41af3fde1273eb3633f4c0c7c3db2579d')
- Children:
- 0c8943aaba858a3c45fa1d3efe4d6099d6fb544a
- Parents:
- 02b67321af570136ba409128c06d7aa9b8f3f86c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/gkdim.lib
r02b673 rfa9cb5 1 1 /////////////////////////////////////////////////////////////////////////////// 2 version="$Id: gkdim.lib,v 1.1 3 2009-04-10 13:04:12 Singular Exp $";2 version="$Id: gkdim.lib,v 1.14 2009-10-29 17:52:12 Singular Exp $"; 3 3 category="Noncommutative"; 4 4 info=" … … 24 24 I=std(I); 25 25 } 26 int i;27 for (i=1; i<=size(I); i++)28 {29 I[i]=leadmonom(I[i]);30 }31 26 32 def oldring=basering; 33 string newringstring="ring newring=("+charstr(basering)+"),("+varstr(basering)+"),("+ordstr(basering)+");"; 34 execute (newringstring); 35 setring newring; 36 ideal J = imap(oldring,I); 37 ideal sJ = std(J); 38 int d = dim(sJ); 39 setring oldring; 27 int d = dim(I); 40 28 // if (d==-1) {d++;} // The GK-dimension of a finite dimensional module is zero 41 29 // levandov: but for consistency, GKdim(std(1)) == -1,
Note: See TracChangeset
for help on using the changeset viewer.