Changeset 7a6c06 in git


Ignore:
Timestamp:
Jul 25, 2008, 2:41:43 PM (16 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
107986830c30ed6c192ace9d6093c3213b76fc6f
Parents:
fe7424e916aeb90c55dfb281c0392f267f374df6
Message:
hannes:real_var_start system


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

Legend:

Unmodified
Added
Removed
  • Singular/extra.cc

    rfe7424 r7a6c06  
    22*  Computer Algebra System SINGULAR      *
    33*****************************************/
    4 /* $Id: extra.cc,v 1.277 2008-07-23 07:10:50 motsak Exp $ */
     4/* $Id: extra.cc,v 1.278 2008-07-25 12:41:43 Singular Exp $ */
    55/*
    66* ABSTRACT: general interface to internals of Singular ("system" command)
     
    26092609    else
    26102610#endif // HAVE_RATGRING
     2611/*==================== Rat def =================*/
     2612    if (strcmp(sys_cmd, "ratVar") == 0)
     2613    {
     2614      int start,end;
     2615      int is;
     2616      if ((h!=NULL) && (h->Typ()==POLY_CMD))
     2617      {
     2618        start=pIsPurePower((poly)h->Data());
     2619        h=h->next;
     2620      }
     2621      else return TRUE;
     2622      if ((h!=NULL) && (h->Typ()==POLY_CMD))
     2623      {
     2624        end=pIsPurePower((poly)h->Data());
     2625        h=h->next;
     2626      }
     2627      else return TRUE;
     2628      currRing->real_var_start=start;
     2629      currRing->real_var_end=end;
     2630      return (start==0)||(end==0);
     2631    }
     2632    else
    26112633/*==================== freeGB, twosided GB in free algebra =================*/
    26122634#ifdef HAVE_SHIFTBBA
Note: See TracChangeset for help on using the changeset viewer.