Changeset d990001 in git
- Timestamp:
- Sep 26, 2011, 4:43:09 PM (12 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- dfc60c82a16c9b03ecb8def0e0bff88d77446b9e
- Parents:
- f86531bba4599504e5ff7c611b008080720c66da
- git-author:
- Martin Lee <martinlee84@web.de>2011-09-26 16:43:09+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 16:13:32+01:00
- Location:
- factory
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/cf_factor.cc
rf86531 rd990001 805 805 else //Q(a)[x1,...,xn] 806 806 { 807 #ifdef HAVE_NTL 807 808 F= ratFactorize (f, alpha); 809 #else 810 ASSERT( f.isUnivariate(), "multivariate factorization not implemented" ); 811 #endif 808 812 } 809 813 if(isOn(SW_USE_NTL_SORT)) F.sort(cmpCF); -
factory/cf_gcd.cc
rf86531 rd990001 21 21 #include "cf_map_ext.h" 22 22 #include "cf_util.h" 23 #include "gfops.h" 23 24 24 25 #ifdef HAVE_NTL … … 100 101 { 101 102 bool extOfExt= false; 103 #ifdef HAVE_NTL 102 104 int d= degree (getMipo (v)); 103 105 CFList source, dest; … … 150 152 v= v2; 151 153 } 154 #endif 152 155 } 153 156 -
factory/cf_map_ext.cc
rf86531 rd990001 24 24 #include "canonicalform.h" 25 25 #include "cf_util.h" 26 #include "imm.h" 27 #include "cf_iter.h" 26 28 27 29 #ifdef HAVE_NTL … … 35 37 #include "cf_map_ext.h" 36 38 37 #ifdef HAVE_NTL38 39 39 /// helper function 40 40 int findItem (const CFList& list, const CanonicalForm& item) … … 64 64 } 65 65 66 66 #ifdef HAVE_NTL 67 67 /// \f$ F_{p} (\alpha ) \subset F_{p}(\beta ) \f$ and \f$ \alpha \f$ is a 68 68 /// primitive element, returns the image of \f$ \alpha \f$ … … 78 78 return convertNTLzzpE2CF (root, beta); 79 79 } 80 81 #endif 80 82 81 83 /// the CanonicalForm G is the output of map_up, returns F considered as an … … 307 309 } 308 310 311 #ifdef HAVE_NTL 309 312 /// determine a primitive element of \f$ F_{p} (\alpha ) \f$, 310 313 /// \f$ \beta \f$ is a primitive element of a field which is isomorphic to … … 348 351 return convertNTLzzpE2CF (root, alpha); 349 352 } 353 #endif 350 354 351 355 CanonicalForm … … 367 371 } 368 372 373 #ifdef HAVE_NTL 369 374 CanonicalForm 370 375 mapPrimElem (const CanonicalForm& primElem, const Variable& alpha, -
factory/facBivar.cc
rf86531 rd990001 19 19 #include "timing.h" 20 20 21 #include "cf_algorithm.h" 21 22 #include "facFqBivar.h" 22 23 #include "facBivar.h" -
factory/facBivar.h
rf86531 rd990001 16 16 #define FAC_BIVAR_H 17 17 18 // #include "config.h" 18 #include <config.h> 19 19 20 20 #include "assert.h" … … 39 39 /// @ return @a ratBiSqrfFactorize returns a list of monic factors, the first 40 40 /// element is the leading coefficient. 41 #ifdef HAVE_NTL 41 42 inline 42 43 CFList ratBiSqrfFactorize (const CanonicalForm & G, ///< [in] a bivariate poly … … 146 147 } 147 148 149 #endif 150 148 151 /// convert a CFFList to a CFList by dropping the multiplicity 149 152 CFList conv (const CFFList& L ///< [in] a CFFList -
factory/facFactorize.cc
rf86531 rd990001 19 19 #include "timing.h" 20 20 21 #include "cf_algorithm.h" 21 22 #include "facFqFactorizeUtil.h" 22 23 #include "facFactorize.h" … … 29 30 #include "cf_reval.h" 30 31 32 #ifdef HAVE_NTL 31 33 CFList evalPoints (const CanonicalForm& F, CFList& eval, Evaluation& E) 32 34 { … … 884 886 return factors; 885 887 } 888 889 #endif -
factory/facFactorize.h
rf86531 rd990001 33 33 /// @return @a ratSqrfFactorize returns a list of monic factors, the first 34 34 /// element is the leading coefficient. 35 #ifdef HAVE_NTL 35 36 inline 36 37 CFList ratSqrfFactorize (const CanonicalForm & G, ///< [in] a multivariate poly … … 89 90 return result; 90 91 } 92 #endif 91 93 92 94 #endif -
factory/facFqFactorize.h
rf86531 rd990001 40 40 /// element is the leading coefficient. 41 41 /// @sa FqSqrfFactorize(), GFSqrfFactorize() 42 #ifdef HAVE_NTL 42 43 inline 43 44 CFList FpSqrfFactorize (const CanonicalForm & F ///< [in] a multivariate poly … … 231 232 } 232 233 234 #endif 235 233 236 /// Naive factor recombination for multivariate factorization over an extension 234 237 /// of the initial field. No precomputed is used to exclude combinations.
Note: See TracChangeset
for help on using the changeset viewer.