Changeset beb237 in git for Singular/polys0.cc


Ignore:
Timestamp:
Oct 26, 2000, 6:31:38 PM (24 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'd08f5f0bb3329b8ca19f23b74cb1473686415c3a')
Children:
3849365e4f7f90e48ef4cb1bdb73305514b60eaa
Parents:
9c5e4ff8f71d38aa39fa99cc20aec1cc01f874b2
Message:
* strat->tailRing progress!!!


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

Legend:

Unmodified
Added
Removed
  • Singular/polys0.cc

    r9c5e4f rbeb237  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: polys0.cc,v 1.16 2000-10-23 12:02:18 obachman Exp $ */
     4/* $Id: polys0.cc,v 1.17 2000-10-26 16:31:38 obachman Exp $ */
    55
    66/*
     
    8080}
    8181
    82 char* pString0(poly p, ring lmRing, ring tailRing)
     82char* p_String0(poly p, ring lmRing, ring tailRing)
    8383{
    8484  if (p == NULL)
     
    124124}
    125125
    126 char* pString(poly p, ring lmRing, ring tailRing)
     126char* p_String(poly p, ring lmRing, ring tailRing)
    127127{
    128128  StringSetS("");
    129   return pString0(p, lmRing, tailRing);
     129  return p_String0(p, lmRing, tailRing);
    130130}
    131131
     
    133133* writes a polynomial p to stdout
    134134*/
    135 void pWrite0(poly p, ring lmRing, ring tailRing)
     135void p_Write0(poly p, ring lmRing, ring tailRing)
    136136{
    137   PrintS(pString(p, lmRing, tailRing));
     137  PrintS(p_String(p, lmRing, tailRing));
    138138}
    139139
     
    141141* writes a polynomial p to stdout followed by \n
    142142*/
    143 void pWrite(poly p, ring lmRing, ring tailRing)
     143void p_Write(poly p, ring lmRing, ring tailRing)
    144144{
    145   pWrite0(p, lmRing, tailRing);
     145  p_Write0(p, lmRing, tailRing);
    146146  PrintLn();
    147147}
     
    152152*possibly followed by the string "+..."
    153153*/
    154 void wrp0(poly p, ring ri)
     154void p_wrp0(poly p, ring ri)
    155155{
    156156  poly r;
    157157
    158158  if (p==NULL) PrintS("NULL");
    159   else if (pNext(p)==NULL) pWrite0(p, ri);
     159  else if (pNext(p)==NULL) p_Write0(p, ri);
    160160  else
    161161  {
    162162    r = pNext(p);
    163163    pNext(p) = NULL;
    164     pWrite0(p, ri);
     164    p_Write0(p, ri);
    165165    if (r!=NULL)
    166166    {
     
    170170  }
    171171}
    172 void wrp(poly p, ring lmRing, ring tailRing)
     172void p_wrp(poly p, ring lmRing, ring tailRing)
    173173{
    174174  poly r;
    175175
    176176  if (p==NULL) PrintS("NULL");
    177   else if (pNext(p)==NULL) pWrite0(p, lmRing);
     177  else if (pNext(p)==NULL) p_Write0(p, lmRing);
    178178  else
    179179  {
    180180    r = pNext(pNext(p));
    181181    pNext(pNext(p)) = NULL;
    182     pWrite0(p, lmRing, tailRing);
     182    p_Write0(p, lmRing, tailRing);
    183183    if (r!=NULL)
    184184    {
Note: See TracChangeset for help on using the changeset viewer.