Changeset bd2b93 in git for Singular/extra.cc
- Timestamp:
- Jul 12, 1999, 1:05:57 PM (24 years ago)
- Branches:
- (u'spielwiese', 'd0474371d8c5d8068ab70bfb42719c97936b18a6')
- Children:
- 0a5f342e03dda534e299aecb4e831f39b5569cd7
- Parents:
- a86bd56f61fbcd8c253ba5bc70325f291651b90a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/extra.cc
ra86bd5 rbd2b93 2 2 * Computer Algebra System SINGULAR * 3 3 *****************************************/ 4 /* $Id: extra.cc,v 1.9 5 1999-07-08 10:18:07 wenkExp $ */4 /* $Id: extra.cc,v 1.96 1999-07-12 11:05:57 pohl Exp $ */ 5 5 /* 6 6 * ABSTRACT: general interface to internals of Singular ("system" command) … … 658 658 else 659 659 #endif 660 /*==================== barstep =============================*/661 if(strcmp(sys_cmd,"barstep")==0)662 {663 if ((h!=NULL) &&(h->Typ()==MATRIX_CMD))664 {665 if (h->next!=NULL)666 {667 if (h->next->Typ()!=POLY_CMD)668 {669 Warn("Wrong types for barstep(matrix,poly)");670 }671 }672 int r,c;673 poly div=(poly)h->next->Data();674 res->rtyp=MATRIX_CMD;675 res->data=(void *)mpOneStepBareiss((matrix)h->Data(),676 &div,&r,&c);677 PrintS("div: ");pWrite(div);678 Print("rows: %d, cols: %d\n",r,c);679 pDelete(&div);680 return FALSE;681 }682 else683 WerrorS("matrix expected");684 }685 else686 660 #ifdef FACTORY_GCD_TEST 687 661 /*=======================gcd Testerei ================================*/
Note: See TracChangeset
for help on using the changeset viewer.