Changeset eca225 in git for libpolys/coeffs/numbers.cc


Ignore:
Timestamp:
May 6, 2011, 2:06:50 PM (13 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
a934fc81ed0805bcf6e3c2c3cd59b3b0c6fa8146
Parents:
e25a9942ffbe09b3e9cd1348617f1c1886c896bd
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2011-05-06 14:06:50+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:31:36+01:00
Message:
factory to number: Z/p
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/numbers.cc

    re25a99 reca225  
    119119number  ndExtGcd (number a, number b, number *s, number *t, const coeffs r) { return n_Init(1,r); }
    120120#endif
     121
     122#ifdef HAVE_FACTORY
     123CanonicalForm npConvSingNFactoryN( number n, const coeffs r )
     124{
     125  CanonicalForm term(0);
     126  Werror("no conversion to factory");
     127  return term;
     128}
     129
     130number npConvFactoryNSingN( const CanonicalForm n, const coeffs r)
     131{
     132  Werror("no conversion from factory");
     133  return NULL;
     134}
     135#endif
     136
    121137
    122138static n_coeffType nLastCoeffs=n_Z2m;
     
    161177    n->cfExtGcd = ndExtGcd;
    162178    //n->cfGetUnit = (nMapFunc)NULL;
     179#endif
     180
     181#ifdef fACTORY
     182    n->convSingNFactoryN=ndConvSingNFactoryN;
     183    n->convFactoryNSingN=ndConvFactoryNSingN;
    163184#endif
    164185   
Note: See TracChangeset for help on using the changeset viewer.