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

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

?? zzx.txt

?? NTL is a high-performance, portable C++ library providing data structures and algorithms for manipul
?? TXT
?? 第 1 頁 / 共 2 頁
字號:
\**************************************************************************/


void GCD(ZZX& d, const ZZX& a, const ZZX& b);
ZZX GCD(const ZZX& a, const ZZX& b); 
// d = gcd(a, b), LeadCoeff(d) >= 0.  Uses a modular algorithm.


void XGCD(ZZ& r, ZZX& s, ZZX& t, const ZZX& a, const ZZX& b, 
          long deterministic=0);
// r = resultant of a and b; if r != 0, then computes s and t such
// that: a*s + b*t = r; otherwise s and t not affected.  if
// !deterministic, then resultant computation may use a randomized
// strategy that errs with probability no more than 2^{-80}.



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

                               Input/Output

I/O format:

   [a_0 a_1 ... a_n],

represents the polynomial a_0 + a_1*X + ... + a_n*X^n.


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


istream& operator>>(istream& s, ZZX& x);
ostream& operator<<(ostream& s, const ZZX& a);


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

                             Some utility routines

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


long deg(const ZZX& a);  returns degree of a; deg(0) == -1

const ZZ& coeff(const ZZX& a, long i);
// returns a read-only reference to a.rep[i], or zero if i not in
// range

const ZZ& LeadCoeff(const ZZX& a);
// read-only reference to leading term of a, or zero if a == 0

const ZZ& ConstTerm(const ZZX& a);
// read-only reference to constant term of a, or zero if a == 0

void SetCoeff(ZZX& x, long i, const ZZ& a);
void SetCoeff(ZZX& x, long i, long a);
// makes coefficient of X^i equal to a; error is raised if i < 0

void SetCoeff(ZZX& x, long i);
// makes coefficient of X^i equal to 1; error is raised if i < 0

void SetX(ZZX& x); // x is set to the monomial X

long IsX(const ZZX& a); // test if x = X

void diff(ZZX& x, const ZZX& a); // x = derivative of a
ZZX diff(const ZZX& a); 

long MaxBits(const ZZX& f);
// returns max NumBits of coefficients of f

void reverse(ZZX& x, const ZZX& a, long hi);
ZZX reverse(const ZZX& a, long hi);

void reverse(ZZX& x, const ZZX& a);
ZZX reverse(const ZZX& a);

// x = reverse of a[0]..a[hi] (hi >= -1);
// hi defaults to deg(a) in second version


void VectorCopy(vec_ZZ& x, const ZZX& a, long n);
vec_ZZ VectorCopy(const ZZX& a, long n);
// x = copy of coefficient vector of a of length exactly n.
// input is truncated or padded with zeroes as appropriate.



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

                       Arithmetic mod X^n

All routines require n >= 0, otherwise an error is raised.

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


void trunc(ZZX& x, const ZZX& a, long m); // x = a % X^m
ZZX trunc(const ZZX& a, long m);

void MulTrunc(ZZX& x, const ZZX& a, const ZZX& b, long n);
ZZX MulTrunc(const ZZX& a, const ZZX& b, long n);
// x = a * b % X^n

void SqrTrunc(ZZX& x, const ZZX& a, long n);
ZZX SqrTrunc(const ZZX& a, long n);
// x = a^2 % X^n

void InvTrunc(ZZX& x, const ZZX& a, long n);
ZZX InvTrunc(const ZZX& a, long n);
// computes x = a^{-1} % X^m.  Must have ConstTerm(a) invertible.




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

                               Modular Arithmetic

The modulus f must be monic with deg(f) > 0, 
and other arguments must have smaller degree.

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

void MulMod(ZZX& x, const ZZX& a, const ZZX& b, const ZZX& f);
ZZX MulMod(const ZZX& a, const ZZX& b, const ZZX& f);
// x = a * b mod f

void SqrMod(ZZX& x, const ZZX& a, const ZZX& f);
ZZX SqrMod(const ZZX& a, const ZZX& f);
// x = a^2 mod f

void MulByXMod(ZZX& x, const ZZX& a, const ZZX& f);
ZZX MulByXMod(const ZZX& a, const ZZX& f);
// x = a*X mod f


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

                  traces, norms, resultants, discriminants,
                   minimal and characteristic polynomials

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


void TraceMod(ZZ& res, const ZZX& a, const ZZX& f);
ZZ TraceMod(const ZZX& a, const ZZX& f);
// res = trace of (a mod f).  f must be monic, 0 < deg(f), deg(a) <
// deg(f)

void TraceVec(vec_ZZ& S, const ZZX& f);
vec_ZZ TraceVec(const ZZX& f);
// S[i] = Trace(X^i mod f), for i = 0..deg(f)-1.
// f must be a monic polynomial.


// The following routines use a modular approach.

void resultant(ZZ& res, const ZZX& a, const ZZX& b, long deterministic=0);
ZZ resultant(const ZZX& a, const ZZX& b, long deterministic=0);
// res = resultant of a and b. If !deterministic, then it may use a
// randomized strategy that errs with probability no more than
// 2^{-80}.



