Changeset 018577 in git for factory/cf_gcd_smallp.h


Ignore:
Timestamp:
Sep 13, 2010, 5:18:53 PM (14 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'spielwiese', '4a9821a93ffdc22a6696668bd4f6b8c9de3e6c5f')
Children:
72292fbb6682a392b300d1837489860c3f412907
Parents:
231b0fd0173552d615fba69018a64ff5510211be
Message:
new sparse modular gcd over finite fields, new EZ gcd over finite fields, which is now switched on by default


git-svn-id: file:///usr/local/Singular/svn/trunk@13185 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/cf_gcd_smallp.h

    r231b0fd r018577  
    6464
    6565CanonicalForm
    66 randomIrredpoly (int i, const Variable & x) ;
     66randomIrredpoly (int i, const Variable & x);
     67
     68CanonicalForm
     69sparseGCDFp (const CanonicalForm& F, const CanonicalForm& G,
     70             bool& topLevel, CFList& l);
     71             
     72static inline CanonicalForm sparseGCDFp (const CanonicalForm& A, const CanonicalForm& B)
     73{
     74  CFList list;
     75  bool top_level= true;
     76  return sparseGCDFp (A, B, top_level, list);
     77}
     78
     79CanonicalForm
     80sparseGCDFq (const CanonicalForm& F, const CanonicalForm& G, const Variable& alpha, CFList& l,
     81             bool& topLevel);
     82             
     83static inline CanonicalForm sparseGCDFq (const CanonicalForm& A, const CanonicalForm& B, const Variable& alpha)
     84{
     85  CFList list;
     86  bool top_level= true;
     87  return sparseGCDFq (A, B, alpha, list, top_level);
     88}
     89
     90/// Extended Zassenhaus GCD over finite fields described in "Algorithms for
     91/// Computer Algebra" by Geddes, Czapor & Labahn
     92CanonicalForm EZGCD_P (const CanonicalForm& F, const CanonicalForm& G);
     93
     94/// pseudo remainder GCD over finite fields
     95CanonicalForm
     96gcd_poly_p( const CanonicalForm & f, const CanonicalForm & g);
     97
     98CanonicalForm
     99gcd_univar_ntlp( const CanonicalForm & F, const CanonicalForm & G );
     100
     101
    67102#endif
Note: See TracChangeset for help on using the changeset viewer.