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

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

?? zz_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/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// 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一区二区三区免费野_久草精品视频
欧美国产日韩精品免费观看| 在线视频一区二区免费| 亚洲第一成年网| 一区二区欧美视频| 亚洲婷婷在线视频| 成人欧美一区二区三区| 中文子幕无线码一区tr| 欧美va亚洲va香蕉在线| 精品国产一区二区三区久久久蜜月| 欧美三级蜜桃2在线观看| 欧美日韩亚洲综合一区| 欧美一区二区三区免费视频| 欧美一区二区三区电影| 精品久久五月天| 久久人人97超碰com| 国产精品国产三级国产aⅴ中文 | 欧美性受极品xxxx喷水| 欧美影院一区二区三区| 在线播放日韩导航| 欧美电影精品一区二区| 国产女人aaa级久久久级| 国产精品剧情在线亚洲| 亚洲美女区一区| 亚洲成人7777| 国产精品白丝jk白祙喷水网站| 国产一区二区按摩在线观看| 成人福利电影精品一区二区在线观看| 国产精品自拍在线| 色哟哟日韩精品| 日韩视频免费直播| 中文字幕一区二区三区视频| 亚洲国产日韩一级| 国产在线视频一区二区三区| 色综合天天狠狠| 日韩欧美国产一区二区三区| 日韩毛片精品高清免费| 石原莉奈一区二区三区在线观看 | 18成人在线视频| 午夜亚洲福利老司机| 激情成人综合网| 在线欧美小视频| 久久综合久久综合久久| 亚洲精品成人在线| 国产精品1区2区3区在线观看| 91亚洲永久精品| 精品国产a毛片| 亚洲国产va精品久久久不卡综合 | 亚洲嫩草精品久久| 久久超碰97中文字幕| 在线国产电影不卡| 久久精品这里都是精品| 日本不卡不码高清免费观看| 日本精品一级二级| 日本一区二区不卡视频| 青青草原综合久久大伊人精品| 91视频观看视频| 国产精品免费视频网站| 九色综合狠狠综合久久| 欧美日韩在线三级| 亚洲欧美电影院| av电影天堂一区二区在线观看| 日韩免费看的电影| 午夜精品一区二区三区电影天堂| yourporn久久国产精品| 久久久www免费人成精品| 琪琪久久久久日韩精品| 91精品国产一区二区人妖| 亚洲欧美成人一区二区三区| 成人福利视频网站| 国产精品国产三级国产普通话蜜臀| 麻豆成人久久精品二区三区红| 在线国产亚洲欧美| 亚洲国产综合人成综合网站| 91美女福利视频| 国产精品国产三级国产aⅴ原创| 国产精品综合在线视频| 国产亚洲污的网站| 国产在线精品一区二区夜色 | 国产精品久久久久精k8 | 亚洲一区二区欧美激情| 99久久婷婷国产精品综合| 日韩理论片在线| 色综合久久久久综合体| 亚洲在线中文字幕| 欧美日韩视频不卡| 日本成人在线电影网| 欧美一二三在线| 久久99精品久久久久久国产越南| 精品久久五月天| 成人国产视频在线观看| 综合久久一区二区三区| 欧洲国内综合视频| 日本亚洲视频在线| 国产欧美日韩综合精品一区二区| 国产精品一区二区三区四区| 国产精品欧美综合在线| 欧美在线视频全部完| 日韩精品成人一区二区三区| 日韩免费电影一区| 99久久免费视频.com| 午夜精品福利一区二区蜜股av | 国产精品嫩草99a| 91福利社在线观看| 麻豆精品视频在线观看| 日本一区二区三区四区在线视频 | 久久精品男人的天堂| 99精品久久99久久久久| 午夜激情久久久| 中文字幕免费一区| 91精品久久久久久久91蜜桃| 国产美女一区二区| 亚洲精品日产精品乱码不卡| 3atv在线一区二区三区| 高清beeg欧美| 亚洲成人激情社区| 中文字幕不卡在线| 91麻豆精品国产无毒不卡在线观看| 激情欧美日韩一区二区| 亚洲综合色区另类av| 精品91自产拍在线观看一区| av午夜一区麻豆| 黄一区二区三区| 亚洲高清视频的网址| 久久九九久久九九| 欧美一区二区私人影院日本| 成人高清免费观看| 国产一区在线精品| 亚洲成年人网站在线观看| 亚洲欧美中日韩| 日韩欧美的一区| 欧美亚洲综合久久| av电影在线不卡| 国产suv精品一区二区6| 麻豆精品一区二区三区| 无码av免费一区二区三区试看| 国产精品福利av| 久久综合狠狠综合久久激情| 91精品国产综合久久久久久| 91网址在线看| 国产成人免费9x9x人网站视频| 日韩精品一级中文字幕精品视频免费观看 | 伊人性伊人情综合网| 国产视频一区二区三区在线观看| 在线视频综合导航| kk眼镜猥琐国模调教系列一区二区| 狂野欧美性猛交blacked| 亚洲bt欧美bt精品| 亚洲综合在线视频| 亚洲欧美日韩国产手机在线| 中文在线免费一区三区高中清不卡| 欧美xfplay| 精品成人免费观看| 久久综合久久综合九色| 日韩女优视频免费观看| 日韩一区二区免费视频| 日韩一级二级三级| 欧美一级淫片007| 日韩一区二区三区免费观看| 欧美高清你懂得| 3atv一区二区三区| 欧美一区二区三区免费大片| 欧美一区二区三区四区高清| 91精品在线麻豆| 日韩欧美一级特黄在线播放| 日韩一区二区三区免费看| 日韩女优av电影在线观看| 精品国产乱码久久久久久蜜臀| 日韩欧美在线影院| 欧美电影免费观看高清完整版在线观看| 欧美一区三区四区| 精品盗摄一区二区三区| 国产午夜精品福利| 国产精品成人在线观看| 亚洲精品一二三四区| 亚洲成人动漫av| 久久99国产精品尤物| 国产很黄免费观看久久| 成人av在线资源网| 欧美日韩视频专区在线播放| 日韩小视频在线观看专区| 久久久99精品免费观看不卡| 亚洲视频免费观看| 日韩精品国产欧美| 国产精品影音先锋| 丰满亚洲少妇av| 欧美揉bbbbb揉bbbbb| 精品国产1区二区| 亚洲欧美日韩久久| 免费人成在线不卡| 97久久精品人人爽人人爽蜜臀| 欧美午夜不卡在线观看免费| 日韩精品一区二区三区四区| 日本一区二区视频在线| 亚洲一级二级在线| 国产精品影音先锋| 欧美日韩dvd在线观看| 亚洲欧美自拍偷拍色图| 日韩高清一级片| 99久久精品情趣| 久久久午夜精品理论片中文字幕|