Changeset f542551 in git


Ignore:
Timestamp:
Jul 1, 2020, 10:31:55 AM (4 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b52fc4b2495505785981d640dcf7eb3e456778ef')
Children:
c1f4d51f741e0a6c42d18ed86f6d5f207f816516
Parents:
e64ec88de66303fe1a011fc6de0230f0d45acc5a
Message:
factory: more routine does not depend on NTL only
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/facHensel.cc

    re64ec88 rf542551  
    4141#include "FLINTconvert.h"
    4242#endif
     43
     44void out_cf(const char *s1,const CanonicalForm &f,const char *s2);
    4345
    4446TIMING_DEFINE_PRINT (diotime)
     
    469471}
    470472
    471 #ifdef HAVE_NTL
    472473CFList
    473474diophantine (const CanonicalForm& F, const CFList& factors);
    474 #endif
    475 
    476 #ifdef HAVE_NTL // diophantine
     475
    477476CFList
    478477diophantineHensel (const CanonicalForm & F, const CFList& factors,
     
    564563  return result;
    565564}
    566 #endif
    567565
    568566/// solve \f$ 1=\sum_{i=1}^n{\delta_{i} \prod_{j\neq i}{f_j}} \f$ mod \f$p^k\f$
     
    880878      buf1= divNTL (F, i.getItem(), b);
    881879    XGCD (NTLbuf3, NTLS, NTLT, NTLbuf3, convertFacCF2NTLZZ_pEX (buf1, NTLmipo));
     880    S= convertNTLZZ_pEX2CF (NTLS, x, gamma);
    882881    CFListIterator k= bufFactors;
    883     S= convertNTLZZ_pEX2CF (NTLS, x, gamma);
    884882    for (CFListIterator j= result; j.hasItem(); j++, k++)
    885883    {
     
    21172115#endif
    21182116
    2119 #ifdef HAVE_NTL
    21202117/// solve \f$ E=\sum_{i= 1}^r{\sigma_{i}\prod_{j=1, j\neq i}^{r}{f_{j}}} \f$
    21212118/// mod M, @a products contains \f$ \prod_{j=1, j\neq i}^{r}{f_{j}} \f$
     
    21972194  return result;
    21982195}
    2199 #endif
    22002196
    22012197#ifdef HAVE_NTL // diophantine
Note: See TracChangeset for help on using the changeset viewer.