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

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

?? zz_pxfactoring.txt

?? 一個比較通用的大數運算庫
?? TXT
字號:

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

MODULE: ZZ_pXFactoring

SUMMARY:

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

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

#include <NTL/ZZ_pX.h>
#include <NTL/pair_ZZ_pX_long.h>

void SquareFreeDecomp(vec_pair_ZZ_pX_long& u, const ZZ_pX& f);
vec_pair_ZZ_pX_long SquareFreeDecomp(const ZZ_pX& f);

// Performs square-free decomposition.  f must be monic.  If f =
// prod_i g_i^i, then u is set to a lest 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_p& x, const ZZ_pX& f);
vec_ZZ_p FindRoots(const ZZ_pX& f);

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

void FindRoot(ZZ_p& root, const ZZ_pX& f);
ZZ_p FindRoot(const ZZ_pX& f);

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


void SFBerlekamp(vec_ZZ_pX& factors, const ZZ_pX& f, long verbose=0);
vec_ZZ_pX  SFBerlekamp(const ZZ_pX& f, long verbose=0);

// Assumes f is square-free and monic.  returns list of factors of f.
// Uses "Berlekamp" approach, as described in detail in [Shoup,
// J. Symbolic Comp. 20:363-397, 1995].


void berlekamp(vec_pair_ZZ_pX_long& factors, const ZZ_pX& f, 
               long verbose=0);

vec_pair_ZZ_pX_long berlekamp(const ZZ_pX& f, long verbose=0);

// returns a list of factors, with multiplicities.  f must be monic.
// Calls SFBerlekamp.



void NewDDF(vec_pair_ZZ_pX_long& factors, const ZZ_pX& f, const ZZ_pX& h,
         long verbose=0);

