Changeset 7a6c06 in git
- Timestamp:
- Jul 25, 2008, 2:41:43 PM (16 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 107986830c30ed6c192ace9d6093c3213b76fc6f
- Parents:
- fe7424e916aeb90c55dfb281c0392f267f374df6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/extra.cc
rfe7424 r7a6c06 2 2 * Computer Algebra System SINGULAR * 3 3 *****************************************/ 4 /* $Id: extra.cc,v 1.27 7 2008-07-23 07:10:50 motsakExp $ */4 /* $Id: extra.cc,v 1.278 2008-07-25 12:41:43 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: general interface to internals of Singular ("system" command) … … 2609 2609 else 2610 2610 #endif // HAVE_RATGRING 2611 /*==================== Rat def =================*/ 2612 if (strcmp(sys_cmd, "ratVar") == 0) 2613 { 2614 int start,end; 2615 int is; 2616 if ((h!=NULL) && (h->Typ()==POLY_CMD)) 2617 { 2618 start=pIsPurePower((poly)h->Data()); 2619 h=h->next; 2620 } 2621 else return TRUE; 2622 if ((h!=NULL) && (h->Typ()==POLY_CMD)) 2623 { 2624 end=pIsPurePower((poly)h->Data()); 2625 h=h->next; 2626 } 2627 else return TRUE; 2628 currRing->real_var_start=start; 2629 currRing->real_var_end=end; 2630 return (start==0)||(end==0); 2631 } 2632 else 2611 2633 /*==================== freeGB, twosided GB in free algebra =================*/ 2612 2634 #ifdef HAVE_SHIFTBBA
Note: See TracChangeset
for help on using the changeset viewer.