Changeset b728bf in git for factory


Ignore:
Timestamp:
Jul 31, 2013, 5:30:24 PM (11 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
dd8e726c1c4e5b7410c5a9627c9f52be7b122067
Parents:
091b25018851d6b7049240bf5eb739710e97cb1a
git-author:
Martin Lee <martinlee84@web.de>2013-07-31 17:30:24+02:00
git-committer:
Martin Lee <martinlee84@web.de>2013-08-30 13:48:24+02:00
Message:
chg: removed trailing spaces
chg: added decompress for absolute factors
Location:
factory
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • factory/facFqBivarUtil.cc

    r091b250 rb728bf  
    5656  for (CFFListIterator i= factors; i.hasItem(); i++)
    5757    i.getItem()= CFFactor (N (i.getItem().factor()), i.getItem().exp());
     58}
     59
     60void decompress (CFAFList& factors, const CFMap& N)
     61{
     62  for (CFAFListIterator i= factors; i.hasItem(); i++)
     63    i.getItem()= CFAFactor (N (i.getItem().factor()), i.getItem().minpoly(),
     64                            i.getItem().exp());
    5865}
    5966
  • factory/facFqBivarUtil.h

    r091b250 rb728bf  
    3838                );
    3939
     40/// as above
     41void decompress (CFAFList& factors, ///< [in,out] a list of factors
     42                 const CFMap& N    ///< [in] a map
     43                );
     44
    4045/// first swap Variables in @a factors1 if necessary, then append @a factors2
    4146/// and @a factors3 on @a factors1 and finally decompress @a factors1
     
    6873                                                 ///< Fq if we are not over some
    6974                                                 ///< GF
    70                     const int k,                 ///< some int k such that k 
     75                    const int k,                 ///< some int k such that k
    7176                                                 ///< divides l if we are not
    7277                                                 ///< over some Fq
     
    189194///         Variable (2)^l
    190195CFArray
    191 logarithmicDerivative (const CanonicalForm& F,   ///< [in] bivariate poly 
     196logarithmicDerivative (const CanonicalForm& F,   ///< [in] bivariate poly
    192197                                                 ///< truncated at Variable(2)^l
    193198                       const CanonicalForm& G,   ///< [in] a factor of F
     
    199204                      );
    200205
    201 /// compute bounds for logarithmic derivative as described in K. Belabas, 
    202 /// M. van Hoeij, J. KlÃŒners, and A. Steel, Factoring polynomials over global 
     206/// compute bounds for logarithmic derivative as described in K. Belabas,
     207/// M. van Hoeij, J. KlÃŒners, and A. Steel, Factoring polynomials over global
    203208/// fields
    204209///
     
    225230/// @return coefficients of \f$ x^i \f$ for \f$i\geq k\f$
    226231/// @sa {getCoeffs (const CanonicalForm&, const int, const Variable&),
    227 /// getCoeffs (const CanonicalForm&, const int, const int, const int, 
     232/// getCoeffs (const CanonicalForm&, const int, const int, const int,
    228233/// const Variable&, const CanonicalForm&, const mat_zz_p&)}
    229234CFArray
     
    237242/// @return coefficients of \f$ x^i \f$ for \f$i\geq k\f$
    238243/// @sa {getCoeffs (const CanonicalForm&, const int),
    239 /// getCoeffs (const CanonicalForm&, const int, const int, const int, 
     244/// getCoeffs (const CanonicalForm&, const int, const int, const int,
    240245/// const Variable&, const CanonicalForm&, const mat_zz_p&)}
    241246CFArray
    242 getCoeffs (const CanonicalForm& F,///< [in] compressed bivariate poly over 
     247getCoeffs (const CanonicalForm& F,///< [in] compressed bivariate poly over
    243248                                  ///< F_p(alpha)
    244249           const int k,           ///< [in] some int
     
    281286/// substitute x^d by x in F
    282287void
    283 subst (const CanonicalForm& F, ///< [in] a polynomial 
     288subst (const CanonicalForm& F, ///< [in] a polynomial
    284289       CanonicalForm& A,       ///< [in,out] returns F with x^d replaced by x
    285290       const int d,            ///< d > 1 such that a substitution x^d -> x
     
    299304/// reverse a substitution x^d->x
    300305void
    301 reverseSubst (CFList& L,        ///< [in,out] a list of polys, returns the 
     306reverseSubst (CFList& L,        ///< [in,out] a list of polys, returns the
    302307                                ///< given list with x replaced by x^d
    303308              const int d,      ///< [in] an integer > 0
Note: See TracChangeset for help on using the changeset viewer.