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

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

?? zzx.txt

?? 數值算法庫for Unix
?? TXT
?? 第 1 頁 / 共 2 頁
字號:
/**************************************************************************\MODULE: ZZXSUMMARY:The class ZZX implements polynomials in ZZ[X], i.e., univariatepolynomials with integer coefficients.Polynomial multiplication is implemented using one of 4 differentalgorithms:1) classical 2) Karatsuba3) Schoenhage & Strassen --- performs an FFT by working     modulo a "Fermat number" of appropriate size...     good for polynomials with huge coefficients     and moderate degree4) CRT/FFT --- performs an FFT by working modulo several     small primes...good for polynomials with moderate coefficients     and huge degree.The choice of algorithm is somewhat heuristic, and may not always beperfect.Many thanks to Juergen Gerhard <jngerhar@plato.uni-paderborn.de> forpointing out the deficiency in the NTL-1.0 ZZX arithmetic, and forcontributing the Schoenhage/Strassen code.Extensive use is made of modular algorithms to enhance performance(e.g., the GCD algorithm and amny others).\**************************************************************************/#include <NTL/vec_ZZ.h>#include "zz_pX.h"#include <NTL/ZZ_pX.h>class ZZX {public:   ZZX(); // initial value 0   ZZX(const ZZX& a); // copy   ZZX& operator=(const ZZX& a); // assignment   ZZX& operator=(const ZZ& a);   ZZX& operator=(long a);   ~ZZX();   ZZX(long i, const ZZ& c); // initial value X^i*c   ZZX(long i, long c);    // ...};/**************************************************************************\                                  Comparison\**************************************************************************/long operator==(const ZZX& a, const ZZX& b);long operator!=(const ZZX& a, const ZZX& b);long IsZero(const ZZX& a);  // test for 0long IsOne(const ZZX& a);  // test for 1// PROMOTIONS: operators ==, != promote {long, ZZ} to ZZX on (a, b)./**************************************************************************\                                   Addition\**************************************************************************/// operator notation:ZZX operator+(const ZZX& a, const ZZX& b);ZZX operator-(const ZZX& a, const ZZX& b);ZZX operator-(const ZZX& a); // unary -ZZX& operator+=(ZZX& x, const ZZX& a);ZZX& operator-=(ZZX& x, const ZZX& a);ZZX& operator++(ZZX& x);  // prefixvoid operator++(ZZX& x, int);  // postfixZZX& operator--(ZZX& x);  // prefixvoid operator--(ZZX& x, int);  // postfix// procedural versions:void add(ZZX& x, const ZZX& a, const ZZX& b); // x = a + bvoid sub(ZZX& x, const ZZX& a, const ZZX& b); // x = a - bvoid negate(ZZX& x, const ZZX& a); // x = -a// PROMOTIONS: binary +, - and procedures add, sub promote {long, ZZ} // to ZZX on (a, b)./**************************************************************************\                               Multiplication\**************************************************************************/// operator notation:ZZX operator*(const ZZX& a, const ZZX& b);ZZX& operator*=(ZZX& x, const ZZX& a);// procedural versions:void mul(ZZX& x, const ZZX& a, const ZZX& b); // x = a * bvoid sqr(ZZX& x, const ZZX& a); // x = a^2ZZX sqr(const ZZX& a);// PROMOTIONS: operator * and procedure mul promote {long, ZZ} to ZZX // on (a, b)./**************************************************************************\                               Shift OperationsLeftShift by n means multiplication by X^nRightShift by n means division by X^nA negative shift amount reverses the direction of the shift.\**************************************************************************/// operator notation:ZZX operator<<(const ZZX& a, long n);ZZX operator>>(const ZZX& a, long n);ZZX& operator<<=(ZZX& x, long n);ZZX& operator>>=(ZZX& x, long n);// procedural versions:void LeftShift(ZZX& x, const ZZX& a, long n); ZZX LeftShift(const ZZX& a, long n);void RightShift(ZZX& x, const ZZX& a, long n); ZZX RightShift(const ZZX& a, long n); /**************************************************************************\                                  Division\**************************************************************************/// Given polynomials a, b in ZZ[X], there exist polynomials// q, r in QQ[X] such that a = b*q + r, deg(r) < deg(b).// These routines return q and/or r if q and/or r lie(s) in ZZ[X],// and otherwise raise an error.  // Note that if the leading coefficient of b is 1 or -1, // then q and r always lie in ZZ[X], and no error can occur.// For example, you can write f/2 for a ZZX f.  If all coefficients// of f are even, the result is f with a factor of two removed;// otherwise, an error is raised.  More generally, f/g will be// evaluate q in ZZ[X] such that f = q*g if such a q exists,// and will otherwise raise an error.// See also below the routines for pseudo-division and division// predicates for routines that are perhaps more useful in// some situations.// operator notation: ZZX operator/(const ZZX& a, const ZZX& b);ZZX operator/(const ZZX& a, const ZZ& b);ZZX operator/(const ZZX& a, long b);ZZX operator%(const ZZX& a, const ZZX& b);ZZX& operator/=(ZZX& x, const ZZX& b);ZZX& operator/=(ZZX& x, const ZZ& b);ZZX& operator/=(ZZX& x, long b);ZZX& operator%=(ZZX& x, const ZZX& b);// procedural versions:void DivRem(ZZX& q, ZZX& r, const ZZX& a, const ZZX& b);// computes q, r such that a = b q + r and deg(r) < deg(b).// requires LeadCoeff(b) is a unit (+1, -1); otherwise,// an error is raised.void div(ZZX& q, const ZZX& a, const ZZX& b);void div(ZZX& q, const ZZX& a, const ZZ& b);void div(ZZX& q, const ZZX& a, long b);// same as DivRem, but only computes qvoid rem(ZZX& r, const ZZX& a, const ZZX& b);// same as DivRem, but only computes r// divide predicates:long divide(ZZX& q, const ZZX& a, const ZZX& b);long divide(ZZX& q, const ZZX& a, const ZZ& b);long divide(ZZX& q, const ZZX& a, long b);// if b | a, sets q = a/b and returns 1; otherwise returns 0long divide(const ZZX& a, const ZZX& b);long divide(const ZZX& a, const ZZ& b);long divide(const ZZX& a, long b);// if b | a, returns 1; otherwise returns 0// These algorithms employ a modular approach, performing the division// modulo small primes (reconstructing q via the CRT).  It is// usually much faster than the general division routines above// (especially when b does not divide a).void content(ZZ& d, const ZZX& f);ZZ content(const ZZX& f);// d = content of f, sign(d) == sign(LeadCoeff(f)); content(0) == 0void PrimitivePart(ZZX& pp, const ZZX& f);ZZX PrimitivePart(const ZZX& f); // pp = primitive part of f, LeadCoeff(pp) >= 0; PrimitivePart(0) == 0// pseudo-division:void PseudoDivRem(ZZX& q, ZZX& r, const ZZX& a, const ZZX& b);// performs pseudo-division: computes q and r with deg(r) < deg(b),// and LeadCoeff(b)^(deg(a)-deg(b)+1) a = b q + r.  Only the classical// algorithm is used.void PseudoDiv(ZZX& q, const ZZX& a, const ZZX& b);ZZX PseudoDiv(const ZZX& a, const ZZX& b);// same as PseudoDivRem, but only computes qvoid PseudoRem(ZZX& r, const ZZX& a, const ZZX& b);ZZX PseudoRem(const ZZX& a, const ZZX& b);// same as PseudoDivRem, but only computes r/**************************************************************************\                                  GCD's

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美婷婷六月丁香综合色| 91色综合久久久久婷婷| 国产电影一区在线| 欧美伊人精品成人久久综合97| 日韩欧美三级在线| 亚洲男人电影天堂| 国产精品一级片在线观看| 在线成人午夜影院| 一区二区三区四区在线免费观看| 久久精品99国产精品日本| 欧美亚洲动漫制服丝袜| 18欧美亚洲精品| 国产大陆亚洲精品国产| 精品国产伦一区二区三区观看方式| 亚洲精品日韩综合观看成人91| 国产黄人亚洲片| 精品少妇一区二区三区免费观看 | 亚洲成人动漫精品| 99国产精品视频免费观看| 国产日韩欧美精品在线| 久久成人18免费观看| 91精品国产麻豆国产自产在线| 樱花草国产18久久久久| 91视视频在线观看入口直接观看www | 色婷婷综合久久久久中文| 国产三级精品三级在线专区| 激情亚洲综合在线| 2021国产精品久久精品| 久久99在线观看| 欧美成人伊人久久综合网| 五月婷婷激情综合| 欧美日本精品一区二区三区| 亚洲成a人v欧美综合天堂下载| 日本丰满少妇一区二区三区| 亚洲精品国久久99热| 色婷婷久久久综合中文字幕| 亚洲一级二级在线| 欧美精品 国产精品| 日韩vs国产vs欧美| 精品国产免费一区二区三区四区 | 国内精品嫩模私拍在线| 精品日产卡一卡二卡麻豆| 精品在线一区二区三区| 国产精品久久久久aaaa樱花| 成人h动漫精品| 国产精品另类一区| 一本一本久久a久久精品综合麻豆| 亚洲乱码中文字幕综合| 欧美三级在线播放| 免费看欧美美女黄的网站| 精品久久久影院| 国产91丝袜在线观看| 亚洲美女少妇撒尿| 51久久夜色精品国产麻豆| 激情综合色播激情啊| 亚洲欧洲精品一区二区三区不卡 | 色综合色综合色综合| 午夜视频一区二区三区| 欧美电视剧在线看免费| 成人精品一区二区三区中文字幕| 亚洲乱码中文字幕| 欧美va亚洲va在线观看蝴蝶网| 豆国产96在线|亚洲| 亚洲精品欧美综合四区| 日韩欧美中文一区二区| 99久久精品免费看国产| 日本不卡视频在线观看| 国产精品另类一区| 51午夜精品国产| av激情亚洲男人天堂| 日韩黄色免费电影| 国产精品毛片无遮挡高清| 91精品婷婷国产综合久久竹菊| 国产suv一区二区三区88区| 一区二区三区高清| 久久久国产午夜精品| 欧美亚洲图片小说| 不卡欧美aaaaa| 久久激情五月婷婷| 亚洲福利视频三区| 中文字幕欧美区| 精品国产自在久精品国产| 一本久久a久久免费精品不卡| 极品少妇一区二区| 亚洲成a人片在线观看中文| 中文字幕一区二区三区在线播放| 69av一区二区三区| 欧美在线观看视频一区二区三区| 国产精品18久久久久久vr| 亚洲大片在线观看| 亚洲欧洲日产国码二区| 久久精品欧美日韩精品| 精品久久人人做人人爽| 欧美一区二区性放荡片| 欧美日韩一本到| 日本福利一区二区| 色噜噜夜夜夜综合网| 国产另类ts人妖一区二区| 日韩国产精品久久久| 一区二区三区欧美日韩| 18成人在线视频| 国产精品电影一区二区| 国产欧美日韩在线看| 久久婷婷综合激情| 久久久午夜电影| 日韩精品一区二区三区视频播放| 9191成人精品久久| 欧美日韩电影在线| 欧美日韩国产一二三| 欧美在线观看视频在线| 欧美视频一区二区三区在线观看| 色综合一个色综合亚洲| av亚洲产国偷v产偷v自拍| 国产成人高清视频| 高清不卡一二三区| 欧美精品在线视频| 欧美久久久久久久久| 欧美精品一卡二卡| 日韩欧美区一区二| 久久毛片高清国产| 中文字幕的久久| 日韩美女视频一区二区| 亚洲精品一卡二卡| 亚洲国产另类av| 男女男精品视频网| 狠狠色2019综合网| 成人激情图片网| 色就色 综合激情| 欧美无砖专区一中文字| 欧美丰满嫩嫩电影| 欧美精品一区二区三区在线| 久久久久久久久久看片| 国产精品卡一卡二| 亚洲美女免费视频| 热久久免费视频| 高清成人在线观看| 欧美性生活一区| 精品精品国产高清a毛片牛牛 | 懂色av中文一区二区三区| 99久久精品国产毛片| 欧美日本国产一区| 久久九九久久九九| 亚洲人成7777| 麻豆国产精品视频| 成人免费av在线| 欧美高清性hdvideosex| 久久亚区不卡日本| 亚洲乱码国产乱码精品精98午夜| 日本色综合中文字幕| 高清日韩电视剧大全免费| 91行情网站电视在线观看高清版| 日韩一级免费观看| 国产精品毛片无遮挡高清| 爽爽淫人综合网网站| 国产黄色精品网站| 欧美日韩一二三| 国产精品国产三级国产三级人妇 | 一区二区三区四区在线播放| 毛片基地黄久久久久久天堂| 成人黄色大片在线观看| 欧美一区二区三区不卡| 中文字幕在线一区二区三区| 日韩福利电影在线观看| www.av精品| 精品处破学生在线二十三| 亚洲国产精品欧美一二99| 国产69精品久久99不卡| 欧美一区二区视频在线观看2022| 亚洲欧洲精品成人久久奇米网| 麻豆国产精品官网| 欧美羞羞免费网站| 中文字幕一区二区三区不卡在线 | 国产精品女人毛片| 美女视频第一区二区三区免费观看网站| 日韩一级免费一区| 亚洲国产日韩在线一区模特| 99精品视频一区二区| 久久亚洲一区二区三区明星换脸| 午夜精品久久久久影视| 91在线国内视频| 中文字幕不卡在线播放| 国内精品自线一区二区三区视频| 欧美日韩国产天堂| 一个色在线综合| 97久久超碰国产精品| 国产婷婷精品av在线| 日本中文字幕一区二区有限公司| 色诱视频网站一区| 国产精品久久毛片a| 国产成人精品免费看| 精品久久久久久综合日本欧美| 日本午夜一区二区| 欧美福利视频一区| 丝袜美腿亚洲综合| 5566中文字幕一区二区电影| 午夜视频在线观看一区| 欧美视频一区在线观看| 亚洲第四色夜色| 911精品国产一区二区在线| 日韩激情一二三区|