void NormMod(ZZ& res, const ZZX& a, const ZZX& f, long deterministic=0);
ZZ NormMod(const ZZX& a, const ZZX& f, long deterministic=0);
// res = norm of (a mod f).  f must be monic, 0 < deg(f), deg(a) <
// deg(f). If !deterministic, then it may use a randomized strategy
// that errs with probability no more than 2^{-80}.



void discriminant(ZZ& d, const ZZX& a, long deterministic=0);
ZZ discriminant(const ZZX& a, long deterministic=0);
// d = discriminant of a = (-1)^{m(m-1)/2} resultant(a, a')/lc(a),
// where m = deg(a). If !deterministic, then it may use a randomized
// strategy that errs with probability no more than 2^{-80}.


void CharPolyMod(ZZX& g, const ZZX& a, const ZZX& f, long deterministic=0);
ZZX CharPolyMod(const ZZX& a, const ZZX& f, long deterministic=0);
// g = char poly of (a mod f).  f must be monic.  If !deterministic,
// then it may use a randomized strategy that errs with probability no
// more than 2^{-80}.


void MinPolyMod(ZZX& g, const ZZX& a, const ZZX& f);
ZZX MinPolyMod(const ZZX& a, const ZZX& f);
// g = min poly of (a mod f).  f must be monic, 0 < deg(f), deg(a) <
// deg(f).  May use a probabilistic strategy that errs with
// probability no more than 2^{-80}.




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

                  Incremental Chinese Remaindering

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

long CRT(ZZX& a, ZZ& prod, const zz_pX& A);
long CRT(ZZX& a, ZZ& prod, const ZZ_pX& A);
// Incremental Chinese Remaindering: If p is the current zz_p/ZZ_p modulus with
// (p, prod) = 1; Computes a' such that a' = a mod prod and a' = A mod p,
// with coefficients in the interval (-p*prod/2, p*prod/2]; 
// Sets a := a', prod := p*prod, and returns 1 if a's value changed.





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

                                vectors of ZZX's

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

NTL_vector_decl(ZZX,vec_ZZX)
// vec_ZZX

NTL_eq_vector_decl(ZZX,vec_ZZX)
// == and !=

NTL_io_vector_decl(ZZX,vec_ZZX)
// I/O operators


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

                                Miscellany


A ZZX f is represented as a vec_ZZ, which can be accessed as
f.rep.  The constant term is f.rep[0] and the leading coefficient is
f.rep[f.rep.length()-1], except if f is zero, in which case
f.rep.length() == 0.  Note that the leading coefficient is always
nonzero (unless f is zero).  One can freely access and modify f.rep,
but one should always ensure that the leading coefficient is nonzero,
which can be done by invoking f.normalize().



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


void clear(ZZX& x); // x = 0
void set(ZZX& x); // x = 1

void ZZX::normalize();
// f.normalize() strips leading zeros from f.rep.

void ZZX::SetMaxLength(long n);
// f.SetMaxLength(n) pre-allocate spaces for n coefficients.  The
// polynomial that f represents is unchanged.

void ZZX::kill();
// f.kill() sets f to 0 and frees all memory held by f.  Equivalent to
// f.rep.kill().

ZZX::ZZX(INIT_SIZE_TYPE, long n);
// ZZX(INIT_SIZE, n) initializes to zero, but space is pre-allocated
// for n coefficients

static const ZZX& zero();
// ZZX::zero() is a read-only reference to 0

