Changeset 9f07815 in git for Singular/ring.cc


Ignore:
Timestamp:
Feb 6, 2002, 2:10:30 PM (21 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '0604212ebb110535022efecad887940825b97c3f')
Children:
74aa7851037f82da44c26b4ec2902e01ceb54712
Parents:
f690f40477bdfa44989a82d0ade11dec32b47794
Message:
*hannes: rDecompose: more comments


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

Legend:

Unmodified
Added
Removed
  • Singular/ring.cc

    rf690f4 r9f07815  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: ring.cc,v 1.182 2002-02-05 09:32:21 Singular Exp $ */
     4/* $Id: ring.cc,v 1.183 2002-02-06 13:10:30 Singular Exp $ */
    55
    66/*
     
    39293929  // 0: char/ cf - ring
    39303930  // 1: list (var)
    3931   // 3: list (ord)
    3932   // 4: qideal
     3931  // 2: list (ord)
     3932  // 3: qideal
    39333933  lists L=(lists)omAlloc0Bin(slists_bin);
    39343934  L->Init(4);
    39353935  // ----------------------------------------
     3936  // 0: char/ cf - ring
    39363937  #if 0 /* TODO */
    39373938  if (rIsExtension(r))
     
    39443945  }
    39453946  // ----------------------------------------
     3947  // 1: list (var)
    39463948  lists LL=(lists)omAlloc0Bin(slists_bin);
    3947   L->m[1].rtyp=LIST_CMD;
    3948   L->m[1].data=(void *)LL;
    39493949  LL->Init(r->N);
    39503950  int i;
     
    39543954    LL->m[i].data=(void *)omStrDup(r->names[i]);
    39553955  }
     3956  L->m[1].rtyp=LIST_CMD;
     3957  L->m[1].data=(void *)LL;
    39563958  // ----------------------------------------
     3959  // 2: list (ord)
    39573960  LL=(lists)omAlloc0Bin(slists_bin);
    3958   L->m[2].rtyp=LIST_CMD;
    3959   L->m[2].data=(void *)LL;
    39603961  LL->Init((i=rBlocks(r)-1));
    39613962  lists LLL;
     
    39933994    LL->m[i].data=(void *)LLL;
    39943995  }
     3996  L->m[2].rtyp=LIST_CMD;
     3997  L->m[2].data=(void *)LL;
    39953998  // ----------------------------------------
     3999  // 3: qideal
    39964000  L->m[3].rtyp=IDEAL_CMD;
    39974001  if (r->qideal==NULL)
     
    39994003  else
    40004004    L->m[3].data=(void *)idCopy(r->qideal);
     4005  // ----------------------------------------
    40014006  return L;
    40024007}
Note: See TracChangeset for help on using the changeset viewer.