Changeset 7356be in git


Ignore:
Timestamp:
Aug 20, 2014, 2:19:22 PM (9 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '91e5db82acc17434e4062bcfa44e6efa7d41fd30')
Children:
705ba5c5ec2a3bd98f128ce3753d41613b1eebc7
Parents:
85e86930dc779f09984e6c7072e7e5818ec04930
Message:
simplified system: removed minor, waitforssilinks, naIdeal
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • Singular/extra.cc

    r85e8693 r7356be  
    949949        return FALSE;
    950950      }
    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
    970952  /*==================== neworder =============================*/
    971953  // should go below
     
    26692651      else
    26702652#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 //         else
    2681 //            WerrorS("ideal expected");
    2682 //       }
    2683 //       else
    26842653  /*==================== pDivStat =============================*/
    26852654  #if defined(PDEBUG) || defined(PDIV_DEBUG)
     
    31543123         return FALSE;
    31553124       }
    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         else
    3177         {
    3178           res->rtyp=POLY_CMD;
    3179         }
    3180         return(FALSE);
    3181       }
    31823125      else
    31833126  /*==================== F5 Implementation =================*/
  • kernel/ideals.cc

    r85e8693 r7356be  
    16511651}
    16521652
     1653#ifdef WITH_OLD_MINOR
    16531654/*2
    16541655* compute the which-th ar-minor of the matrix a
     
    17181719}
    17191720
    1720 #ifdef WITH_OLD_MINOR
    17211721/*2
    17221722* compute all ar-minors of the matrix a
  • kernel/ideals.h

    r85e8693 r7356be  
    158158ideal   idElimination (ideal h1,poly delVar, intvec *hilb=NULL);
    159159
     160#ifdef WITH_OLD_MINOR
    160161poly idMinor(matrix a, int ar, unsigned long which, ideal R = NULL);
     162#endif
    161163ideal   idMinors(matrix a, int ar, ideal R = NULL);
    162164
Note: See TracChangeset for help on using the changeset viewer.