Changeset 7356be in git
- Timestamp:
- Aug 20, 2014, 2:19:22 PM (9 years ago)
- Branches:
- (u'spielwiese', '91e5db82acc17434e4062bcfa44e6efa7d41fd30')
- Children:
- 705ba5c5ec2a3bd98f128ce3753d41613b1eebc7
- Parents:
- 85e86930dc779f09984e6c7072e7e5818ec04930
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/extra.cc
r85e8693 r7356be 949 949 return FALSE; 950 950 } 951 /*==================== forking experiments ======================*/ 952 if(strcmp(sys_cmd, "waitforssilinks")==0) 953 { 954 if ((h != NULL) && (h->Typ() == LIST_CMD) && 955 (h->next != NULL) && (h->next->Typ() == INT_CMD)) 956 { 957 lists L = (lists)h->Data(); 958 int timeMillisec = (int)(long)h->next->Data(); 959 int n = slStatusSsiL(L, timeMillisec * 1000); 960 res->rtyp = INT_CMD; 961 res->data = (void*)(long)n; 962 return FALSE; 963 } 964 else 965 { 966 Werror( "expected list of open ssi links and timeout"); 967 return TRUE; 968 } 969 } 951 else 970 952 /*==================== neworder =============================*/ 971 953 // should go below … … 2669 2651 else 2670 2652 #endif 2671 /*==================== naIdeal ==================================*/2672 // // This seems to be obsolette with the new Frank's alg.ext field...2673 // if(strcmp(sys_cmd,"naIdeal")==0)2674 // {2675 // if ((h!=NULL) &&(h->Typ()==IDEAL_CMD))2676 // {2677 // naSetIdeal((ideal)h->Data());2678 // return FALSE;2679 // }2680 // else2681 // WerrorS("ideal expected");2682 // }2683 // else2684 2653 /*==================== pDivStat =============================*/ 2685 2654 #if defined(PDEBUG) || defined(PDIV_DEBUG) … … 3154 3123 return FALSE; 3155 3124 } 3156 /*==================== minor =================*/3157 if (strcmp(sys_cmd, "minor")==0)3158 {3159 matrix a = (matrix) h->Data();3160 h = h->next;3161 int ar = (int)(long) h->Data();3162 h = h->next;3163 int which = (int)(long) h->Data();3164 h = h->next;3165 ideal R = NULL;3166 if (h != NULL)3167 {3168 R = (ideal) h->Data();3169 }3170 res->data=(poly) idMinor(a, ar, (unsigned long) which, R);3171 if (res->data == (poly) 1)3172 {3173 res->rtyp=INT_CMD;3174 res->data = 0;3175 }3176 else3177 {3178 res->rtyp=POLY_CMD;3179 }3180 return(FALSE);3181 }3182 3125 else 3183 3126 /*==================== F5 Implementation =================*/ -
kernel/ideals.cc
r85e8693 r7356be 1651 1651 } 1652 1652 1653 #ifdef WITH_OLD_MINOR 1653 1654 /*2 1654 1655 * compute the which-th ar-minor of the matrix a … … 1718 1719 } 1719 1720 1720 #ifdef WITH_OLD_MINOR1721 1721 /*2 1722 1722 * compute all ar-minors of the matrix a -
kernel/ideals.h
r85e8693 r7356be 158 158 ideal idElimination (ideal h1,poly delVar, intvec *hilb=NULL); 159 159 160 #ifdef WITH_OLD_MINOR 160 161 poly idMinor(matrix a, int ar, unsigned long which, ideal R = NULL); 162 #endif 161 163 ideal idMinors(matrix a, int ar, ideal R = NULL); 162 164
Note: See TracChangeset
for help on using the changeset viewer.