Changeset e3c02d2 in git


Ignore:
Timestamp:
May 5, 2010, 5:56:15 PM (14 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b52fc4b2495505785981d640dcf7eb3e456778ef')
Children:
58aa4572233ccdc8c2d5cbbc3538f5dc115b62d9
Parents:
6cee1d28277f1e0a24471e5bd9ee112ed6b01113
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2010-05-05 17:56:15+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 11:52:53+01:00
Message:
init for Q: nlInitChar
Location:
coeffs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • coeffs/longrat.cc

    r6cee1d re3c02d2  
    24392439  return z;
    24402440}
     2441void nlInitChar(coeffs r, int ch)
     2442{
     2443  r->cfInitChar=nlInitChar;
     2444  r->cfKillChar=NULL;
     2445  r->cfSetChar=NULL;
     2446
     2447  r->cfDelete= nlDelete;
     2448  r->nNormalize=nlNormalize;
     2449  r->cfInit = nlInit;
     2450  r->n_Int  = nlInt;
     2451  r->nAdd   = nlAdd;
     2452  r->nSub   = nlSub;
     2453  r->nMult  = nlMult;
     2454  r->nInpMult=nlInpMult;
     2455  r->nDiv   = nlDiv;
     2456  r->nExactDiv= nlExactDiv;
     2457  r->nIntDiv= nlIntDiv;
     2458  r->nIntMod= nlIntMod;
     2459  r->nNeg   = nlNeg;
     2460  r->nInvers= nlInvers;
     2461  r->cfCopy  = nlCopy;
     2462  r->nGreater = nlGreater;
     2463  r->nEqual = nlEqual;
     2464  r->nIsZero = nlIsZero;
     2465  r->nIsOne = nlIsOne;
     2466  r->nIsMOne = nlIsMOne;
     2467  r->nGreaterZero = nlGreaterZero;
     2468  r->cfWrite = nlWrite;
     2469  r->nRead = nlRead;
     2470  r->nPower = nlPower;
     2471  r->nGcd  = nlGcd;
     2472  r->nLcm  = nlLcm;
     2473  r->cfSetMap = nlSetMap;
     2474  r->nSize  = nlSize;
     2475  r->cfGetDenom = nlGetDenom;
     2476  r->cfGetNumerator = nlGetNumerator;
     2477#ifdef LDEBUG
     2478  r->nDBTest=nlDBTest;
     2479#endif
     2480}
    24412481#if 0
    24422482number nlMod(number a, number b)
  • coeffs/longrat.h

    r6cee1d re3c02d2  
    5959LINLINE number   nlMult(number a, number b, const coeffs r);
    6060
     61void     nlInitChar(coeffs r, int ch);
    6162number   nlInit2 (int i, int j, const coeffs r);
    6263number   nlInit2gmp (mpz_t i, mpz_t j);
Note: See TracChangeset for help on using the changeset viewer.