Changeset 728a2c in git


Ignore:
Timestamp:
Jun 8, 2006, 11:56:25 PM (17 years ago)
Author:
Oliver Wienand <wienand@…>
Branches:
(u'spielwiese', '91fdef05f09f54b8d58d92a472e9c4a43aa4656f')
Children:
69bc59eb8e7fb6562032a5586959c2754a881ddc
Parents:
a48e1999411528d3925391351d47f42ca54765b4
Message:
[oliver]

extra.cc:
* testGB --> tests all spoly for reducing to zero
* spoly --> computes one spoly


git-svn-id: file:///usr/local/Singular/svn/trunk@9190 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/extra.cc

    ra48e19 r728a2c  
    22*  Computer Algebra System SINGULAR      *
    33*****************************************/
    4 /* $Id: extra.cc,v 1.238 2006-01-16 03:28:10 wienand Exp $ */
     4/* $Id: extra.cc,v 1.239 2006-06-08 21:56:25 wienand Exp $ */
    55/*
    66* ABSTRACT: general interface to internals of Singular ("system" command)
     
    27332733    }
    27342734    else
     2735#ifdef HAVE_RING2TOM
     2736/*==================== Testing groebner basis =================*/
     2737    if (strcmp(sys_cmd, "spoly")==0)
     2738    {
     2739      poly f = pCopy((poly) h->Data());
     2740      h = h->next;
     2741      poly g = pCopy((poly) h->Data());
     2742
     2743      res->rtyp=POLY_CMD;
     2744      res->data=(poly) plain_spoly(f,g);
     2745      return(FALSE);
     2746    }
     2747    else
     2748    if (strcmp(sys_cmd, "testGB")==0)
     2749    {
     2750      ideal GI = (ideal) h->Data();
     2751      res->rtyp = INT_CMD;
     2752      res->data = (void *) testGB(GI);
     2753      return(FALSE);
     2754    }
     2755    else
     2756#endif
    27352757#ifdef ix86_Win
    27362758/*==================== Python Singular =================*/
Note: See TracChangeset for help on using the changeset viewer.