Changeset 9f07815 in git for Singular/ring.cc
- Timestamp:
- Feb 6, 2002, 2:10:30 PM (21 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '0604212ebb110535022efecad887940825b97c3f')
- Children:
- 74aa7851037f82da44c26b4ec2902e01ceb54712
- Parents:
- f690f40477bdfa44989a82d0ade11dec32b47794
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/ring.cc
rf690f4 r9f07815 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: ring.cc,v 1.18 2 2002-02-05 09:32:21Singular Exp $ */4 /* $Id: ring.cc,v 1.183 2002-02-06 13:10:30 Singular Exp $ */ 5 5 6 6 /* … … 3929 3929 // 0: char/ cf - ring 3930 3930 // 1: list (var) 3931 // 3: list (ord)3932 // 4: qideal3931 // 2: list (ord) 3932 // 3: qideal 3933 3933 lists L=(lists)omAlloc0Bin(slists_bin); 3934 3934 L->Init(4); 3935 3935 // ---------------------------------------- 3936 // 0: char/ cf - ring 3936 3937 #if 0 /* TODO */ 3937 3938 if (rIsExtension(r)) … … 3944 3945 } 3945 3946 // ---------------------------------------- 3947 // 1: list (var) 3946 3948 lists LL=(lists)omAlloc0Bin(slists_bin); 3947 L->m[1].rtyp=LIST_CMD;3948 L->m[1].data=(void *)LL;3949 3949 LL->Init(r->N); 3950 3950 int i; … … 3954 3954 LL->m[i].data=(void *)omStrDup(r->names[i]); 3955 3955 } 3956 L->m[1].rtyp=LIST_CMD; 3957 L->m[1].data=(void *)LL; 3956 3958 // ---------------------------------------- 3959 // 2: list (ord) 3957 3960 LL=(lists)omAlloc0Bin(slists_bin); 3958 L->m[2].rtyp=LIST_CMD;3959 L->m[2].data=(void *)LL;3960 3961 LL->Init((i=rBlocks(r)-1)); 3961 3962 lists LLL; … … 3993 3994 LL->m[i].data=(void *)LLL; 3994 3995 } 3996 L->m[2].rtyp=LIST_CMD; 3997 L->m[2].data=(void *)LL; 3995 3998 // ---------------------------------------- 3999 // 3: qideal 3996 4000 L->m[3].rtyp=IDEAL_CMD; 3997 4001 if (r->qideal==NULL) … … 3999 4003 else 4000 4004 L->m[3].data=(void *)idCopy(r->qideal); 4005 // ---------------------------------------- 4001 4006 return L; 4002 4007 }
Note: See TracChangeset
for help on using the changeset viewer.