Changeset 64c923 in git


Ignore:
Timestamp:
Feb 16, 2012, 3:21:25 PM (12 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'spielwiese', '73c62e0961bcfc8f1a00420b41eec2ea3c0ef6e9')
Children:
d9357b93f2957d0cd01e1c353822adb5598cc142
Parents:
5b410740267969d96b217ae7a6dc01d921a86161
git-author:
Martin Lee <martinlee84@web.de>2012-02-16 15:21:25+01:00
git-committer:
Martin Lee <martinlee84@web.de>2012-04-04 14:42:25+02:00
Message:
chg: added coeff bound to univariate operations
Location:
factory
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • factory/facMul.cc

    r5b4107 r64c923  
    394394
    395395CanonicalForm
    396 mulNTL (const CanonicalForm& F, const CanonicalForm& G)
     396mulNTL (const CanonicalForm& F, const CanonicalForm& G, const modpk& b)
    397397{
    398398  if (F.inCoeffDomain() || G.inCoeffDomain() || getCharacteristic() == 0)
     
    448448
    449449CanonicalForm
    450 modNTL (const CanonicalForm& F, const CanonicalForm& G)
     450modNTL (const CanonicalForm& F, const CanonicalForm& G, const modpk& b)
    451451{
    452452  if (F.inCoeffDomain() && G.isUnivariate())
     
    511511
    512512CanonicalForm
    513 divNTL (const CanonicalForm& F, const CanonicalForm& G)
     513divNTL (const CanonicalForm& F, const CanonicalForm& G, const modpk& b)
    514514{
    515515  if (F.inCoeffDomain() && G.isUnivariate())
  • factory/facMul.h

    r5b4107 r64c923  
    1616
    1717#include "canonicalform.h"
     18#include "fac_util.h"
    1819
    1920/// multiplication of univariate polys over a finite field using NTL, if we are
     
    2324CanonicalForm
    2425mulNTL (const CanonicalForm& F, ///< [in] a univariate poly
    25         const CanonicalForm& G  ///< [in] a univariate poly
     26        const CanonicalForm& G, ///< [in] a univariate poly
     27        const modpk& b= modpk() ///< [in] coeff bound
    2628       );
    2729
     
    3234CanonicalForm
    3335modNTL (const CanonicalForm& F, ///< [in] a univariate poly
    34         const CanonicalForm& G  ///< [in] a univariate poly
     36        const CanonicalForm& G, ///< [in] a univariate poly
     37        const modpk& b= modpk() ///< [in] coeff bound
    3538       );
    3639
     
    4144CanonicalForm
    4245divNTL (const CanonicalForm& F, ///< [in] a univariate poly
    43         const CanonicalForm& G  ///< [in] a univariate poly
     46        const CanonicalForm& G, ///< [in] a univariate poly
     47        const modpk& b= modpk() ///< [in] coeff bound
    4448       );
    4549
Note: See TracChangeset for help on using the changeset viewer.