Changeset 6ae4f5 in git
- Timestamp:
- Apr 9, 1997, 2:20:17 PM (26 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- feaddd38f9cf78a784df825347f9f83cbb667a40
- Parents:
- e2f1c7b90d7253794bed6c9fcd2adf63ddae5124
- Location:
- Singular
- Files:
-
- 57 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/algmap.h
re2f1c7 r6ae4f5 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: algmap.h,v 1.3 1997-04-09 12:19:37 Singular Exp $ */ 6 7 /* 7 * ABSTRACT 8 * ABSTRACT: 8 9 */ 9 10 #include "structs.h" -
Singular/attrib.h
re2f1c7 r6ae4f5 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: attrib.h,v 1.3 1997-04-09 12:19:37 Singular Exp $ */ 6 7 /* 7 * ABSTRACT 8 * ABSTRACT: attributes to leftv and idhdl 8 9 */ 9 10 #include <string.h> -
Singular/binom.h
re2f1c7 r6ae4f5 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: binom.h,v 1.3 1997-04-09 12:19:38 Singular Exp $ */ 6 7 /* 7 * ABSTRACT 8 * ABSTRACT - set order (=number of monomial) for dp 8 9 */ 9 10 //#define TEST_MAC_ORDER -
Singular/clapconv.cc
re2f1c7 r6ae4f5 3 3 * Computer Algebra System SINGULAR * 4 4 ****************************************/ 5 // $Id: clapconv.cc,v 1. 3 1997-04-08 16:49:16Singular Exp $5 // $Id: clapconv.cc,v 1.4 1997-04-09 12:19:38 Singular Exp $ 6 6 /* 7 7 * ABSTRACT: convert data between Singular and factory … … 517 517 } 518 518 519 int convClapISingI( const CanonicalForm & f) 520 { 521 if (!f.isImm()) Werror("int overflow in det"); 522 return f.intval(); 523 } 519 524 #endif -
Singular/clapconv.h
re2f1c7 r6ae4f5 1 1 // emacs edit mode for this file is -*- C++ -*- 2 // $Id: clapconv.h,v 1.2 1997-03-21 13:18:55 Singular Exp $ 2 /**************************************** 3 * Computer Algebra System SINGULAR * 4 ****************************************/ 5 // $Id: clapconv.h,v 1.3 1997-04-09 12:19:39 Singular Exp $ 6 /* 7 * ABSTRACT: convert data between Singular and factory 8 */ 9 3 10 4 11 #ifndef INCL_SINGCONV_H … … 25 32 poly convClapPSingTrP ( const CanonicalForm & f ); 26 33 34 // CanonicalForm convSingIClapI( int i);a <- by constructor of CanonicalForm 35 int convClapISingI( const CanonicalForm & f); 27 36 #endif /* INCL_SINGCONV_H */ -
Singular/clapsing.cc
re2f1c7 r6ae4f5 3 3 * Computer Algebra System SINGULAR * 4 4 ****************************************/ 5 // $Id: clapsing.cc,v 1. 2 1997-04-08 16:49:18Singular Exp $5 // $Id: clapsing.cc,v 1.3 1997-04-09 12:19:40 Singular Exp $ 6 6 /* 7 7 * ABSTRACT: interface between Singular and factory … … 625 625 return res; 626 626 } 627 628 int singclap_det_i( intvec * m ) 629 { 630 setCharacteristic( 0 ); 631 CFMatrix M(m->rows(),m->cols()); 632 int i,j; 633 for(i=1;i<=m->rows();i++) 634 { 635 for(j=1;j<=m->cols();j++) 636 { 637 M(i,j)=IMATELEM(*m,i,j); 638 } 639 } 640 int res= convClapISingI( determinant(M,m->rows())) ; 641 Off(SW_RATIONAL); 642 return res; 643 } 627 644 /*==============================================================*/ 628 645 /* interpreter interface : */ -
Singular/clapsing.h
re2f1c7 r6ae4f5 1 1 // emacs edit mode for this file is -*- C++ -*- 2 // $Id: clapsing.h,v 1.1.1.1 1997-03-19 13:18:53 obachman Exp $ 2 /**************************************** 3 * Computer Algebra System SINGULAR * 4 ****************************************/ 5 // $Id: clapsing.h,v 1.2 1997-04-09 12:19:41 Singular Exp $ 6 /* 7 * ABSTRACT: interface between Singular and factory 8 */ 9 3 10 4 11 #ifndef INCL_FACTORYSING_H … … 32 39 33 40 poly singclap_det( const matrix m ); 41 int singclap_det_i( intvec * m ); 34 42 35 43 BOOLEAN jjGCD_P(leftv res, leftv u, leftv v); -
Singular/cntrlc.h
re2f1c7 r6ae4f5 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: cntrlc.h,v 1.3 1997-04-09 12:19:41 Singular Exp $ */ 6 7 /* 7 8 * ABSTRACT - interupt and signal handling -
Singular/febase.h
re2f1c7 r6ae4f5 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: febase.h,v 1.3 1997-04-09 12:19:42 Singular Exp $ */ 6 7 /* 7 8 * ABSTRACT -
Singular/ffields.h
re2f1c7 r6ae4f5 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: ffields.h,v 1.3 1997-04-09 12:19:43 Singular Exp $ */ 6 7 /* 7 * ABSTRACT - interupt and signal handling8 * ABSTRACT: finite fields with a none-prime number of elements (via tables) 8 9 */ 9 10 #include "structs.h" -
Singular/grammar.y
re2f1c7 r6ae4f5 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: grammar.y,v 1. 5 1997-03-27 20:23:39 obachmanExp $ */4 /* $Id: grammar.y,v 1.6 1997-04-09 12:19:43 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: SINGULAR shell grammatik … … 149 149 %token <i> DEGREE_CMD 150 150 %token <i> DEG_CMD 151 %token <i> DET_CMD152 151 %token <i> DIFF_CMD 153 152 %token <i> DIM_CMD … … 1532 1531 FreeL((ADDRESS)$3); 1533 1532 } 1534 | PROC_CMD e xtendedid'=' expr ';'1533 | PROC_CMD elemexpr '=' expr ';' 1535 1534 { 1536 1535 #ifdef SIC … … 1542 1541 } 1543 1542 #endif 1544 if ($4.Typ()!=STRING_CMD) 1545 MYYERROR("string expression expected"); 1546 idhdl h = enterid($2,myynest,PROC_CMD,&idroot,FALSE); 1547 if (h==NULL) YYERROR; 1548 IDSTRING(h) = (char *)$4.CopyD(); 1549 $4.CleanUp(); 1543 sleftv v; 1544 if ((iiDeclCommand(&v,&$2,myynest,PROC_CMD,&idroot,FALSE)) 1545 || (iiAssign(&v,&($4)))) YYERROR; 1550 1546 } 1551 1547 | PROC_DEF STRINGTOK BLOCKTOK -
Singular/ideals.h
re2f1c7 r6ae4f5 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: ideals.h,v 1.3 1997-04-09 12:19:44 Singular Exp $ */ 6 7 /* 7 * ABSTRACT 8 * ABSTRACT - all basic methods to manipulate ideals 8 9 */ 9 10 #include "structs.h" -
Singular/intvec.h
re2f1c7 r6ae4f5 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: intvec.h,v 1.3 1997-04-09 12:19:45 Singular Exp $ */ 6 7 /* 7 * ABSTRACT 8 * ABSTRACT: class intvec: lists/vectors of integers 8 9 */ 9 10 #include <string.h> -
Singular/iparith.cc
re2f1c7 r6ae4f5 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: iparith.cc,v 1.1 6 1997-04-08 08:43:16 obachmanExp $ */4 /* $Id: iparith.cc,v 1.17 1997-04-09 12:19:46 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: table driven kernel interface, used by interpreter … … 1867 1867 ,{jjTIMES_MA, '*', MATRIX_CMD, MATRIX_CMD, MATRIX_CMD } 1868 1868 ,{jjOP_IV_I, '*', INTVEC_CMD, INTVEC_CMD, INT_CMD } 1869 ,{jjOP_I_IV, '*', INTVEC_CMD, INT_CMD, INTVEC_CMD } 1869 1870 ,{jjOP_IV_I, '*', INTMAT_CMD, INTMAT_CMD, INT_CMD } 1871 ,{jjOP_I_IV, '*', INTMAT_CMD, INT_CMD, INTMAT_CMD } 1870 1872 ,{jjTIMES_IV, '*', INTVEC_CMD, INTMAT_CMD, INTVEC_CMD } 1871 1873 ,{jjTIMES_IV, '*', INTMAT_CMD, INTMAT_CMD, INTMAT_CMD } … … 2068 2070 return FALSE; 2069 2071 } 2072 static BOOLEAN jjNULL(leftv res, leftv u) 2073 { 2074 return FALSE; 2075 } 2070 2076 //static BOOLEAN jjPLUSPLUS(leftv res, leftv u) 2071 2077 //{ … … 2251 2257 } 2252 2258 2253 res->data = (char *)singclap_det( (matrix)(v->Data()));2259 res->data = (char *)singclap_det(m); 2254 2260 return FALSE; 2255 2261 } 2256 2262 nonconst: 2257 res->data = (char *)mpDet((matrix)(v->Data())); 2263 res->data = (char *)mpDet(m); 2264 return FALSE; 2265 } 2266 static BOOLEAN jjDET_I(leftv res, leftv v) 2267 { 2268 int i,j; 2269 intvec * m=(intvec*)v->Data(); 2270 res->data = (char *)singclap_det_i(m); 2258 2271 return FALSE; 2259 2272 } … … 2898 2911 ,{jjCOUNT_IV, COUNT_CMD, INT_CMD, INTMAT_CMD } 2899 2912 ,{jjCOUNT_L, COUNT_CMD, INT_CMD, LIST_CMD } 2913 ,{jjNULL, DEF_CMD, DEF_CMD, INT_CMD } 2900 2914 ,{jjWRONG, DEF_CMD, 0, ANY_TYPE } 2901 2915 ,{jjDEG, DEG_CMD, INT_CMD, POLY_CMD } … … 2905 2919 ,{jjDEFINED, DEFINED_CMD, INT_CMD, DEF_CMD } 2906 2920 #ifdef HAVE_LIBFACTORY 2921 ,{jjDET_I, DET_CMD, INT_CMD, INTMAT_CMD } 2907 2922 ,{jjDET, DET_CMD, POLY_CMD, MATRIX_CMD } 2908 2923 #else 2924 //,{jjWRONG, DET_CMD, INT_CMD, INTMAT_CMD } 2909 2925 ,{jjmpDet, DET_CMD, -((s)POLY_CMD), MATRIX_CMD } 2910 2926 #endif -
Singular/ipassign.cc
re2f1c7 r6ae4f5 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: ipassign.cc,v 1. 7 1997-04-08 08:43:19 obachmanExp $ */4 /* $Id: ipassign.cc,v 1.8 1997-04-09 12:19:48 Singular Exp $ */ 5 5 6 6 /* … … 512 512 return TRUE; 513 513 } 514 if((rt==DEF_CMD)||(rt==NONE)) 515 { 516 if (!errorreported) WerrorS("right side is not a datum"); 517 return TRUE; 518 } 514 519 515 520 int i=0; … … 729 734 h->next=NULL; 730 735 rt=h->Typ(); 731 if ( rt==0)736 if ((rt==0)||(rt==NONE)) 732 737 { 733 738 L->Clean(); -
Singular/ipconv.h
re2f1c7 r6ae4f5 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: ipconv.h,v 1.3 1997-04-09 12:19:49 Singular Exp $ */ 6 7 /* 7 * ABSTRACT 8 * ABSTRACT: interpreter: converting types 8 9 */ 9 10 #include "structs.h" -
Singular/ipid.h
re2f1c7 r6ae4f5 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: ipid.h,v 1.3 1997-04-09 12:19:50 Singular Exp $ */ 6 7 /* 7 * ABSTRACT 8 * ABSTRACT: identfier handling 8 9 */ 9 10 #include <string.h> -
Singular/ipprint.h
re2f1c7 r6ae4f5 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: ipprint.h,v 1.3 1997-04-09 12:19:50 Singular Exp $ */ 6 7 /* 7 * ABSTRACT 8 * ABSTRACT: interpreter: printing 8 9 */ 9 10 #include "structs.h" -
Singular/ipshell.h
re2f1c7 r6ae4f5 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: ipshell.h,v 1.3 1997-04-09 12:19:51 Singular Exp $ */ 6 7 /* 7 8 * ABSTRACT -
Singular/khstd.h
re2f1c7 r6ae4f5 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: khstd.h,v 1.3 1997-04-09 12:19:52 Singular Exp $ */ 6 7 /* 7 8 * ABSTRACT:hilbert driven std -
Singular/kstd1.h
re2f1c7 r6ae4f5 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: kstd1.h,v 1.3 1997-04-09 12:19:52 Singular Exp $ */ 6 7 /* 7 8 * ABSTRACT -
Singular/kstd2.h
re2f1c7 r6ae4f5 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: kstd2.h,v 1.3 1997-04-09 12:19:53 Singular Exp $ */ 6 7 /* 7 * ABSTRACT 8 * ABSTRACT - Kernel: alg. of Buchberger 8 9 */ 9 10 #include "structs.h" -
Singular/kstdfac.h
re2f1c7 r6ae4f5 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: kstdfac.h,v 1.3 1997-04-09 12:19:53 Singular Exp $ */ 6 7 /* 7 * ABSTRACT8 * ABSTRACT - Kernel: factorizing alg. of Buchberger 8 9 */ 9 10 #include "structs.h" -
Singular/kutil.h
re2f1c7 r6ae4f5 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: kutil.h,v 1.3 1997-04-09 12:19:54 Singular Exp $ */ 6 7 /* 7 * ABSTRACT 8 * ABSTRACT: kernel: utils for std 8 9 */ 9 10 #include "structs.h" -
Singular/lists.cc
re2f1c7 r6ae4f5 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: lists.cc,v 1. 3 1997-04-02 15:07:20Singular Exp $ */4 /* $Id: lists.cc,v 1.4 1997-04-09 12:19:55 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: handling of the list type … … 70 70 lists lInsert0(lists ul, leftv v, int pos) 71 71 { 72 if ((pos<0)||(v->rtyp==NONE)) 73 return NULL; 72 74 lists l=(lists) Alloc(sizeof(slists)); 73 if (pos<0) return NULL;74 75 l->Init(max(ul->nr+2,pos+1)); 75 76 int i,j; … … 99 100 lists ul=(lists)u->CopyD(); 100 101 res->data=(char *)lInsert0(ul,v,0); 101 return FALSE;102 return (res->data==NULL); 102 103 } 103 104 … … 109 110 lists ul=(lists)u->CopyD(); 110 111 res->data=(char *)lInsert0(ul,v,(int)w->Data()); 111 return FALSE;112 return (res->data==NULL); 112 113 } 113 114 … … 119 120 lists ul=(lists)u->CopyD(); 120 121 res->data=(char *)lInsert0(ul,v,ul->nr+1); 121 return FALSE;122 return (res->data==NULL); 122 123 } 123 124 -
Singular/lists.h
re2f1c7 r6ae4f5 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: lists.h,v 1.3 1997-04-09 12:19:55 Singular Exp $ */ 6 7 /* 7 8 * ABSTRACT: handling of the list type -
Singular/longalg.h
re2f1c7 r6ae4f5 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: longalg.h,v 1.3 1997-04-09 12:19:56 Singular Exp $ */ 6 7 /* 7 * ABSTRACT 8 * ABSTRACT: algebraic numbers 8 9 */ 9 10 #include "longrat.h" -
Singular/longrat.h
re2f1c7 r6ae4f5 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: longrat.h,v 1.3 1997-04-09 12:19:57 Singular Exp $ */ 6 7 /* 7 * ABSTRACT 8 * ABSTRACT: computation with long rational numbers 8 9 */ 9 10 #include "structs.h" -
Singular/maps.h
re2f1c7 r6ae4f5 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: maps.h,v 1.5 1997-04-09 12:19:57 Singular Exp $ */ 6 7 /* 7 * ABSTRACT 8 * ABSTRACT - the mapping of polynomials to other rings 8 9 */ 9 10 #include "structs.h" -
Singular/matpol.h
re2f1c7 r6ae4f5 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: matpol.h,v 1.4 1997-04-09 12:19:58 Singular Exp $ */ 6 7 /* 7 8 * ABSTRACT -
Singular/misc.cc
re2f1c7 r6ae4f5 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: misc.cc,v 1. 4 1997-04-02 15:07:27Singular Exp $ */4 /* $Id: misc.cc,v 1.5 1997-04-09 12:19:59 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: … … 61 61 I_FEbase(); 62 62 memset(&sLastPrinted,0,sizeof(sleftv)); 63 sLastPrinted.rtyp=NONE; 63 64 #ifdef HAVE_MPSR 64 65 extern void mpsr_Init(); -
Singular/mmemory.h
re2f1c7 r6ae4f5 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: mmemory.h,v 1.3 1997-04-09 12:19:59 Singular Exp $ */ 6 7 /* 7 8 * ABSTRACT -
Singular/modulop.h
re2f1c7 r6ae4f5 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: modulop.h,v 1.3 1997-04-09 12:20:01 Singular Exp $ */ 6 7 /* 7 * ABSTRACT 8 * ABSTRACT: numbers modulo p (<=32003) 8 9 */ 9 10 #include "structs.h" -
Singular/mpsr.h
re2f1c7 r6ae4f5 1 /**************************************** 2 * Computer Algebra System SINGULAR * 3 ****************************************/ 4 /* $Id: mpsr.h,v 1.4 1997-04-09 12:20:01 Singular Exp $ */ 1 5 /*************************************************************** 2 6 * -
Singular/mpsr_Get.h
re2f1c7 r6ae4f5 1 /**************************************** 2 * Computer Algebra System SINGULAR * 3 ****************************************/ 4 /* $Id: mpsr_Get.h,v 1.2 1997-04-09 12:20:02 Singular Exp $ */ 1 5 /*************************************************************** 2 6 * -
Singular/mpsr_Put.h
re2f1c7 r6ae4f5 1 /**************************************** 2 * Computer Algebra System SINGULAR * 3 ****************************************/ 4 /* $Id: mpsr_Put.h,v 1.2 1997-04-09 12:20:03 Singular Exp $ */ 1 5 /*************************************************************** 2 6 * -
Singular/mpsr_Timer.h
re2f1c7 r6ae4f5 1 /**************************************** 2 * Computer Algebra System SINGULAR * 3 ****************************************/ 4 /* $Id: mpsr_Timer.h,v 1.2 1997-04-09 12:20:04 Singular Exp $ */ 5 1 6 /*************************************************************** 2 7 * -
Singular/mpsr_Tok.h
re2f1c7 r6ae4f5 1 /**************************************** 2 * Computer Algebra System SINGULAR * 3 ****************************************/ 4 /* $Id: mpsr_Tok.h,v 1.2 1997-04-09 12:20:05 Singular Exp $ */ 5 1 6 /*************************************************************** 2 7 * -
Singular/numbers.h
re2f1c7 r6ae4f5 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: numbers.h,v 1.3 1997-04-09 12:20:05 Singular Exp $ */ 6 7 /* 7 * ABSTRACT 8 * ABSTRACT: interface to coefficient aritmetics 8 9 */ 9 10 #include "structs.h" -
Singular/polys.h
re2f1c7 r6ae4f5 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: polys.h,v 1.3 1997-04-09 12:20:06 Singular Exp $ */ 6 7 /* 7 * ABSTRACT 8 * ABSTRACT - all basic methods to manipulate polynomials 8 9 */ 9 10 #include "structs.h" -
Singular/ring.h
re2f1c7 r6ae4f5 5 5 ****************************************/ 6 6 /* 7 * ABSTRACT 7 * ABSTRACT - the interpreter related ring operations 8 8 */ 9 /* $Id: ring.h,v 1. 3 1997-03-27 12:42:49Singular Exp $ */9 /* $Id: ring.h,v 1.4 1997-04-09 12:20:07 Singular Exp $ */ 10 10 11 11 /* includes */ -
Singular/scanner.l
re2f1c7 r6ae4f5 3 3 * Computer Algebra System SINGULAR * 4 4 ****************************************/ 5 /* $Id: scanner.l,v 1. 3 1997-03-27 12:42:50Singular Exp $ */5 /* $Id: scanner.l,v 1.4 1997-04-09 12:20:07 Singular Exp $ */ 6 6 #include <stdio.h> 7 7 #include <string.h> … … 92 92 %x string 93 93 %x block 94 %x blockstr 94 95 %x brace 95 96 %x bracestr … … 135 136 136 137 <brace>"\"" { 137 noeof = noeof_ brace;138 noeof = noeof_string; 138 139 BEGIN(bracestr); 139 140 yymore(); … … 186 187 BEGIN(block); 187 188 } 188 <block>[^\{\}]* { yymore(); } 189 <block>"\"" { 190 noeof = noeof_string; 191 BEGIN(blockstr); 192 yymore(); 193 } 194 <blockstr>[^\"] { yymore(); } 195 <blockstr>"\\\\" { yymore(); } 196 <blockstr>"\\\"" { yymore(); } 197 <blockstr>"\"" { 198 noeof = noeof_block; 199 BEGIN(block); 200 yymore(); 201 } 202 <block>[^\{\}\"]* { yymore(); } 189 203 <block>"{" { blocknest++; yymore(); } 190 204 <block>"}" { -
Singular/silink.cc
re2f1c7 r6ae4f5 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: silink.cc,v 1. 7 1997-04-08 08:43:27 obachmanExp $ */4 /* $Id: silink.cc,v 1.8 1997-04-09 12:20:08 Singular Exp $ */ 5 5 6 6 /* 7 * ABSTRACT 8 */ 9 /* $Log: not supported by cvs2svn $ 10 // Revision 1.5 1997/03/29 15:02:38 obachman 11 // Sat Mar 29 16:01:39 1997 Olaf Bachmann 12 // <obachman@ratchwum.mathematik.uni-kl.de (Olaf Bachmann)> 13 // 14 // * silink.cc (DumpQring): Takes care of dumping a Qring 15 // 16 // Revision 1.4 1997/03/28 21:44:36 obachman 17 // Fri Mar 28 14:12:05 1997 Olaf Bachmann 18 // <obachman@ratchwum.mathematik.uni-kl.de (Olaf Bachmann)> 19 // 20 // * Added routines dump(link) and getdump(link) for ascii and MP 21 // links 22 // 23 // * ipconv.cc (dConvertTypes): added int->module conversion so that 24 // 'module m = 0' works 25 // 26 // * iparith.cc (jjVAR1): added LINK_CMD to list of typeof(...) 27 // 28 // Revision 1.3 1997/03/26 14:58:02 obachman 29 // Wed Mar 26 14:02:15 1997 Olaf Bachmann 30 // <obachman@ratchwum.mathematik.uni-kl.de (Olaf Bachmann)> 31 // 32 // * added reference counter to links, updated slKill, slCopy, slInit 33 // * various small bug fixes for Batch mode 34 // 35 // Revision 1.1.1.1 1997/03/19 13:18:42 obachman 36 // Imported Singular sources 37 // 7 * ABSTRACT: general interface to links 38 8 */ 39 9 -
Singular/silink.h
re2f1c7 r6ae4f5 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: silink.h,v 1. 6 1997-04-08 08:43:29 obachmanExp $ */6 /* $Id: silink.h,v 1.7 1997-04-09 12:20:09 Singular Exp $ */ 7 7 /* 8 * ABSTRACT 9 */ 10 /* $Log: not supported by cvs2svn $ 11 * Revision 1.4 1997/03/28 21:44:37 obachman 12 * Fri Mar 28 14:12:05 1997 Olaf Bachmann 13 * <obachman@ratchwum.mathematik.uni-kl.de (Olaf Bachmann)> 14 * 15 * * Added routines dump(link) and getdump(link) for ascii and MP 16 * links 17 * 18 * * ipconv.cc (dConvertTypes): added int->module conversion so that 19 * 'module m = 0' works 20 * 21 * * iparith.cc (jjVAR1): added LINK_CMD to list of typeof(...) 22 * 23 * Revision 1.3 1997/03/26 14:58:03 obachman 24 * Wed Mar 26 14:02:15 1997 Olaf Bachmann 25 * <obachman@ratchwum.mathematik.uni-kl.de (Olaf Bachmann)> 26 * 27 * * added reference counter to links, updated slKill, slCopy, slInit 28 * * various small bug fixes for Batch mode 29 * 30 * Revision 1.1.1.1 1997/03/19 13:18:41 obachman 31 * Imported Singular sources 32 * 8 * ABSTRACT: general interface to links 33 9 */ 34 10 -
Singular/sing_dbm.cc
re2f1c7 r6ae4f5 5 5 //************************************************************************** 6 6 // 7 // $Id: sing_dbm.cc,v 1. 3 1997-04-08 16:45:32Singular Exp $7 // $Id: sing_dbm.cc,v 1.4 1997-04-09 12:20:09 Singular Exp $ 8 8 // 9 9 //************************************************************************** … … 175 175 || (strcmp(request, "write") == 0)) 176 176 { 177 if (SI_LINK_R _OPEN_P(l)) return "ready";178 else return "not ready";177 if (SI_LINK_RW_OPEN_P(l)) return "ready"; 178 else return "not ready"; 179 179 } 180 180 else return "unknown status request"; -
Singular/sing_mp.cc
re2f1c7 r6ae4f5 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: sing_mp.cc,v 1. 7 1997-04-08 08:43:30 obachmanExp $ */4 /* $Id: sing_mp.cc,v 1.8 1997-04-09 12:20:10 Singular Exp $ */ 5 5 6 6 /* 7 * ABSTRACT 8 */ 9 /* $Log: not supported by cvs2svn $ 10 // Revision 1.5 1997/03/28 21:44:38 obachman 11 // Fri Mar 28 14:12:05 1997 Olaf Bachmann 12 // <obachman@ratchwum.mathematik.uni-kl.de (Olaf Bachmann)> 13 // 14 // * Added routines dump(link) and getdump(link) for ascii and MP 15 // links 16 // 17 // * ipconv.cc (dConvertTypes): added int->module conversion so that 18 // 'module m = 0' works 19 // 20 // * iparith.cc (jjVAR1): added LINK_CMD to list of typeof(...) 21 // 22 // Revision 1.4 1997/03/26 14:58:05 obachman 23 // Wed Mar 26 14:02:15 1997 Olaf Bachmann 24 // <obachman@ratchwum.mathematik.uni-kl.de (Olaf Bachmann)> 25 // 26 // * added reference counter to links, updated slKill, slCopy, slInit 27 // * various small bug fixes for Batch mode 28 // 29 // Revision 1.2 1997/03/20 16:59:58 obachman 30 // Various minor bug-fixes in mpsr interface 31 // 32 // Thu Mar 20 11:57:00 1997 Olaf Bachmann <obachman@schlupp.mathematik.uni-kl.de (Olaf Bachmann)> 33 // 34 // * sing_mp.cc (slInitBatchLink): initialized silink such that 35 // l->argv[0] == "MP:connect" (otherwise, slInitMP failed) 36 // 37 // Wed Mar 19 15:38:08 1997 Olaf Bachmann <obachman@schlupp.mathematik.uni-kl.de (Olaf Bachmann)> 38 // 39 // * hannes fixed maFindPerm to reflect new names <->parameter scheme 40 // 41 // * sing_mp.cc (mpsr_IsMPLink): fixed it 42 // 43 // * Makefile (tags): added target tags 44 // 45 // Revision 1.1.1.1 1997/03/19 13:18:41 obachman 46 // Imported Singular sources 47 // 7 * ABSTRACT: interface to MP links 48 8 */ 49 9 -
Singular/sing_mp.h
re2f1c7 r6ae4f5 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: sing_mp.h,v 1.5 1997-04-09 12:20:11 Singular Exp $ */ 6 7 /* 7 * ABSTRACT 8 * ABSTRACT: interface to MP links 8 9 */ 9 /* $Id: sing_mp.h,v 1.4 1997-04-08 08:43:31 obachman Exp $ */10 10 11 11 -
Singular/spolys.h
re2f1c7 r6ae4f5 5 5 ****************************************/ 6 6 /* 7 * ABSTRACT 7 * ABSTRACT: s-polynomials 8 8 */ 9 /* $Id: spolys.h,v 1. 2 1997-03-24 14:25:53Singular Exp $ */9 /* $Id: spolys.h,v 1.3 1997-04-09 12:20:11 Singular Exp $ */ 10 10 #include "structs.h" 11 11 -
Singular/spolys0.h
re2f1c7 r6ae4f5 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: spolys0.h,v 1.3 1997-04-09 12:20:12 Singular Exp $ */ 6 7 /* 7 * ABSTRACT 8 * ABSTRACT: s-polynomials, internal header 8 9 */ 9 /* $Id: spolys0.h,v 1.2 1997-03-24 14:25:55 Singular Exp $ */10 10 #include "polys.h" 11 11 #include "binom.h" -
Singular/stairc.h
re2f1c7 r6ae4f5 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: stairc.h,v 1.3 1997-04-09 12:20:13 Singular Exp $ */ 6 7 /* 7 8 * ABSTRACT 8 9 */ 9 /* $Id: stairc.h,v 1.2 1997-03-24 14:25:56 Singular Exp $ */10 10 11 11 #include "structs.h" -
Singular/structs.h
re2f1c7 r6ae4f5 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: structs.h,v 1.3 1997-04-09 12:20:13 Singular Exp $ */ 6 7 /* 7 8 * ABSTRACT 8 9 */ 9 /* $Id: structs.h,v 1.2 1997-03-24 14:25:57 Singular Exp $ */10 10 11 11 /* standard types */ -
Singular/stype.h
re2f1c7 r6ae4f5 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: stype.h,v 1.3 1997-04-09 12:20:14 Singular Exp $ */ 6 7 /* 7 8 * ABSTRACT: flex/bison interface 8 9 */ 9 /* $Id: stype.h,v 1.2 1997-03-24 14:25:58 Singular Exp $ */10 10 11 11 #include "structs.h" -
Singular/subexpr.cc
re2f1c7 r6ae4f5 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: subexpr.cc,v 1.1 1 1997-04-08 08:43:32 obachmanExp $ */4 /* $Id: subexpr.cc,v 1.12 1997-04-09 12:20:14 Singular Exp $ */ 5 5 6 6 /* 7 * ABSTRACT: 7 * ABSTRACT: handling of leftv 8 8 */ 9 9 … … 212 212 && (t/*Typ()*/!=PACKAGE_CMD) 213 213 && (t/*Typ()*/!=PROC_CMD) 214 && (t/*Typ()*/!=DEF_CMD) 214 215 ) 215 216 { … … 543 544 return (void *)slCopy((si_link) d); 544 545 case 0: 546 case DEF_CMD: 545 547 break; 546 548 #ifdef TEST -
Singular/subexpr.h
re2f1c7 r6ae4f5 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: subexpr.h,v 1.3 1997-04-09 12:20:15 Singular Exp $ */ 6 7 /* 7 * ABSTRACT 8 * ABSTRACT: handling of leftv 8 9 */ 9 /* $Id: subexpr.h,v 1.2 1997-03-24 14:25:59 Singular Exp $ */10 10 11 11 #include <string.h> -
Singular/syz.h
re2f1c7 r6ae4f5 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: syz.h,v 1. 3 1997-04-03 12:16:48Singular Exp $ */6 /* $Id: syz.h,v 1.4 1997-04-09 12:20:16 Singular Exp $ */ 7 7 /* 8 * ABSTRACT 8 * ABSTRACT: resolutions 9 9 */ 10 10 #include "structs.h" -
Singular/timer.h
re2f1c7 r6ae4f5 5 5 ****************************************/ 6 6 /* 7 * ABSTRACT7 * ABSTRACT - get the computing time 8 8 */ 9 /* $Id: timer.h,v 1. 3 1997-03-27 20:26:05 obachmanExp $ */9 /* $Id: timer.h,v 1.4 1997-04-09 12:20:17 Singular Exp $ */ 10 10 11 11 extern int timerv; -
Singular/tok.h
re2f1c7 r6ae4f5 5 5 ****************************************/ 6 6 /* 7 * ABSTRACT 7 * ABSTRACT: token for interpreter, as types; general macros 8 8 */ 9 /* $Id: tok.h,v 1. 6 1997-04-08 08:43:35 obachmanExp $ */9 /* $Id: tok.h,v 1.7 1997-04-09 12:20:17 Singular Exp $ */ 10 10 11 11 #ifndef MYYSTYPE … … 60 60 DEFINED_CMD, 61 61 DELETE_CMD, 62 DET_CMD, 62 63 DUMP_CMD, 63 64 EXTGCD_CMD,
Note: See TracChangeset
for help on using the changeset viewer.