void swap(ZZX& x, ZZX& y); 
// swap x & y (by swapping pointers)

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产欧美精品一区二区色综合朱莉| 亚洲日本免费电影| 亚洲视频综合在线| 免费的国产精品| 91久久精品日日躁夜夜躁欧美| 欧美哺乳videos| 一区二区三区波多野结衣在线观看| 国产在线一区观看| 欧美美女bb生活片| 亚洲人成精品久久久久| 国产精品一区三区| 91精品国产一区二区人妖| 亚洲美女精品一区| 不卡一区二区在线| 久久久精品影视| 狠狠色综合日日| 日韩免费电影网站| 日本v片在线高清不卡在线观看| 色999日韩国产欧美一区二区| 国产精品全国免费观看高清| 国产一区二区三区免费看 | 成人精品国产免费网站| 成人免费高清在线观看| 日韩一区二区免费视频| 亚洲国产精品麻豆| 在线欧美小视频| 亚洲免费av高清| 91老师国产黑色丝袜在线| 国产欧美久久久精品影院| 国产精品18久久久久久久网站| 欧美tk丨vk视频| 国内精品久久久久影院薰衣草| 日韩三级电影网址| 国产自产高清不卡| 国产视频一区在线播放| 国产成人99久久亚洲综合精品| 久久只精品国产| 国产成人av一区二区三区在线 | 色系网站成人免费| 一区二区三区欧美在线观看| 在线亚洲免费视频| 性久久久久久久久久久久| 在线综合+亚洲+欧美中文字幕| 午夜精品一区二区三区三上悠亚| 欧美情侣在线播放| 久久精品99国产精品日本| 精品国产伦理网| 成人永久看片免费视频天堂| 亚洲欧洲国产日本综合| 欧洲一区在线电影| 日本vs亚洲vs韩国一区三区二区| 精品国产百合女同互慰| 成人黄页毛片网站| 亚洲成人午夜电影| 日韩欧美视频一区| 99久久精品一区二区| 亚洲国产视频网站| 26uuu精品一区二区三区四区在线| 国产精品资源网| 一区二区在线观看视频| 日韩欧美一区在线观看| 成人国产精品免费网站| 一区二区高清视频在线观看| 欧美高清视频不卡网| 国产东北露脸精品视频| 亚洲夂夂婷婷色拍ww47| 欧美成人伊人久久综合网| 成人av中文字幕| 婷婷久久综合九色综合绿巨人| www国产成人| 欧美综合天天夜夜久久| 国产一区二区三区国产| 一区二区三区在线看| 精品不卡在线视频| 欧美亚洲国产怡红院影院| 国产麻豆成人精品| 日韩影院免费视频| 中文字幕在线一区二区三区| 91精品国产一区二区三区| 97精品电影院| 国产精品自拍三区| 蜜桃免费网站一区二区三区| 亚洲欧美成aⅴ人在线观看| 日韩午夜在线播放| 欧美性受极品xxxx喷水| 91在线视频观看| 国产剧情av麻豆香蕉精品| 轻轻草成人在线| 亚洲最大色网站| 综合婷婷亚洲小说| 国产亚洲福利社区一区| 日韩一区二区免费电影| 欧美亚洲国产bt| 色婷婷av一区二区三区软件 | 日本一区二区免费在线| 日韩欧美国产一区在线观看| 在线观看免费一区| 93久久精品日日躁夜夜躁欧美| 韩国成人精品a∨在线观看| 天天综合天天综合色| 亚洲国产精品久久人人爱| 亚洲色图在线视频| 综合电影一区二区三区| 国产精品无人区| 国产喷白浆一区二区三区| 2020国产精品自拍| 亚洲精品一区二区在线观看| 91精品国产综合久久久久| 欧美丝袜自拍制服另类| 欧美亚洲综合另类| 欧美三电影在线| 欧美色网站导航| 欧美性大战久久久久久久| 色先锋aa成人| 欧美区一区二区三区| 欧美丰满一区二区免费视频| 欧美一级欧美三级在线观看| 宅男在线国产精品| 精品国产露脸精彩对白| 精品国产亚洲在线| 国产日韩精品一区二区浪潮av| 久久这里都是精品| 欧美高清在线精品一区| 亚洲欧美在线高清| 亚洲综合一区二区三区| 亚洲一区二区成人在线观看| 亚欧色一区w666天堂| 日韩成人精品在线| 国内精品久久久久影院色| 国产精品99久久久久久宅男| 成人午夜电影久久影院| 成人91在线观看| 欧美在线免费视屏| 欧美成人精品福利| 国产精品久久久久久福利一牛影视| 国产精品九色蝌蚪自拍| 亚洲国产中文字幕在线视频综合| 日日夜夜精品视频天天综合网| 精品在线观看视频| www.在线欧美| 欧美日韩国产另类一区| 欧美变态tickling挠脚心| 国产精品久久看| 午夜精品久久久久久久久久| 久草这里只有精品视频| 99精品久久只有精品| 在线播放91灌醉迷j高跟美女 | 亚洲一级二级三级在线免费观看| 午夜成人在线视频| 丁香一区二区三区| 欧美亚州韩日在线看免费版国语版| 日韩一区二区三区精品视频| 国产精品久久综合| 裸体健美xxxx欧美裸体表演| 国产成人av在线影院| 欧美裸体bbwbbwbbw| 中文字幕av免费专区久久| 亚洲综合区在线| 国产精品资源站在线| 欧美午夜精品电影| 中文字幕免费观看一区| 日韩在线一区二区三区| 91丨国产丨九色丨pron| 精品国产乱码久久| 性欧美疯狂xxxxbbbb| 97久久精品人人澡人人爽| 欧美精品一区二区三区四区| 亚洲综合另类小说| 国产91精品久久久久久久网曝门| 欧美日韩国产色站一区二区三区| 中文字幕不卡一区| 国产中文字幕一区| 91精品国产乱| 亚洲综合视频网| av在线不卡免费看| 久久亚洲二区三区| 奇米精品一区二区三区在线观看一| 色欧美乱欧美15图片| 亚洲国产电影在线观看| 国产一区二区精品在线观看| 91精品国产欧美一区二区18| 亚洲欧美色综合| 91色在线porny| 国产精品国产a级| 成人三级伦理片| 久久精品欧美日韩精品| 国产在线乱码一区二区三区| 欧美日韩久久一区二区| 亚洲一区在线观看网站| 日本韩国一区二区三区视频| 国产精品三级在线观看| 岛国一区二区三区| 中文字幕高清一区| 成人网在线免费视频| 国产精品久久久久婷婷| www.久久久久久久久| 国产精品女主播av| 色一情一乱一乱一91av| 亚洲一区二区三区在线播放| 欧美性受xxxx黑人xyx性爽|