Changeset ff4e847 in git
- Timestamp:
- Aug 2, 2000, 9:06:29 PM (23 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'ba3e3ef698fa0b7c5867199959cc83330073d3cb')
- Children:
- 00760988f8ad6cfed0c0f25ea37e4355e87a3c66
- Parents:
- dc089843ab44e1609c3728250cda299c475b238d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/ideals.cc
rdc0898 rff4e847 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: ideals.cc,v 1.9 6 2000-07-06 13:30:01 pohlExp $ */4 /* $Id: ideals.cc,v 1.97 2000-08-02 19:06:29 siebert Exp $ */ 5 5 /* 6 6 * ABSTRACT - all basic methods to manipulate ideals … … 1628 1628 poly p; 1629 1629 1630 if (idIs0( mod))1630 if (idIs0(submod)) 1631 1631 { 1632 1632 if (unit!=NULL) … … 1638 1638 { 1639 1639 *rest=idInit(1,mod->rank); 1640 } 1641 return idInit(1,mod->rank); 1642 } 1643 if (idIs0(mod)) 1644 { 1645 if (unit!=NULL) 1646 { 1647 i=IDELEMS(submod); 1648 *unit=mpNew(i,i); 1649 for (j=i;j>0;j--) 1650 { 1651 MATELEM(*unit,j,j)=pOne(); 1652 } 1653 } 1654 if (rest!=NULL) 1655 { 1656 *rest=idCopy(submod); 1640 1657 } 1641 1658 return idInit(1,mod->rank);
Note: See TracChangeset
for help on using the changeset viewer.