Changeset b199d5 in git
- Timestamp:
- Mar 7, 2002, 5:00:58 PM (21 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'f875bbaccd0831e36aaed09ff6adeb3eb45aeb94')
- Children:
- f92436c8e9ad3b0aadd30dcaafb8fa4eafe6c31a
- Parents:
- 101cd892be49d477f3f2ab71d77dbfe943baa01b
- Location:
- Singular
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/ideals.cc
r101cd8 rb199d5 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: ideals.cc,v 1.12 7 2002-02-28 17:56:33mschulze Exp $ */4 /* $Id: ideals.cc,v 1.128 2002-03-07 16:00:58 mschulze Exp $ */ 5 5 /* 6 6 * ABSTRACT - all basic methods to manipulate ideals … … 1680 1680 */ 1681 1681 1682 ideal idLift (ideal mod, ideal submod,ideal *rest, BOOLEAN goodShape,1683 BOOLEAN isSB,BOOLEAN divide,matrix *unit)1682 ideal idLift(ideal mod, ideal submod,ideal *rest, BOOLEAN goodShape, 1683 BOOLEAN isSB, BOOLEAN divide, matrix *unit) 1684 1684 { 1685 1685 int lsmod =idRankFreeModule(submod), i, j, k; … … 1830 1830 { 1831 1831 pShift(&(s_rest->m[j-1]),-1); 1832 s_rest->m[j-1] = pNeg(s_rest->m[j-1]);1832 s_rest->m[j-1] = s_rest->m[j-1]; 1833 1833 } 1834 1834 } -
Singular/iparith.cc
r101cd8 rb199d5 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: iparith.cc,v 1.27 8 2002-02-28 17:56:34mschulze Exp $ */4 /* $Id: iparith.cc,v 1.279 2002-03-07 16:00:57 mschulze Exp $ */ 5 5 6 6 /* … … 1661 1661 L->Init(3); 1662 1662 L->m[0].rtyp=MATRIX_CMD; L->m[0].data=(void *)T; 1663 L->m[1].rtyp= MATRIX_CMD; L->m[1].data=(void *)U;1664 L->m[2].rtyp= u->Typ(); L->m[2].data=(void *)R;1663 L->m[1].rtyp=u->Typ(); L->m[1].data=(void *)R; 1664 L->m[2].rtyp=MATRIX_CMD; L->m[2].data=(void *)U; 1665 1665 res->data=(char *)L; 1666 1666 return FALSE; … … 4858 4858 if(v1->Typ()==POLY_CMD||v1->Typ()==VECTOR_CMD) 4859 4859 { 4860 if(v1->Typ()==POLY_CMD) 4861 pShift(&R->m[0],-1); 4860 4862 L->m[1].data=(void *)R->m[0]; 4861 4863 R->m[0]=NULL; 4862 4864 idDelete(&R); 4863 4865 } 4864 else if(v1->Typ()==MATRIX_CMD) 4866 else 4867 if(v1->Typ()==IDEAL_CMD||v1->Typ()==MATRIX_CMD) 4865 4868 L->m[1].data=(void *)idModule2Matrix(R); 4866 else if(v1->Typ()!=IDEAL_CMD&&v1->Typ()!=MODUL_CMD)4869 else 4867 4870 L->m[1].rtyp=MODUL_CMD; 4868 4871 res->data=L;
Note: See TracChangeset
for help on using the changeset viewer.