Changeset 6e12a45 in git for factory/FLINTconvert.cc


Ignore:
Timestamp:
Jun 17, 2020, 6:16:48 PM (4 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '98550b669234b32be762076c32b3be2c35188ac4')
Children:
cac0f8a0c0c0b22b71b76c3b44841f5cc1fec229
Parents:
ed6f2bb0876535189130e32d71be46f776012a36
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2020-06-17 18:16:48+02:00
git-committer:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2020-06-17 18:17:49+02:00
Message:
univariate factorization over Z via FLINT
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/FLINTconvert.cc

    red6f2b r6e12a45  
    291291  return result;
    292292}
     293
     294#if __FLINT_RELEASE >= 20503
     295CFFList
     296convertFLINTfmpz_poly_factor2FacCFFList (
     297                   const fmpz_poly_factor_t fac, ///< [in] a nmod_poly_factor_t
     298                   const Variable& x       ///< [in] variable the result should
     299                                           ///< have
     300                                        )
     301
     302{
     303  CFFList result;
     304  long i;
     305
     306  for (i = 0; i < fac->num; i++)
     307    result.append (CFFactor (convertFmpz_poly_t2FacCF (
     308                             (fmpz_poly_t &)fac->p[i],x),
     309                             fac->exp[i]));
     310  return result;
     311}
     312#endif
    293313
    294314#if __FLINT_RELEASE >= 20400
Note: See TracChangeset for help on using the changeset viewer.