Changeset 2ab41e8 in git
- Timestamp:
- Feb 12, 2009, 2:29:49 PM (14 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- 90a60fe38bdb36d2a9edfceca3250e947ac9d379
- Parents:
- d7d5f6ec23c1062b8e3dbc3905eed0672ce62cbc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/extra.cc
rd7d5f6 r2ab41e8 2 2 * Computer Algebra System SINGULAR * 3 3 *****************************************/ 4 /* $Id: extra.cc,v 1.29 2 2009-02-11 14:57:54 monerjanExp $ */4 /* $Id: extra.cc,v 1.293 2009-02-12 13:29:49 motsak Exp $ */ 5 5 /* 6 6 * ABSTRACT: general interface to internals of Singular ("system" command) … … 696 696 else 697 697 #endif 698 699 #define HAVE_SHEAFCOH_TRICKS 1 700 701 #ifdef HAVE_SHEAFCOH_TRICKS 702 if(strcmp(sys_cmd,"tensorModuleMult")==0) 703 { 704 // WarnS("tensorModuleMult!"); 705 if (h!=NULL && h->Typ()==INT_CMD && h->Data() != NULL && 706 h->next != NULL && h->next->Typ() == MODUL_CMD 707 && h->next->Data() != NULL) 708 { 709 int m = (int)( (long)h->Data() ); 710 ideal M = (ideal)h->next->Data(); 711 712 res->rtyp=MODUL_CMD; 713 res->data=(void *)tensorModuleMult(m, M, currRing); 714 return FALSE; 715 } 716 717 WerrorS("system(\"tensorModuleMult\", int, module) expected"); 718 return TRUE; 719 } else 720 #endif 721 722 698 723 #ifdef HAVE_PLURAL 699 724 /*==================== Approx_Step =================*/ … … 857 882 return FALSE; 858 883 } 884 885 886 859 887 860 888 /*==================== PLURAL =================*/
Note: See TracChangeset
for help on using the changeset viewer.