Changeset 9b12fce in git for libpolys


Ignore:
Timestamp:
Jul 22, 2014, 7:16:59 PM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'd08f5f0bb3329b8ca19f23b74cb1473686415c3a')
Children:
9a6f8c15b898f962115ce36f094aaa7f9dc0be1f
Parents:
39ed94e4ba176b9cdda63c31fb26f14e2627ad3c
Message:
prepare for singular 4-1: cring (currently inactive)
Location:
libpolys/coeffs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/coeffs.h

    r39ed94 r9b12fce  
    137137   /// string output of coeff description
    138138   char* (*cfCoeffString)(const coeffs r);
     139
     140   /// default name of cf, should substitue cfCoeffWrite, cfCoeffString
     141   char* (*cfCoeffName)(const coeffs r);
    139142
    140143   // ?
  • libpolys/coeffs/numbers.cc

    r39ed94 r9b12fce  
    149149int ndSize(number a, const coeffs r) { return (int)n_IsZero(a,r)==FALSE; }
    150150
     151char * ndCoeffName(const coeffs r)
     152{
     153  return r->cfCoeffString(r);
     154}
    151155void ndClearContent(ICoeffsEnumerator& numberCollectionEnumerator, number& c, const coeffs r)
    152156{
     
    356360    n->cfMPZ = ndMPZ;
    357361    n->cfPower = ndPower;
     362    n->cfCoeffName = ndCoeffName;
    358363
    359364    // n->cfKillChar = ndKillChar; /* dummy */
Note: See TracChangeset for help on using the changeset viewer.