vec_pair_ZZ_pX_long NewDDF(const ZZ_pX& f, const ZZ_pX& 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^p 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_pXFileThresh

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




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

vec_ZZ_pX EDF(const ZZ_pX& f, const ZZ_pX& h,
         long d, long verbose=0);

// Performs equal-degree factorization.  f is monic, square-free, and
// all irreducible factors have same degree.  h = X^p 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_pX& factors, const ZZ_pX& f, long verbose=0);
vec_ZZ_pX RootEDF(const ZZ_pX& f, long verbose=0);

// EDF for d==1

void SFCanZass(vec_ZZ_pX& factors, const ZZ_pX& f, long verbose=0);
vec_ZZ_pX SFCanZass(const ZZ_pX& 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_pX_long& factors, const ZZ_pX& f, 
             long verbose=0);

vec_pair_ZZ_pX_long CanZass(const ZZ_pX& 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_pXArgBound (see ZZ_pX.txt).


void mul(ZZ_pX& f, const vec_pair_ZZ_pX_long& v);
ZZ_pX mul(const vec_pair_ZZ_pX_long& v);

// multiplies polynomials, with multiplicities


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

                            Irreducible Polynomials

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

long ProbIrredTest(const ZZ_pX& 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
// p^{-iter}.  This implements an algorithm from [Shoup, J. Symbolic
// Comp. 17:371-391, 1994].

long DetIrredTest(const ZZ_pX& 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_pX& f);

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

void BuildIrred(ZZ_pX& f, long n);
ZZ_pX BuildIrred_ZZ_pX(long n);

// Build a monic irreducible poly of degree n.

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

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

long ComputeDegree(const ZZ_pX& h, const ZZ_pXModulus& F);

// f is assumed to be an "equal degree" polynomial; h = X^p mod f.
// The common degree of the irreducible factors of f is computed This
// routine is useful in counting points on elliptic curves

long ProbComputeDegree(const ZZ_pX& h, const ZZ_pXModulus& F);

// Same as above, but uses a slightly faster probabilistic algorithm.
// The return value may be 0 or may be too big, but for large p
// (relative to n), this happens with very low probability.

void TraceMap(ZZ_pX& w, const ZZ_pX& a, long d, const ZZ_pXModulus& F,
              const ZZ_pX& h);

ZZ_pX TraceMap(const ZZ_pX& a, long d, const ZZ_pXModulus& F,
              const ZZ_pX& h);

// 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 p.  This routine implements an algorithm
// from [von zur Gathen and Shoup, Computational Complexity 2:187-224,
// 1992].

void PowerCompose(ZZ_pX& w, const ZZ_pX& h, long d, const ZZ_pXModulus& F);

ZZ_pX PowerCompose(const ZZ_pX& h, long d, const ZZ_pXModulus& F);

// w = X^{q^d} mod f; it is assumed that d >= 0, and h = X^q mod f, q
// a power of p.  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一区二区三区免费野_久草精品视频
欧美刺激脚交jootjob| 国产成人免费高清| 91麻豆国产香蕉久久精品| 久久在线免费观看| 国产成人免费视频网站| 国产精品一卡二| 亚洲www啪成人一区二区麻豆| 国产精品一区二区在线播放| 精品一区二区av| 国产精品女主播在线观看| 91在线视频18| 麻豆成人91精品二区三区| 久久久蜜桃精品| 911国产精品| 国产成人综合自拍| 丁香婷婷综合五月| 日韩成人午夜电影| 亚洲天堂网中文字| 日韩一区二区三区精品视频| av高清久久久| 国内精品在线播放| 五月天中文字幕一区二区| 国产精品入口麻豆原神| 国产精品女主播在线观看| 亚洲天堂中文字幕| 免费人成在线不卡| 午夜精品免费在线| 极品美女销魂一区二区三区免费| 经典三级一区二区| 色偷偷成人一区二区三区91| 蓝色福利精品导航| 日本中文一区二区三区| 国内精品久久久久影院薰衣草| 高清av一区二区| 欧美日韩一区二区三区视频| 成人妖精视频yjsp地址| 国产激情一区二区三区桃花岛亚洲| 成人高清免费观看| 波多野结衣在线一区| 欧美三日本三级三级在线播放| 日韩欧美一级二级| 精品噜噜噜噜久久久久久久久试看 | 国产不卡视频在线观看| 一道本成人在线| 久久男人中文字幕资源站| 亚洲最大成人综合| 综合久久国产九一剧情麻豆| 蜜臀va亚洲va欧美va天堂| 91色综合久久久久婷婷| 欧美成人一区二区三区在线观看 | 日日夜夜精品免费视频| 亚洲图片自拍偷拍| 一区二区三区在线观看国产| 国产真实乱偷精品视频免| 欧美在线视频不卡| 欧美一区二区三区在线观看视频| 91精品国产福利| 亚洲免费观看在线视频| 亚洲综合小说图片| 午夜电影网一区| 96av麻豆蜜桃一区二区| 26uuu欧美日本| 日本免费新一区视频| 欧美亚洲国产bt| 日韩欧美久久久| 日韩精品一区第一页| 在线一区二区三区| 欧美成人国产一区二区| 婷婷久久综合九色国产成人 | 青青草伊人久久| 在线国产亚洲欧美| 亚洲在线中文字幕| 欧美日韩国产系列| 久久久国产综合精品女国产盗摄| 日本免费在线视频不卡一不卡二 | 欧美xxxxx裸体时装秀| 性做久久久久久| 精品视频1区2区3区| 一区二区三区在线视频免费观看| 色综合色狠狠综合色| 亚洲最新视频在线观看| 日本道精品一区二区三区| 亚洲国产成人91porn| 欧美日韩在线播| 青娱乐精品视频在线| 欧美精品一区二区三区一线天视频 | 欧美亚洲国产怡红院影院| 亚洲麻豆国产自偷在线| 一二三四区精品视频| 在线中文字幕一区二区| 天天影视涩香欲综合网| 欧美不卡123| 国产成人午夜片在线观看高清观看| 中文字幕av资源一区| 视频在线观看91| 欧美va在线播放| 从欧美一区二区三区| 一区二区三区高清不卡| 欧美美女一区二区在线观看| 亚洲精品视频一区| 欧美色图在线观看| 美女视频网站黄色亚洲| 久久久蜜臀国产一区二区| 9久草视频在线视频精品| 亚洲第一激情av| 久久一夜天堂av一区二区三区| 国产91丝袜在线观看| 亚洲一区二区三区精品在线| 欧美成人一区二区三区片免费| 成人av综合一区| 图片区日韩欧美亚洲| 欧美经典一区二区三区| 经典三级在线一区| 一区二区三区.www| 久久这里只精品最新地址| 91精品福利视频| 精品一区二区免费| 亚洲精品一二三| 久久人人97超碰com| 欧美性生活大片视频| 懂色中文一区二区在线播放| 青青草国产精品亚洲专区无| 国产精品短视频| 91理论电影在线观看| 久久国产精品99久久久久久老狼| 亚洲视频在线一区二区| 精品久久久久一区| 欧美日韩电影一区| 波多野结衣在线aⅴ中文字幕不卡| 日韩av一区二区在线影视| 一区二区高清视频在线观看| 国产人伦精品一区二区| 欧美一区二区三区在线看| 欧洲精品一区二区| 99国产一区二区三精品乱码| 国模冰冰炮一区二区| 另类专区欧美蜜桃臀第一页| 亚洲一区二区三区不卡国产欧美| 国产精品久久久久三级| 久久这里只有精品6| 欧美变态tickling挠脚心| 欧美精品视频www在线观看| 91亚洲男人天堂| 成人精品视频网站| 国产大陆a不卡| 国产高清视频一区| 国产美女视频一区| 日韩伦理免费电影| 亚洲欧洲精品成人久久奇米网 | 亚洲一区国产视频| 亚洲欧美日韩成人高清在线一区| 欧美国产一区视频在线观看| 久久精品亚洲麻豆av一区二区| 99re66热这里只有精品3直播 | 国产精品主播直播| 久久不见久久见中文字幕免费| 日本中文字幕不卡| 日韩综合小视频| 日本成人在线一区| 精品亚洲成a人| 国产精品一区二区免费不卡| 国产精品一区二区免费不卡| 国产毛片精品视频| 国产999精品久久久久久| 成人污污视频在线观看| av成人免费在线观看| 91官网在线免费观看| 欧美年轻男男videosbes| 宅男噜噜噜66一区二区66| 日韩精品一区二区三区三区免费| 久久这里只有精品首页| 国产精品嫩草久久久久| 亚洲自拍偷拍欧美| 男人的天堂亚洲一区| 国产精品一区二区在线播放| 99re8在线精品视频免费播放| 欧美在线色视频| 日韩欧美aaaaaa| 中文字幕av免费专区久久| 亚洲免费看黄网站| 另类人妖一区二区av| 国产传媒日韩欧美成人| 在线观看成人免费视频| 日韩欧美亚洲国产精品字幕久久久| 精品国产不卡一区二区三区| 国产精品污网站| 午夜婷婷国产麻豆精品| 国产91精品在线观看| 欧美中文字幕一区二区三区亚洲| 欧美大片拔萝卜| 中文字幕一区三区| 免费不卡在线观看| 色天天综合色天天久久| 日韩午夜激情视频| 亚洲欧美日韩电影| 麻豆精品视频在线| 在线精品观看国产| 中文无字幕一区二区三区| 天天综合色天天综合| 91性感美女视频|