Changeset c9b1d66 in git for factory/facHensel.h


Ignore:
Timestamp:
Dec 16, 2010, 2:22:47 PM (13 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
8af49d09040b6ced3fa697fae0b4338a908944a5
Parents:
d08ed84a213b4110fe1dbe0d38276dce7695a481
Message:
added division with remainder via Newton inversion


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

Legend:

Unmodified
Added
Removed
  • factory/facHensel.h

    rd08ed8 rc9b1d66  
    2929#include "algext.h"
    3030
    31 CanonicalForm mul (const CanonicalForm& F, const CanonicalForm& G);
    32 CanonicalForm mulMod3 (const CanonicalForm& F, const CanonicalForm& G, const CFList& MOD);
    3331/// multiplication of univariate polys over a finite field using NTL, if we are
    3432/// in GF factory's default multiplication is used.
     
    139137                                   ///< Variables of level higher than 1
    140138            );
     139
     140
     141/// division with remainder of @a F by
     142/// @a G wrt Variable (1) modulo @a M using Newton inversion
     143///
     144/// @return @a Q returns the dividend, @a R returns the remainder.
     145/// @sa divrem2(), newtonDiv()
     146void
     147newtonDivrem (const CanonicalForm& F, ///< [in] bivariate, compressed polynomial
     148              const CanonicalForm& G, ///< [in] bivariate, compressed polynomial
     149                                      ///< which is monic in Variable (1)
     150              CanonicalForm& Q,       ///< [in,out] dividend
     151              CanonicalForm& R,       ///< [in,out] remainder, degree (R, 1) <
     152                                      ///< degree (G, 1)
     153              const CanonicalForm& M  ///< [in] power of Variable (2)
     154             );
     155
     156/// division of @a F by
     157/// @a G wrt Variable (1) modulo @a M using Newton inversion
     158///
     159/// @return @a newtonDiv returns the dividend
     160/// @sa divrem2(), newtonDivrem()
     161CanonicalForm
     162newtonDiv (const CanonicalForm& F, ///< [in] bivariate, compressed polynomial
     163           const CanonicalForm& G, ///< [in] bivariate, compressed polynomial
     164                                   ///< which is monic in Variable (1)
     165           const CanonicalForm& M  ///< [in] power of Variable (2)
     166          );
    141167
    142168/// reduce @a F modulo elements in @a M.
Note: See TracChangeset for help on using the changeset viewer.