Changeset d15996 in git
- Timestamp:
- May 11, 2007, 12:50:40 PM (16 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '0604212ebb110535022efecad887940825b97c3f')
- Children:
- a5d7c1678c0189cdbfc0cdf82adb206d80d8bcbb
- Parents:
- 206e158300abe1d4f5f645360e34cd93c2f16071
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/extra.cc
r206e158 rd15996 2 2 * Computer Algebra System SINGULAR * 3 3 *****************************************/ 4 /* $Id: extra.cc,v 1.25 3 2007-03-12 14:13:22 levandovExp $ */4 /* $Id: extra.cc,v 1.254 2007-05-11 10:50:40 wienand Exp $ */ 5 5 /* 6 6 * ABSTRACT: general interface to internals of Singular ("system" command) … … 55 55 #include "mpr_complex.h" 56 56 57 #ifdef HAVE_RING 2TOM57 #ifdef HAVE_RINGS 58 58 #include "ringgb.h" 59 59 #endif … … 2542 2542 } 2543 2543 else 2544 if (strcmp(sys_cmd, "redNF_ring")==0) 2545 { 2546 ring r = currRing; 2547 poly f = (poly) h->Data(); 2548 h = h->next; 2549 ideal G = (ideal) h->Data(); 2550 res->rtyp=POLY_CMD; 2551 res->data=(poly) ringRedNF(f, G, r); 2552 return(FALSE); 2553 } 2554 else 2555 #endif 2556 #ifdef HAVE_RINGS 2557 /*==================== Testing groebner basis =================*/ 2544 2558 if (strcmp(sys_cmd, "NF_ring")==0) 2545 2559 { … … 2553 2567 } 2554 2568 else 2555 if (strcmp(sys_cmd, "redNF_ring")==0)2556 {2557 ring r = currRing;2558 poly f = (poly) h->Data();2559 h = h->next;2560 ideal G = (ideal) h->Data();2561 res->rtyp=POLY_CMD;2562 res->data=(poly) ringRedNF(f, G, r);2563 return(FALSE);2564 }2565 else2566 /*==================== Testing groebner basis =================*/2567 2569 if (strcmp(sys_cmd, "spoly")==0) 2568 2570 {
Note: See TracChangeset
for help on using the changeset viewer.