亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? zz_pexfactoring.txt

?? 大數(shù)運(yùn)算類
?? TXT
字號:

/**************************************************************************\

MODULE: ZZ_pEXFactoring

SUMMARY:

Routines are provided for factorization of polynomials over ZZ_pE, as
well as routines for related problems such as testing irreducibility
and constructing irreducible polynomials of given degree.

\**************************************************************************/

#include <NTL/ZZ_pEX.h>
#include <NTL/pair_ZZ_pEX_long.h>

void SquareFreeDecomp(vec_pair_ZZ_pEX_long& u, const ZZ_pEX& f);
vec_pair_ZZ_pEX_long SquareFreeDecomp(const ZZ_pEX& f);

// Performs square-free decomposition.  f must be monic.  If f =
// prod_i g_i^i, then u is set to a list of pairs (g_i, i).  The list
// is is increasing order of i, with trivial terms (i.e., g_i = 1)
// deleted.


void FindRoots(vec_ZZ_pE& x, const ZZ_pEX& f);
vec_ZZ_pE FindRoots(const ZZ_pEX& f);

// f is monic, and has deg(f) distinct roots.  returns the list of
// roots

void FindRoot(ZZ_pE& root, const ZZ_pEX& f);
ZZ_pE FindRoot(const ZZ_pEX& f);

// finds a single root of f.  assumes that f is monic and splits into
// distinct linear factors


void NewDDF(vec_pair_ZZ_pEX_long& factors, const ZZ_pEX& f, 
            const ZZ_pEX& h, long verbose=0);

vec_pair_ZZ_pEX_long NewDDF(const ZZ_pEX& f, const ZZ_pEX& h,
         long verbose=0);


// This computes a distinct-degree factorization.  The input must be
// monic and square-free.  factors is set to a list of pairs (g, d),
// where g is the product of all irreducible factors of f of degree d.
// Only nontrivial pairs (i.e., g != 1) are included.  The polynomial
// h is assumed to be equal to X^{ZZ_pE::cardinality()} mod f.  

// This routine implements the baby step/giant step algorithm
// of [Kaltofen and Shoup, STOC 1995].
// further described in [Shoup, J. Symbolic Comp. 20:363-397, 1995].

// NOTE: When factoring "large" polynomials,
// this routine uses external files to store some intermediate
// results, which are removed if the routine terminates normally.
// These files are stored in the current directory under names of the
// form ddf-*-baby-* and ddf-*-giant-*.
// The definition of "large" is controlled by the variable

      extern double ZZ_pEXFileThresh

// which can be set by the user.  If the sizes of the tables
// exceeds ZZ_pEXFileThresh KB, external files are used.
// Initial value is 256.



void EDF(vec_ZZ_pEX& factors, const ZZ_pEX& f, const ZZ_pEX& h,
         long d, long verbose=0);

vec_ZZ_pEX EDF(const ZZ_pEX& f, const ZZ_pEX& h,
         long d, long verbose=0);

// Performs equal-degree factorization.  f is monic, square-free, and
// all irreducible factors have same degree.  h = X^{ZZ_pE::cardinality()} mod
// f.  d = degree of irreducible factors of f.  This routine
// implements the algorithm of [von zur Gathen and Shoup,
// Computational Complexity 2:187-224, 1992]

void RootEDF(vec_ZZ_pEX& factors, const ZZ_pEX& f, long verbose=0);
vec_ZZ_pEX RootEDF(const ZZ_pEX& f, long verbose=0);

// EDF for d==1


void SFCanZass(vec_ZZ_pEX& factors, const ZZ_pEX& f, long verbose=0);
vec_ZZ_pEX SFCanZass(const ZZ_pEX& f, long verbose=0);

// Assumes f is monic and square-free.  returns list of factors of f.
// Uses "Cantor/Zassenhaus" approach, using the routines NewDDF and
// EDF above.


void CanZass(vec_pair_ZZ_pEX_long& factors, const ZZ_pEX& f, 
             long verbose=0);

vec_pair_ZZ_pEX_long CanZass(const ZZ_pEX& f, long verbose=0);


// returns a list of factors, with multiplicities.  f must be monic.
// Calls SquareFreeDecomp and SFCanZass.

// NOTE: these routines use modular composition.  The space
// used for the required tables can be controlled by the variable
// ZZ_pEXArgBound (see ZZ_pEX.txt).



void mul(ZZ_pEX& f, const vec_pair_ZZ_pEX_long& v);
ZZ_pEX mul(const vec_pair_ZZ_pEX_long& v);

// multiplies polynomials, with multiplicities


/**************************************************************************\

                            Irreducible Polynomials

\**************************************************************************/

long ProbIrredTest(const ZZ_pEX& f, long iter=1);

