Changeset 5d32fd in git
- Timestamp:
- Nov 24, 1999, 7:13:23 PM (24 years ago)
- Branches:
- (u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
- Children:
- 4b72f66b46b8b566048c1a700efc18093f7225f0
- Parents:
- e514ee03b6532cbf576ae3600314e75f2b3c5a8f
- Location:
- Singular
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/extra.cc
re514ee r5d32fd 2 2 * Computer Algebra System SINGULAR * 3 3 *****************************************/ 4 /* $Id: extra.cc,v 1.1 19 1999-11-24 17:09:34Singular Exp $ */4 /* $Id: extra.cc,v 1.120 1999-11-24 18:13:20 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: general interface to internals of Singular ("system" command) … … 52 52 #include "distrib.h" 53 53 #include "prCopy.h" 54 #ifdef HAVE_SPECTRUM 55 #include "spectrum.h" 56 #endif 57 54 58 55 59 // Define to enable many more system commands … … 441 445 else 442 446 { 447 /*==================== spectrum =============================*/ 448 #ifdef HAVE_SPECTRUM 449 if(strcmp(sys_cmd,"spectrum") == 0) 450 { 451 if (h->Typ()!=POLY_CMD) 452 { 453 WerrorS("poly expected"); 454 return TRUE; 455 } 456 if (h->next==NULL) 457 return spectrumProc(res,h); 458 if (h->next->Typ()!=INT_CMD) 459 { 460 WerrorS("poly,int expected"); 461 return TRUE; 462 } 463 if(((int)h->next->Data())==1) 464 return spectrumfProc(res,h); 465 return spectrumProc(res,h); 466 } 467 else 468 { 469 #endif 443 470 /*================= Extended system call ========================*/ 444 471 #ifdef HAVE_EXTENDED_SYSTEM -
Singular/iparith.cc
re514ee r5d32fd 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: iparith.cc,v 1.19 0 1999-11-24 17:09:35Singular Exp $ */4 /* $Id: iparith.cc,v 1.191 1999-11-24 18:13:21 Singular Exp $ */ 5 5 6 6 /* … … 285 285 { "sortvec", 0, SORTVEC_CMD , CMD_1}, 286 286 #ifdef HAVE_SPECTRUM 287 { "spectrum", 0, SPECTRUM_CMD , CMD_123},288 287 { "semic", 0, SEMIC_CMD , CMD_23}, 289 288 #endif … … 2297 2296 ,{jjSIMPL_ID, SIMPLIFY_CMD, MODUL_CMD, MODUL_CMD, INT_CMD PROFILER} 2298 2297 #ifdef HAVE_SPECTRUM 2299 ,{spectrumProc2,SPECTRUM_CMD, LIST_CMD, POLY_CMD, INT_CMD PROFILER}2300 2298 ,{semicProc, SEMIC_CMD, INT_CMD, LIST_CMD, LIST_CMD PROFILER} 2301 2299 #endif … … 3598 3596 ,{jjSort_Id, SORTVEC_CMD, INTVEC_CMD, IDEAL_CMD } 3599 3597 ,{jjSort_Id, SORTVEC_CMD, INTVEC_CMD, MODUL_CMD } 3600 #ifdef HAVE_SPECTRUM3601 ,{spectrumProc, SPECTRUM_CMD, LIST_CMD, POLY_CMD }3602 #endif3603 3598 ,{jjSTD, STD_CMD, IDEAL_CMD, IDEAL_CMD } 3604 3599 ,{jjSTD, STD_CMD, MODUL_CMD, MODUL_CMD } -
Singular/spectrum.cc
re514ee r5d32fd 1260 1260 } 1261 1261 1262 BOOLEAN spectrumProc2 ( leftv res,leftv u, leftv v)1263 {1264 if (((int)v->Data())==1)1265 return spectrumfProc(res,u);1266 return spectrumProc(res,u);1267 }1268 1269 1262 BOOLEAN spectrumOp3 ( leftv res, leftv u, leftv v, leftv w ) 1270 1263 { -
Singular/spectrum.h
re514ee r5d32fd 9 9 #define SPECTRUM_H 10 10 11 BOOLEAN spectrumProc2 ( leftv,leftv, leftv );12 11 BOOLEAN spectrumOp3 ( leftv,leftv, leftv, leftv ); 13 12 BOOLEAN spectrumProc ( leftv,leftv ); -
Singular/tok.h
re514ee r5d32fd 7 7 * ABSTRACT: tokens, types for interpreter; general macros 8 8 */ 9 /* $Id: tok.h,v 1.3 1 1999-11-24 17:09:36Singular Exp $ */9 /* $Id: tok.h,v 1.32 1999-11-24 18:13:23 Singular Exp $ */ 10 10 11 11 #ifndef MYYSTYPE … … 107 107 ROWS_CMD, 108 108 #ifdef HAVE_SPECTRUM 109 SPECTRUM_CMD,110 109 SEMIC_CMD, 111 110 #endif
Note: See TracChangeset
for help on using the changeset viewer.