Changeset d9357b in git


Ignore:
Timestamp:
Feb 16, 2012, 3:43:29 PM (12 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
de222ec7eb2bfb6e75b27248dbeeebb1d1228587
Parents:
64c923912a0fd9eb0092e41e49922c2ec9c5fb4d
git-author:
Martin Lee <martinlee84@web.de>2012-02-16 15:43:29+01:00
git-committer:
Martin Lee <martinlee84@web.de>2012-04-04 14:42:25+02:00
Message:
chg: added coeff bounds to Hensel lifting routines
     added coeff bounds to henselLiftAndEarly
Location:
factory
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • factory/facFqBivar.cc

    r64c923 rd9357b  
    450450factorRecombination (CFList& factors, CanonicalForm& F,
    451451                     const CanonicalForm& N, DegreePattern& degs, int s,
    452                      int thres
     452                     int thres, const modpk& b
    453453                    )
    454454{
     
    639639earlyFactorDetection (CFList& reconstructedFactors, CanonicalForm& F, CFList&
    640640                      factors, int& adaptedLiftBound, int*& factorsFoundIndex,
    641                       DegreePattern& degs, bool& success, int deg)
     641                      DegreePattern& degs, bool& success, int deg,
     642                      const modpk& b)
    642643{
    643644  DegreePattern bufDegs1= degs;
     
    860861                    earlyFactors, DegreePattern& degs, int& liftBound,
    861862                    const CFList& uniFactors, const ExtensionInfo& info,
    862                     const CanonicalForm& eval)
     863                    const CanonicalForm& eval, const modpk& b)
    863864{
    864865  Variable alpha= info.getAlpha();
  • factory/facFqBivar.h

    r64c923 rd9357b  
    646646                int s,                 ///< [in] algorithm starts checking
    647647                                       ///< subsets of size s
    648                 int thres              ///< [in] threshold for the size of
     648                int thres,             ///< [in] threshold for the size of
    649649                                       ///< subsets which are checked, for a
    650650                                       ///< full factor recombination choose
    651651                                       ///< thres= factors.length()/2
     652                const modpk& b=modpk() ///< [in] coeff bound
    652653                    );
    653654
     
    694695                                   ///< whenever we find a factor
    695696           bool& success,          ///< [in,out] indicating success
    696            int deg                 ///< [in] stage of Hensel lifting
     697           int deg,                ///< [in] stage of Hensel lifting
     698           const modpk& b= modpk() ///< [in] coeff bound
    697699                     );
    698700
     
    741743        const CFList& uniFactors,  ///< [in] univariate factors
    742744        const ExtensionInfo& info, ///< [in] information about extension
    743         const CanonicalForm& eval  ///< [in] evaluation point
     745        const CanonicalForm& eval, ///< [in] evaluation point
     746        const modpk& b= modpk()    ///< [in] coeff bound
    744747                  );
    745748
  • factory/facHensel.cc

    r64c923 rd9357b  
    607607void
    608608henselLift12 (const CanonicalForm& F, CFList& factors, int l, CFArray& Pi,
    609               CFList& diophant, CFMatrix& M, bool sort)
     609              CFList& diophant, CFMatrix& M, bool sort, const modpk& b)
    610610{
    611611  if (sort)
     
    647647void
    648648henselLiftResume12 (const CanonicalForm& F, CFList& factors, int start, int
    649                     end, CFArray& Pi, const CFList& diophant, CFMatrix& M)
     649                    end, CFArray& Pi, const CFList& diophant, CFMatrix& M,
     650                    const modpk& b)
    650651{
    651652  CFArray bufFactors= CFArray (factors.length());
  • factory/facHensel.h

    r64c923 rd9357b  
    2525
    2626#include "canonicalform.h"
     27#include "fac_util.h"
    2728
    2829#ifdef HAVE_NTL
     
    4748              CFList& diophant,       ///< [in,out] result of diophantine()
    4849              CFMatrix& M,            ///< [in,out] stores intermediate results
    49               bool sort= true         ///< [in] sort factors by degree in
     50              bool sort= true,        ///< [in] sort factors by degree in
    5051                                      ///< Variable(1)
     52              const modpk& b= modpk ()///< [in] coeff bound
    5153             );
    5254
     
    6870                                            ///< results
    6971                    const CFList& diophant, ///< [in] result of diophantine
    70                     CFMatrix& M             ///< [in,out] stores intermediate
     72                    CFMatrix& M,            ///< [in,out] stores intermediate
    7173                                            ///< results
     74                    const modpk& b= modpk() ///< [in] coeff bound
    7275                   );
    7376
Note: See TracChangeset for help on using the changeset viewer.