// performs a fast, probabilistic irreduciblity test.  The test can
// err only if f is reducible, and the error probability is bounded by
// ZZ_pE::cardinality()^{-iter}.  This implements an algorithm from [Shoup,
// J. Symbolic Comp. 17:371-391, 1994].

long DetIrredTest(const ZZ_pEX& f);

// performs a recursive deterministic irreducibility test.  Fast in
// the worst-case (when input is irreducible).  This implements an
// algorithm from [Shoup, J. Symbolic Comp. 17:371-391, 1994].

long IterIrredTest(const ZZ_pEX& f);

// performs an iterative deterministic irreducibility test, based on
// DDF.  Fast on average (when f has a small factor).

void BuildIrred(ZZ_pEX& f, long n);
ZZ_pEX BuildIrred_ZZ_pEX(long n);

// Build a monic irreducible poly of degree n. 

void BuildRandomIrred(ZZ_pEX& f, const ZZ_pEX& g);
ZZ_pEX BuildRandomIrred(const ZZ_pEX& g);

// g is a monic irreducible polynomial.  Constructs a random monic
// irreducible polynomial f of the same degree.


long IterComputeDegree(const ZZ_pEX& h, const ZZ_pEXModulus& F);

// f is assumed to be an "equal degree" polynomial, and h =
// X^{ZZ_pE::cardinality()} mod f.  The common degree of the irreducible 
// factors of f is computed.  Uses a "baby step/giant step" algorithm, similar
// to NewDDF.  Although asymptotocally slower than RecComputeDegree
// (below), it is faster for reasonably sized inputs.

long RecComputeDegree(const ZZ_pEX& h, const ZZ_pEXModulus& F);

// f is assumed to be an "equal degree" polynomial, 
// h = X^{ZZ_pE::cardinality()} mod f.  
// The common degree of the irreducible factors of f is
// computed Uses a recursive algorithm similar to DetIrredTest.

void TraceMap(ZZ_pEX& w, const ZZ_pEX& a, long d, const ZZ_pEXModulus& F,
              const ZZ_pEX& h);

ZZ_pEX TraceMap(const ZZ_pEX& a, long d, const ZZ_pEXModulus& F,
              const ZZ_pEX& h);

// Computes w = a+a^q+...+^{q^{d-1}} mod f; it is assumed that d >= 0,
// and h = X^q mod f, q a power of ZZ_pE::cardinality().  This routine
// implements an algorithm from [von zur Gathen and Shoup,
// Computational Complexity 2:187-224, 1992]

void PowerCompose(ZZ_pEX& w, const ZZ_pEX& h, long d, const ZZ_pEXModulus& F);

ZZ_pEX PowerCompose(const ZZ_pEX& h, long d, const ZZ_pEXModulus& F);

