Changeset 0341f1 in git


Ignore:
Timestamp:
Jan 27, 2021, 8:01:47 PM (3 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '4a9821a93ffdc22a6696668bd4f6b8c9de3e6c5f')
Children:
3f6520f1c7bb6b3f1b488999d99fba9a01350437
Parents:
de0206679260cf307f7081a89657f8875ef6d7f3
Message:
fix: absFactorize with Flint, w/o NTL
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • Singular/extra.cc

    rde02066 r0341f1  
    10111011    else
    10121012  /*================= absBiFact ======================*/
    1013     #ifdef HAVE_NTL
    10141013    if (strcmp(sys_cmd, "absFact") == 0)
    10151014    {
     
    10421041    }
    10431042    else
    1044     #endif
    10451043  /* =================== LLL via NTL ==============================*/
    10461044  #ifdef HAVE_NTL
  • factory/cfModResultant.cc

    rde02066 r0341f1  
    555555  return result;
    556556}
    557 #ifdef HAVE_NTL // mapPrimitiveElem
     557
    558558CanonicalForm
    559559resultantZ (const CanonicalForm& A, const CanonicalForm& B, const Variable& x,
     
    684684}
    685685#endif
    686 #endif
    687 
     686
  • factory/facAbsBiFact.cc

    rde02066 r0341f1  
    208208}
    209209
    210 #ifdef HAVE_NTL // henselLiftAndEarly
    211210//G is assumed to be bivariate, irreducible over Q, primitive wrt x and y, compressed
    212211CFAFList absBiFactorizeMain (const CanonicalForm& G, bool full)
     
    470469    convertFmpz_poly_t2FacCF ((fmpz_poly_t &)liftedFactors->p[1],x);
    471470    modpk pk= modpk (p, k);
    472 #else
     471#elif defined(HAVE_NTL)
    473472    modpk pk= modpk (p, k);
    474473    ZZX NTLFi=convertFacCF2NTLZZX (pk (Fi*pk.inverse (lc(Fi))));
     
    503502    CanonicalForm otherFactor=
    504503                  convertNTLZZX2CF (liftedFactors[1], x);
     504#else
     505   factoryError("absBiFactorizeMain: NTL/FLINT missing");
    505506#endif
    506507
     
    851852}
    852853#endif
    853 #endif
  • factory/facAbsBiFact.h

    rde02066 r0341f1  
    1717#include "canonicalform.h"
    1818
    19 #ifdef HAVE_NTL
    2019/// main absolute factorization routine, expects bivariate poly which is
    2120/// irreducible over Q
     
    3332                                                     ///< returned
    3433                            );
    35 #endif
    3634
    3735/// normalize factors, i.e. make factors monic
  • factory/facAbsFact.cc

    rde02066 r0341f1  
    3232#endif
    3333
    34 #if defined(HAVE_NTL)
    3534TIMING_DEFINE_PRINT(abs_fac_bi_factorizer)
    3635TIMING_DEFINE_PRINT(abs_fac_hensel_lift)
     
    940939}
    941940
    942 #endif
  • factory/facAbsFact.h

    rde02066 r0341f1  
    1616#include "facAbsBiFact.h"
    1717
    18 #if defined(HAVE_NTL)
    1918/// main absolute factorization routine, expects poly which is
    2019/// irreducible over Q
     
    2928CFAFList absFactorizeMain (const CanonicalForm& F ///<[in] irred poly over Q
    3029                          );
    31 #endif
    3230
    3331/*BEGINPUBLIC*/
    34 #if defined(HAVE_NTL)
    3532/// absolute factorization of a multivariate poly over Q
    3633///
     
    4441CFAFList absFactorize (const CanonicalForm& G ///<[in] poly over Q
    4542                      );
    46 #endif
    4743/*ENDPUBLIC*/
    4844
Note: See TracChangeset for help on using the changeset viewer.