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

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

?? lzz_pexfactoring.txt

?? 一個比較通用的大數運算庫
?? 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/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
// 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]

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日本一道本在线视频| 久久综合色鬼综合色| 国产综合色产在线精品| 亚洲免费av在线| 久久久美女艺术照精彩视频福利播放| aa级大片欧美| 国产黄色成人av| 久久成人免费网| 亚洲综合色网站| 国产精品区一区二区三区| 精品少妇一区二区三区| 欧美在线一二三| 99久久99久久免费精品蜜臀| 精品在线播放午夜| 日韩黄色片在线观看| 亚洲免费资源在线播放| 欧美高清在线精品一区| 欧美精品一区二区在线观看| 91精品国产美女浴室洗澡无遮挡| 色婷婷久久久久swag精品 | 日韩av网站在线观看| 亚洲色图欧洲色图| 亚洲欧洲韩国日本视频| 国产网红主播福利一区二区| 久久综合网色—综合色88| 欧美一区三区二区| 欧美卡1卡2卡| 欧美日本在线看| 欧美日韩亚洲国产综合| 色狠狠一区二区| 欧美偷拍一区二区| 在线免费观看不卡av| 97久久精品人人做人人爽| 成人午夜视频在线| jizzjizzjizz欧美| 91在线精品一区二区| 99精品国产91久久久久久| 91亚洲男人天堂| 91热门视频在线观看| 91最新地址在线播放| 99精品视频在线免费观看| 99视频有精品| 99在线精品观看| 91精彩视频在线| 欧美精品亚洲一区二区在线播放| 欧美裸体bbwbbwbbw| 日韩一区二区电影在线| 日韩精品一区二区三区在线播放| 亚洲精品一区二区三区影院| 国产日韩精品一区二区浪潮av| 欧美极品aⅴ影院| 亚洲精品成人天堂一二三| 亚洲无人区一区| 久久91精品国产91久久小草| 国产乱人伦偷精品视频不卡| 成人激情小说网站| 欧美在线不卡视频| 欧美一三区三区四区免费在线看| 日韩一区二区三区高清免费看看| 亚洲精品一区二区三区在线观看| 国产欧美日韩另类视频免费观看| 日韩毛片高清在线播放| 亚洲6080在线| 久久99精品国产91久久来源| 成人亚洲精品久久久久软件| 一本久久a久久精品亚洲| 欧美日韩欧美一区二区| 精品理论电影在线| 亚洲欧洲日韩综合一区二区| 亚洲一区二区三区四区不卡| 捆绑紧缚一区二区三区视频| 国产精品香蕉一区二区三区| 色伊人久久综合中文字幕| 91麻豆精品国产91久久久久| 久久亚洲精华国产精华液| 亚洲人吸女人奶水| 蜜桃精品视频在线| 91亚洲精品久久久蜜桃网站| 日韩一级免费一区| 国产精品国产自产拍高清av| 亚洲va欧美va人人爽| 国产丶欧美丶日本不卡视频| 欧洲色大大久久| 欧美高清在线精品一区| 日韩精品视频网站| 成人综合激情网| 91精品国产全国免费观看| 中文字幕一区不卡| 免费人成精品欧美精品| 一本一本大道香蕉久在线精品| 欧美大胆一级视频| 亚洲黄色av一区| 国产成a人无v码亚洲福利| 欧美日韩免费在线视频| 中文字幕二三区不卡| 日韩国产欧美三级| 91福利在线看| 国产调教视频一区| 美女免费视频一区二区| 欧美亚洲国产怡红院影院| 欧美高清在线视频| 韩国av一区二区三区四区| 在线不卡一区二区| 亚洲精品成人精品456| 成人一区二区三区中文字幕| 日韩欧美国产一区二区在线播放| 玉足女爽爽91| 91在线精品一区二区三区| 国产三级精品视频| 久草热8精品视频在线观看| 欧美丰满少妇xxxxx高潮对白| 一区二区三区四区激情| 高清不卡一区二区在线| 久久久久9999亚洲精品| 久久国产精品区| 日韩欧美久久一区| 日日夜夜精品视频免费| 91福利社在线观看| 亚洲激情六月丁香| 91论坛在线播放| 亚洲欧美在线观看| 成人激情免费电影网址| 欧美韩国日本不卡| 大桥未久av一区二区三区中文| 久久久久国产精品人| 国内成人免费视频| 久久色.com| 国产精品中文字幕欧美| 精品国产乱码久久久久久老虎| 久久99久久久久久久久久久| 欧美一区二区三区播放老司机| 午夜欧美2019年伦理| 欧美日韩成人综合| 丝袜亚洲另类欧美综合| 555夜色666亚洲国产免| 日产精品久久久久久久性色| 91精品在线麻豆| 日韩电影在线免费看| 日韩女优av电影| 国产在线播放一区二区三区| 久久久久久久久久久久电影| 成人永久aaa| 一区二区三区视频在线观看| 欧美三级韩国三级日本一级| 亚洲成人先锋电影| 日韩区在线观看| 国产精品12区| 一区在线播放视频| 欧美日韩色一区| 伦理电影国产精品| 国产人成亚洲第一网站在线播放| 成人一区二区三区在线观看 | 日本美女一区二区三区| 日韩免费视频一区| 国产电影一区在线| 一区二区三区中文字幕电影 | 亚洲成人激情自拍| 日韩欧美亚洲另类制服综合在线| 精品一区二区三区在线观看国产 | 91视频免费观看| 亚洲第一成人在线| 26uuu精品一区二区在线观看| 国产风韵犹存在线视精品| 日韩理论片在线| 欧美一区二区三区在| 国产精品99久久不卡二区| 亚洲三级免费观看| 日韩精品一区二区三区中文不卡| 粉嫩高潮美女一区二区三区| 一区二区日韩av| 日韩美女一区二区三区| 91在线云播放| 麻豆国产精品官网| 欧美高清一级片在线观看| 欧美日韩一区三区| 成人在线一区二区三区| 亚洲影院久久精品| 久久免费的精品国产v∧| 在线精品亚洲一区二区不卡| 麻豆国产91在线播放| 亚洲精品国久久99热| 精品国产亚洲一区二区三区在线观看| 国产999精品久久| 天堂午夜影视日韩欧美一区二区| 精品国产一区二区三区久久影院| 一本一道综合狠狠老| 黄色日韩三级电影| 亚洲影院理伦片| 中文字幕第一区| 欧美一区二区精品| 日本韩国一区二区| 国产成人无遮挡在线视频| 日韩电影免费在线观看网站| 国产精品入口麻豆九色| 精品国产亚洲在线| 欧美一区二区三区免费大片| 91蜜桃婷婷狠狠久久综合9色| 精品一区二区国语对白| 亚洲第一在线综合网站| 亚洲视频图片小说|