// Computes w = X^{q^d} mod f; it is assumed that d >= 0, and h = X^q
// mod f, q a power of ZZ_pE::cardinality().  This routine implements an
// algorithm from [von zur Gathen and Shoup, Computational Complexity
// 2:187-224, 1992]

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91麻豆精品一区二区三区| 久久精品免费观看| 91免费看`日韩一区二区| 国产精品天干天干在观线| a4yy欧美一区二区三区| 亚洲欧美福利一区二区| 欧美日韩精品欧美日韩精品一 | 精品国产1区二区| 久久www免费人成看片高清| 久久久久久一级片| 97久久精品人人做人人爽| 亚洲国产精品综合小说图片区| 在线电影欧美成精品| 国产成人综合在线播放| 亚洲黄色录像片| 欧美一区二区三区人| 国产福利视频一区二区三区| 成人欧美一区二区三区小说| 欧美特级限制片免费在线观看| 五月天网站亚洲| 久久久精品tv| 欧美系列亚洲系列| 国产精品18久久久久久vr| 亚洲男人的天堂网| 日韩欧美国产高清| 色悠悠久久综合| 国产综合色在线视频区| 夜夜揉揉日日人人青青一国产精品| 91精品啪在线观看国产60岁| 丁香一区二区三区| 青娱乐精品视频| 亚洲精品亚洲人成人网| 久久综合色天天久久综合图片| 色八戒一区二区三区| 国产一区二区h| 午夜不卡在线视频| 国产精品福利av| 久久一区二区三区四区| 欧美视频你懂的| 成人免费高清视频在线观看| 日韩国产在线观看一区| 亚洲女爱视频在线| 久久久久国产精品麻豆ai换脸 | 久久99国内精品| 亚洲午夜视频在线观看| 国产日本一区二区| 精品少妇一区二区三区免费观看| 色婷婷综合在线| 国产69精品久久久久777| 日韩av在线播放中文字幕| 亚洲欧美日韩综合aⅴ视频| 久久精品人人做| 欧美成人国产一区二区| 欧美人妖巨大在线| 色偷偷88欧美精品久久久| 成人av手机在线观看| 国产一区二区三区久久悠悠色av| 一区二区国产视频| 亚洲精品精品亚洲| 综合欧美亚洲日本| 国产精品国模大尺度视频| 久久久噜噜噜久久人人看| 精品精品欲导航| 91精品国产入口在线| 欧美视频一区二区在线观看| 色综合一个色综合亚洲| 91丨porny丨户外露出| 国产真实乱子伦精品视频| 久久91精品国产91久久小草| 麻豆精品一区二区三区| 久久精品国产精品青草| 全国精品久久少妇| 久久国产日韩欧美精品| 麻豆成人久久精品二区三区小说| 日韩电影在线一区二区| 日韩和欧美一区二区| 亚洲成人精品一区二区| 日韩国产欧美在线视频| 蜜桃av噜噜一区| 久久99国产精品久久99果冻传媒| 久久91精品久久久久久秒播| 国产美女在线精品| 成人性生交大片免费看在线播放| 成人网在线免费视频| 国产a久久麻豆| 99久久精品国产精品久久| 色欧美乱欧美15图片| 欧美日免费三级在线| 欧美人伦禁忌dvd放荡欲情| 欧美一区二区三区播放老司机 | 久久精品日产第一区二区三区高清版| 精品久久久久久无| 国产日韩精品一区| 亚洲日本护士毛茸茸| 亚洲成人av电影在线| 麻豆成人av在线| proumb性欧美在线观看| 欧美亚洲一区二区三区四区| 制服丝袜国产精品| 亚洲国产成人私人影院tom| 亚洲精品国久久99热| 免费欧美高清视频| 波多野结衣中文字幕一区| 欧美在线不卡视频| 日韩欧美中文字幕制服| 中文字幕精品一区二区三区精品| 国产精品你懂的在线欣赏| 一区二区三区欧美久久| 久久99精品一区二区三区三区| 国产激情一区二区三区四区| 一本大道综合伊人精品热热| 日韩小视频在线观看专区| 国产精品水嫩水嫩| 日韩av一区二区三区| 成人h精品动漫一区二区三区| 欧美性猛交xxxx黑人交| 久久久久久免费毛片精品| 亚洲一区日韩精品中文字幕| 精品一区二区三区在线观看| 色域天天综合网| 国产午夜精品在线观看| 亚洲成人免费电影| a级精品国产片在线观看| 5858s免费视频成人| 中文字幕中文字幕中文字幕亚洲无线 | 亚洲电影欧美电影有声小说| 国产精品456露脸| 在线成人免费观看| 亚洲日本va午夜在线电影| 蜜桃传媒麻豆第一区在线观看| 91免费观看视频在线| 久久精品视频在线免费观看| 日本亚洲一区二区| 一本色道综合亚洲| 欧美激情一区二区三区| 五月综合激情婷婷六月色窝| 成人高清视频在线| 欧美精品一区二区三区久久久| 亚洲一区二区三区精品在线| 不卡一卡二卡三乱码免费网站| 日韩视频一区二区在线观看| 亚洲综合清纯丝袜自拍| 99麻豆久久久国产精品免费| 久久伊人蜜桃av一区二区| 免费在线观看视频一区| 欧美色精品在线视频| 日本美女一区二区| 91啪在线观看| 综合色中文字幕| 91丨九色丨尤物| 国产精品萝li| 不卡av在线免费观看| 国产日韩av一区二区| 国产乱码一区二区三区| 精品女同一区二区| 激情综合网最新| 久久色在线观看| 国产综合色视频| 久久久精品黄色| 国产69精品久久久久毛片| 国产亚洲精品7777| 国产成人精品一区二| 国产人伦精品一区二区| 国产suv精品一区二区三区| 国产欧美精品一区二区色综合 | 欧美一级在线视频| 日本伊人午夜精品| 日韩免费高清av| 国产一区啦啦啦在线观看| 精品成人在线观看| 国产精品综合在线视频| 国产亚洲精久久久久久| 国产传媒欧美日韩成人| 国产精品视频你懂的| 成人av电影免费在线播放| 亚洲私人影院在线观看| 99精品偷自拍| 亚洲夂夂婷婷色拍ww47| 欧美疯狂做受xxxx富婆| 免费视频一区二区| 久久久亚洲国产美女国产盗摄 | 国产69精品久久久久毛片| 国产精品乱码一区二区三区软件 | 亚洲成人av一区二区| 777a∨成人精品桃花网| 韩国三级中文字幕hd久久精品| 国产色综合一区| 色猫猫国产区一区二在线视频| 亚洲国产欧美另类丝袜| 日韩欧美亚洲一区二区| 国产福利一区二区三区| 亚洲免费色视频| 日韩精品自拍偷拍| 波多野结衣中文一区| 亚洲成人免费观看| 国产亚洲精品免费| 在线观看视频一区| 精品一区二区在线看| 亚洲欧洲成人精品av97| 7777精品伊人久久久大香线蕉经典版下载 |