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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? lzz_pe.txt

?? 密碼大家Shoup寫的數(shù)論算法c語言實現(xiàn)
?? TXT
字號:
/**************************************************************************\MODULE: zz_pESUMMARY:The class zz_pE is used to represent polynomials in Z_p[X] modulo apolynomial P.  The modulus P may be any polynomial with deg(P) > 0,not necessarily irreducible.  The modulus p defining Z_p neednot be prime either.Objects of the class zz_pE are represented as a zz_pX of degree < deg(P).An executing program maintains a "current modulus", which is set to Pusing zz_pE::init(P).  The current modulus *must* be initialized beforeany zz_pE constructors are invoked.The modulus may be changed, and a mechanism is provided for saving andrestoring a modulus (see classes zz_pEBak and zz_pEContext below).\**************************************************************************/#include <NTL/lzz_pX.h>class zz_pE {public:      zz_pE(); // initial value 0   zz_pE(const zz_pE& a); // copy constructor      zz_pE& operator=(const zz_pE& a); // assignment   zz_pE& operator=(const zz_p& a); // assignment   zz_pE& operator=(long a); // assignment      ~zz_pE(); // destructor   void init(const zz_pX& P);   // zz_pE::init(P) initializes the current modulus to P;   // required: deg(P) >= 1.      static const zz_pXModulus& modulus();   // zz_pE::modulus() yields read-only reference to the current modulus    static long degree();   // zz_pE::degree() returns deg(P)};const zz_pX& rep(const zz_pE& a); // read-only access to representation of a/**************************************************************************\                                  Comparison\**************************************************************************/long operator==(const zz_pE& a, const zz_pE& b);long operator!=(const zz_pE& a, const zz_pE& b);long IsZero(const zz_pE& a);  // test for 0long IsOne(const zz_pE& a);  // test for 1// PROMOTIONS: ==, != promote {long, zz_p} to zz_pE on (a, b)./**************************************************************************\                                    Addition \**************************************************************************/// operator notation:zz_pE operator+(const zz_pE& a, const zz_pE& b);zz_pE operator-(const zz_pE& a, const zz_pE& b);zz_pE operator-(const zz_pE& a);zz_pE& operator+=(zz_pE& x, const zz_pE& a);zz_pE& operator+=(zz_pE& x, const zz_p& a);zz_pE& operator+=(zz_pE& x, long a);zz_pE& operator++(zz_pE& x); // prefixvoid operator++(zz_pE& x, int); // postfixzz_pE& operator-=(zz_pE& x, const zz_pE& a);zz_pE& operator-=(zz_pE& x, const zz_p& a);zz_pE& operator-=(zz_pE& x, long a);zz_pE& operator--(zz_pE& x); // prefixvoid operator--(zz_pE& x, int); // postfix// procedural versions:void add(zz_pE& x, const zz_pE& a, const zz_pE& b); // x = a + bvoid sub(zz_pE& x, const zz_pE& a, const zz_pE& b); // x = a - b void negate(zz_pE& x, const zz_pE& a); // x = - a // PROMOTIONS: +, -, add, sub promote {long, zz_p} to zz_pE on (a, b)./**************************************************************************\                                  Multiplication \**************************************************************************/// operator notation:zz_pE operator*(const zz_pE& a, const zz_pE& b);zz_pE& operator*=(zz_pE& x, const zz_pE& a);zz_pE& operator*=(zz_pE& x, const zz_p& a);zz_pE& operator*=(zz_pE& x, long a);// procedural versions:void mul(zz_pE& x, const zz_pE& a, const zz_pE& b); // x = a * bvoid sqr(zz_pE& x, const zz_pE& a); // x = a^2zz_pE sqr(const zz_pE& a); // PROMOTIONS: *, mul promote {long, zz_p} to zz_pE on (a, b)./**************************************************************************\                                     Division\**************************************************************************/// operator notation:zz_pE operator/(const zz_pE& a, const zz_pE& b);zz_pE& operator/=(zz_pE& x, const zz_pE& a);zz_pE& operator/=(zz_pE& x, const zz_p& a);zz_pE& operator/=(zz_pE& x, long a);// procedural versions:void div(zz_pE& x, const zz_pE& a, const zz_pE& b);// x = a/b.  If b is not invertible, an error is raised.void inv(zz_pE& x, const zz_pE& a);zz_pE inv(const zz_pE& a);// x = 1/aPROMOTIONS: /, div promote {long, zz_p} to zz_pE on (a, b)./**************************************************************************\                                  Exponentiation\**************************************************************************/void power(zz_pE& x, const zz_pE& a, const ZZ& e); zz_pE power(const zz_pE& a, const ZZ& e);void power(zz_pE& x, const zz_pE& a, long e); zz_pE power(const zz_pE& a, long e);// x = a^e (e may be negative)/**************************************************************************\                               Random Elements\**************************************************************************/void random(zz_pE& x);zz_pE random_zz_pE();// x = random element in zz_pE./**************************************************************************\                               Norms and Traces\**************************************************************************/void trace(zz_p& x, const zz_pE& a);  // x = trace of azz_p trace(const zz_pE& a);void norm(zz_p& x, const zz_pE& a);   // x = norm of azz_p norm(const zz_pE& a);/**************************************************************************\                                Input/Output\**************************************************************************/ostream& operator<<(ostream& s, const zz_pE& a);istream& operator>>(istream& s, zz_pE& x);// a zz_pX is read and reduced mod p/**************************************************************************\                       Modulus Switching A class zz_pEBak is provided for "backing up" the current modulus.Here is what you do to save the current modulus, temporarilyset it to something new, and then restore it:   zz_pEBak bak;   bak.save();   // save current modulus (if any)   zz_pE::init(P);  // set modulus to desired value P      // ...   bak.restore(); // restore old modulus (if any)Note that between the save and restore, you may have several calls tozz_pE::init, each of which simply clobbers the previous modulus.The zz_pEBak interface is good for implementing simple stack-likemodulus "context switching".  For more general context switching,see zz_pEContext below...........................................................................When the current modulus is changed, there may be extantzz_pE objects. If the old modulus was saved and then later restored, these objects can be used again as if the modulus had never changed.  Note, however, that if a zz_pE object is created under one modulus and then used in any way (except destroyed) under another, program behavior is not predictable.  This condition is notexplicitly checked for, but an error is likely to be raised.One should also not presume that things will work properlyif the modulus is changed, but its value happens to be the same---one should restore the same "context", from either a zz_pEBakor a zz_pEContext object.  This is anyway more efficient.\**************************************************************************/class zz_pEBak {public:   // To describe this logic, think of a zz_pEBak object   // of having two components: a modulus Q (possibly "null") and    // an "auto-restore bit" b.   // There is also a global current modulus P (initially "null").   zz_pEBak();  // Q = "null", b = 0   ~zz_pEBak();  // if (b) P = Q   void save();  // Q = P, b = 1    void restore();  // P = Q, b = 0private:   zz_pEBak(const zz_pEBak&);  // copy disabled   void operator=(const zz_pEBak&);  // assignment disabled};// more general context switching:class zz_pEContext {// A zz_pEContext object has a modulus Q (possibly "null"),// but has no auto-restore bit like a zz_pEBak object.// However, these objects can be initialized and copied with// complete generality.// As above, P is the current global modulus (initially "null")public:zz_pEContext(); // Q = "null"zz_pEContext(const zz_pX& new_Q); // Q = new_Qvoid save(); // Q = Pvoid restore() const; // P = Qzz_pEContext(const zz_pEContext&);  // copyzz_pEContext& operator=(const zz_pEContext&); // assignment~zz_pEContext(); // destructor};/**************************************************************************\                               Miscellany\**************************************************************************/void clear(zz_pE& x); // x = 0void set(zz_pE& x); // x = 1static const zz_pE& zz_pE::zero();// zz_pE::zero() yields a read-only reference to zerovoid swap(zz_pE& x, zz_pE& y);// swap x and y (done by "pointer swapping", if possible).static ZZ& zz_pE::cardinality();// yields the cardinality, i.e., p^{zz_pE::degree()}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人久久18免费网站麻豆 | 久久成人18免费观看| 中文字幕第一区二区| 91精品在线观看入口| 91玉足脚交白嫩脚丫在线播放| 国产综合久久久久久鬼色| 奇米影视一区二区三区小说| 午夜久久久久久久久久一区二区| 洋洋成人永久网站入口| 亚洲天堂av一区| 国产精品成人一区二区三区夜夜夜| 国产欧美精品国产国产专区| 国产精品三级在线观看| 国产精品免费丝袜| 捆绑调教美女网站视频一区| 欧美日韩一卡二卡三卡| 欧美三级三级三级爽爽爽| 国产精品亲子伦对白| 国产麻豆视频一区二区| 99久久精品国产毛片| 色综合久久中文综合久久97| 91亚洲精品久久久蜜桃网站 | 91伊人久久大香线蕉| 中文字幕乱码久久午夜不卡| 国产在线一区观看| 日韩精品专区在线影院重磅| 精品日韩在线观看| 中文字幕乱码日本亚洲一区二区| 国产美女一区二区| 欧美精品一区二区三区四区| 国产精品欧美综合在线| 成人在线一区二区三区| 久久久午夜电影| 一区二区三区自拍| 99久久久国产精品免费蜜臀| 国产精品福利一区二区三区| a亚洲天堂av| 日韩视频免费观看高清完整版 | 高清日韩电视剧大全免费| 色噜噜狠狠成人中文综合| 91精品婷婷国产综合久久性色| 天天影视色香欲综合网老头| 91麻豆精品国产综合久久久久久| 青草国产精品久久久久久| 精品久久久久久综合日本欧美| 国产一区二区三区综合| 欧美国产日韩在线观看| 色综合天天狠狠| 亚洲一区二区欧美| 国产精品99久久久久久宅男| 欧美日韩国产首页| 亚洲日本在线观看| 欧美午夜精品一区| 一区二区三区在线看| 欧美色手机在线观看| 麻豆精品一区二区三区| 欧美三级韩国三级日本三斤| 美女视频黄免费的久久| 中文字幕不卡在线| 欧美亚洲日本国产| 久久er精品视频| 中文字幕欧美三区| 欧美日韩一二区| 国产精品自拍在线| 亚洲精品免费在线| 色欧美88888久久久久久影院| 亚洲成a天堂v人片| 精品视频在线看| 国产乱码精品一区二区三| 亚洲日本丝袜连裤袜办公室| 欧美精品一卡二卡| 日韩精品国产精品| 欧美高清www午色夜在线视频| 久久精品国产一区二区三| 中文字幕亚洲精品在线观看| 成人av在线资源| 国产精品人成在线观看免费| 精品视频在线免费看| 成人免费毛片嘿嘿连载视频| 日韩电影在线免费看| 69堂国产成人免费视频| 成人高清视频免费观看| 免费av成人在线| 亚洲午夜视频在线| 欧美日韩国产在线播放网站| 丁香天五香天堂综合| 美女网站视频久久| 一区二区三区不卡在线观看 | 97精品国产露脸对白| 精品一区二区三区免费观看| 精品日本一线二线三线不卡| 欧美自拍偷拍一区| 日韩精品电影在线观看| 亚洲婷婷综合久久一本伊一区| wwwwxxxxx欧美| av中文字幕一区| 黑人精品欧美一区二区蜜桃 | 成人性生交大片免费看视频在线| 日韩国产一二三区| 亚洲一区二区在线视频| 亚洲日本一区二区| 中文字幕在线一区| 中文字幕二三区不卡| 国产亚洲制服色| 91丨porny丨蝌蚪视频| 国产v日产∨综合v精品视频| 精品在线播放免费| 午夜视黄欧洲亚洲| 亚洲一二三专区| 一区二区三区四区中文字幕| 亚洲女女做受ⅹxx高潮| 欧美一区二区播放| 成人一道本在线| 国产成人免费在线观看不卡| 亚洲一卡二卡三卡四卡无卡久久 | 欧美日韩高清一区二区| 色综合久久中文综合久久97 | 日韩一级片在线观看| 欧美日韩国产高清一区| 欧美剧在线免费观看网站| 欧美日韩成人综合天天影院 | 日本不卡在线视频| 日韩不卡一二三区| 美女脱光内衣内裤视频久久网站| 免费观看在线色综合| 久久99精品国产| 国产成人综合在线| av午夜精品一区二区三区| 99re在线精品| 欧美日韩国产欧美日美国产精品| 91精品麻豆日日躁夜夜躁| 欧美va亚洲va在线观看蝴蝶网| 精品国产a毛片| 国产精品久线在线观看| 亚洲高清久久久| 美女国产一区二区三区| 国产精品综合一区二区| 99久久久精品免费观看国产蜜| 在线观看日韩一区| 欧美大尺度电影在线| 国产免费观看久久| 亚洲国产视频一区二区| 美女诱惑一区二区| a在线播放不卡| 91麻豆精品国产91久久久使用方法 | 韩国毛片一区二区三区| 丰满放荡岳乱妇91ww| 色天使色偷偷av一区二区| 欧美日韩国产高清一区二区三区| 久久一区二区三区四区| 一区二区视频免费在线观看| 韩国三级在线一区| 色婷婷香蕉在线一区二区| 精品久久人人做人人爽| 亚洲黄色片在线观看| 久88久久88久久久| 色综合中文字幕国产 | 欧洲一区二区av| 久久亚洲精品小早川怜子| 一区二区三区高清| 国产精品乡下勾搭老头1| 欧美日韩一区二区三区视频| 国产人成一区二区三区影院| 日韩精品一卡二卡三卡四卡无卡| 丁香啪啪综合成人亚洲小说| 制服丝袜一区二区三区| 中文字幕在线不卡一区二区三区| 麻豆精品一区二区av白丝在线| 91蜜桃传媒精品久久久一区二区| 精品日韩欧美在线| 天天亚洲美女在线视频| 色av一区二区| 亚洲欧美一区二区视频| 国产精品一二一区| 日韩一区二区在线观看视频播放| 亚洲精品成人悠悠色影视| 国产精品综合二区| 337p粉嫩大胆噜噜噜噜噜91av| 亚洲成av人片在www色猫咪| 波多野结衣亚洲| 久久久久国色av免费看影院| 麻豆成人久久精品二区三区红| 欧美日韩国产高清一区二区三区| 亚洲狠狠丁香婷婷综合久久久| 波多野结衣91| 国产欧美日韩三级| 国产成人精品免费在线| 久久综合九色综合欧美98| 青椒成人免费视频| 日韩一区二区高清| 日日噜噜夜夜狠狠视频欧美人| 欧美羞羞免费网站| 亚洲午夜激情网页| 欧美日韩亚洲综合一区| 亚洲综合激情网| 欧美在线三级电影| 一区二区三区日韩精品视频| 色婷婷精品久久二区二区蜜臀av| 亚洲人成在线观看一区二区| 99久久国产综合精品女不卡|