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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? lzz_pexfactoring.txt

?? 密碼大家Shoup寫的數論算法c語言實現
?? TXT
字號:
/**************************************************************************\MODULE: zz_pEXFactoringSUMMARY:Routines are provided for factorization of polynomials over zz_pE, aswell as routines for related problems such as testing irreducibilityand constructing irreducible polynomials of given degree.\**************************************************************************/#include <NTL/lzz_pEX.h>#include <NTL/pair_lzz_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// rootsvoid 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 factorsvoid 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==1void 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]

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美性受xxxx黑人xyx| 精品在线观看免费| 亚洲国产综合91精品麻豆| 婷婷久久综合九色国产成人| 国产精品亚洲视频| 欧美日韩国产影片| 中文子幕无线码一区tr| 美女在线观看视频一区二区| 国产精品成人免费在线| 麻豆极品一区二区三区| 99re免费视频精品全部| 精品国产欧美一区二区| 亚洲国产精品欧美一二99 | 欧美日韩高清不卡| 国产欧美日韩视频一区二区| 日韩国产欧美在线播放| 在线中文字幕一区二区| 综合久久久久综合| 成人h动漫精品一区二区| 久久老女人爱爱| 美女网站在线免费欧美精品| 欧美中文字幕一区二区三区亚洲| 中文字幕第一区二区| 国产在线精品免费av| 精品国产一区二区三区久久久蜜月| 一二三四区精品视频| 91蜜桃视频在线| 亚洲欧美区自拍先锋| av电影在线观看一区| 中文天堂在线一区| 99久久精品国产精品久久 | 日韩欧美一区二区三区在线| 一区二区高清免费观看影视大全| 成人激情黄色小说| 国产精品乱人伦中文| 粉嫩13p一区二区三区| 日本一区二区三区免费乱视频 | 国产精品123| 2023国产一二三区日本精品2022| 免费观看成人鲁鲁鲁鲁鲁视频| 欧美电影在线免费观看| 天堂av在线一区| 欧美一区二区三区啪啪| 美国十次综合导航| 久久亚洲一级片| thepron国产精品| 亚洲男人的天堂在线观看| 色中色一区二区| 亚洲一区二区三区四区的| 欧美日韩高清一区二区三区| 日韩福利视频网| 精品女同一区二区| 国产成人av电影在线| 亚洲丝袜自拍清纯另类| 欧美人妖巨大在线| 国产一区二区免费在线| 欧美国产一区视频在线观看| 一本大道久久a久久精品综合| 亚洲一区二区偷拍精品| 精品久久久久久最新网址| www.欧美日韩国产在线| 亚洲线精品一区二区三区八戒| 日韩一区二区精品葵司在线| 国产精品99久久久| 亚洲一区av在线| 精品成人在线观看| 91偷拍与自偷拍精品| 日韩精品一级二级| 久久综合视频网| 色综合天天做天天爱| 麻豆精品视频在线观看免费| 国产精品美女久久久久av爽李琼| 欧美视频在线观看一区二区| 国产精品99久久久| 香蕉成人啪国产精品视频综合网| 欧美精品一区二区三区一线天视频| 91偷拍与自偷拍精品| 精品一区二区三区在线观看| 亚洲免费在线视频| 久久免费国产精品| 欧美日韩免费在线视频| 成人免费三级在线| 美女mm1313爽爽久久久蜜臀| 亚洲啪啪综合av一区二区三区| 日韩欧美一级二级| 欧美吻胸吃奶大尺度电影| 国产成人亚洲综合a∨婷婷| 婷婷夜色潮精品综合在线| 日韩一区在线播放| 久久综合九色综合欧美就去吻| 欧美在线观看视频一区二区| 国产精品18久久久久久久久久久久 | 96av麻豆蜜桃一区二区| 国产精选一区二区三区| 石原莉奈一区二区三区在线观看| ...中文天堂在线一区| 久久久久97国产精华液好用吗| 欧美日韩国产在线播放网站| 色成人在线视频| 成人激情动漫在线观看| 国产成人综合网| 国产麻豆视频精品| 久久99久久久久久久久久久| 亚洲成a人v欧美综合天堂下载| 亚洲丝袜制服诱惑| 成人免费在线视频观看| 国产精品丝袜91| 中文字幕不卡的av| 日本一区二区三区电影| 久久色中文字幕| 久久综合九色综合欧美亚洲| 日韩欧美一区二区久久婷婷| 日韩视频一区二区| 欧美本精品男人aⅴ天堂| 欧美不卡一区二区三区| 欧美一区二区三区白人| 日韩欧美你懂的| 日韩美女天天操| 精品久久久久av影院| 精品国精品自拍自在线| 精品99一区二区三区| 精品国产凹凸成av人导航| 欧美精品一区二区精品网| 精品毛片乱码1区2区3区| 久久影院电视剧免费观看| 久久精品夜色噜噜亚洲a∨| 国产亚洲精品超碰| 最新国产精品久久精品| ●精品国产综合乱码久久久久| 国产精品成人在线观看| 亚洲综合999| 美女爽到高潮91| 丰满白嫩尤物一区二区| 91亚洲国产成人精品一区二三| 91久久精品一区二区三区| 精品污污网站免费看| 日韩西西人体444www| 国产亚洲一区二区三区四区| 国产精品国产三级国产普通话99| 一区二区三区四区不卡视频| 精品国产91九色蝌蚪| 日韩中文字幕1| 亚洲男帅同性gay1069| 夜夜精品视频一区二区| 国产精品青草综合久久久久99| 亚洲欧美一区二区在线观看| 亚洲国产日韩a在线播放性色| 蜜桃视频一区二区三区在线观看| 久久99精品国产.久久久久| 国产精品66部| 欧美三区免费完整视频在线观看| 91精品免费在线观看| 久久精品一区蜜桃臀影院| 在线亚洲人成电影网站色www| 日本韩国欧美一区| 亚洲欧洲日韩在线| 日本aⅴ亚洲精品中文乱码| 欧美日韩在线亚洲一区蜜芽| 欧美日韩高清一区二区不卡| 欧美极品少妇xxxxⅹ高跟鞋| 一区二区三区在线视频观看58| 理论电影国产精品| 欧美性xxxxx极品少妇| 777欧美精品| 亚洲精品在线三区| 一区二区三区高清| 精品综合免费视频观看| 不卡欧美aaaaa| 51精品国自产在线| 久久伊人中文字幕| 国产精品免费av| 偷窥少妇高潮呻吟av久久免费| 国产一二三精品| 欧美午夜一区二区| 亚洲欧美在线aaa| 黑人巨大精品欧美一区| 在线看日本不卡| 欧美—级在线免费片| 日韩经典一区二区| 欧美性猛交xxxx乱大交退制版| 色婷婷久久久亚洲一区二区三区| 日韩欧美一区二区免费| 综合久久综合久久| 成人午夜视频网站| gogo大胆日本视频一区| 精品免费日韩av| 免费观看日韩电影| 欧美人妇做爰xxxⅹ性高电影 | 国产另类ts人妖一区二区| 欧美视频在线播放| 亚洲免费av网站| 国产激情一区二区三区四区 | 91丝袜美女网| 中文字幕亚洲区| 成人a区在线观看| 中文字幕av免费专区久久| 国产精品88888| 国产精品网友自拍| 国产91精品入口| 日韩免费看的电影|