Changeset a507140 in git for libpolys/coeffs/rmodulo2m.cc


Ignore:
Timestamp:
May 10, 2020, 5:39:11 PM (4 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'c5facdfddea2addfd91babd8b9019161dea4b695')
Children:
f050a38f7d4a93811fa78a1a7cebd7b3a35fc044fe09a23b169ca576a8128e614973bc79bcfec5d7
Parents:
6dd33c01a9c354dd3b89fe045bffa9b635e23954
Message:
opt: nCoeffWrite/nCoeffString via nCoeffName
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/rmodulo2m.cc

    r6dd33c ra507140  
    7070}
    7171
    72 static void    nr2mCoeffWrite  (const coeffs r, BOOLEAN /*details*/)
    73 {
    74   PrintS(nr2mCoeffName(r));
    75 }
    76 
    7772static BOOLEAN nr2mCoeffIsEqual(const coeffs r, n_coeffType n, void * p)
    7873{
     
    8479  }
    8580  return FALSE;
    86 }
    87 
    88 static char* nr2mCoeffString(const coeffs r)
    89 {
    90   return omStrDup(nr2mCoeffName(r));
    9181}
    9282
     
    784774  //r->cfKillChar    = ndKillChar; /* dummy*/
    785775  r->nCoeffIsEqual = nr2mCoeffIsEqual;
    786   r->cfCoeffString = nr2mCoeffString;
    787776
    788777  r->modBase = (mpz_ptr) omAllocBin (gmp_nrz_bin);
     
    825814  r->cfGetUnit     = nr2mGetUnit;
    826815  r->cfExtGcd      = nr2mExtGcd;
    827   r->cfCoeffWrite  = nr2mCoeffWrite;
    828816  r->cfCoeffName   = nr2mCoeffName;
    829817  r->cfQuot1       = nr2mQuot1;
Note: See TracChangeset for help on using the changeset viewer.