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

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

?? randomnumbersin c_bygeorgemarsaglia_etc.htm

?? QPSK環境下的仿真性能分析
?? HTM
?? 第 1 頁 / 共 5 頁
字號:
>    Its period is 2^31*(2^256-1), about 2^287, and>    it seems to pass all tests---in particular,>    those of the kind for which 2-lag generators>    using +,-,xor seem to fail.  For even more>    confidence in its suitability,  LFIB4 can be>    combined with KISS, with a resulting period of>    about 2^410: just use (KISS+LFIB4) in any C>    expression.                               */>> /* SWB is a subtract-with-borrow generator that I>    developed to give a simple method for producing>    extremely long periods:>    x(n)=x(n-222)-x(n-237)-borrow mod 2^32.>    The 'borrow' is 0 unless set to 1 if computing>    x(n-1) caused overflow in 32-bit integer>    arithmetic. This generator has a very long>    period, 2^7098(2^480-1), about 2^7578. It seems>    to pass all tests of randomness, but,>    suspicious of a generator so simple and fast>    (62 nanosecs at 300MHz), I would suggest>    combining SWB with KISS, MWC, SHR3, or CONG. */>> /* Finally, because many simulations call for>    uniform random variables in 0&LT;v&LT;1 or -1&LT;v&LT;1, I>    use #define statements that permit inclusion of>    such variates directly in expressions:  using>    UNI will provide a uniform random real (float)>    in (0,1), while VNI will provide one in (-1,1).  */>> /* All of these: MWC, SHR3, CONG, KISS, LFIB4,>    SWB, UNI and VNI, permit direct insertion of>    the desired random quantity into an expression,>    avoiding the time and space costs of a function>    call. I call these in-line-define functions.>    To use them, static variables z,w,jsr and>    jcong should be assigned seed values other than>    their initial values.  If LFIB4 or SWB are>    used, the static table t[256] must be>    initialized.  A sample procedure follows. */>> /* A note on timing:  It is difficult to provide>    exact time costs for inclusion of one of these>    in-line-define functions in an expression.>    Times may differ widely for different>    compilers, as the C operations may be deeply>    nested and tricky. I suggest these rough>    comparisons, based on averaging ten runs of a>    routine that is essentially a long loop:>    for(i=1;i&LT;10000000;i++) L=KISS; then with KISS>    replaced with SHR3, CONG,... or KISS+SWB, etc.>    The times on my home PC, a Pentium 300MHz, in>    nanoseconds: LFIB4=64; CONG=90; SWB=100;>    SHR3=110; KISS=209; KISS+LFIB4=252; KISS+SWB=310.     */<HR><A NAME = "369B9AE9.52C98810@stat.fsu.edu"></A>Subject: Re: Random numbers in C: Some suggestions.Date: Tue, 12 Jan 1999 13:56:41 -0500From: George Marsaglia &LT;geo@stat.fsu.edu>Message-ID: &LT;369B9AE9.52C98810@stat.fsu.edu>References: <A HREF = "#369B66AB.6CDED9F8@ix.netcom.com">&LT;369B66AB.6CDED9F8@ix.netcom.com></A>Newsgroups: sci.stat.math,sci.math,sci.math.num-analysis,sci.crypt,sci.physicsLines: 59Charles Bond wrote:> Thanks for the post. I want to comment on the SWB routine. I've been> using> a similar routine in high speed simulations for years. ...&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&     Many years?  It hasn't been very many years      since I invented the subtract-with-borrow method,      and developed theory for establishing the periods.&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&>   . I believe Knuth briefly discussed the method with guarded> approval -- constrained by the concern that there was no real theory> behind it. Do you know if any theoretical work has been done since> Knuth's book to justify SWB?> &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&>    This business of providing 'theoretical support' for>   RNG's tends to be overdone---perhaps>   because of the influence of Knuth. His marvelous>   expository and poweful mathematical skills have>   justifiably made him the leading authority.>   Many people do not understand that such theory>   is based on the simple fact that congruential>   random numbers "fall mainly in the planes",>   that is,  points whose coordinates are succesive>   elements from the sequence lie on a lattice>   with a huge unit-cell volume, (m^(n-1) in n-dimensions),>   compared to the  unit-cell volume of 1 for truly random>   integers.  So the "lattice test", as I called it,>   applies to congruential generators, although the ideas have>   been extended to the near-lattice-like patterns of>   certain other kinds of generators.  But there seem>   to be no such lattice-like patterns for many other>   kinds of generators, and even if there were, it>   is an easy matter to destroy such  patterns by>   combining with generators having disparate mathematical>   structures.>>   The quote from my Keynote Address at the 1984>   Computer Science and Statistics: Symposium on the>   Interface,  still applies:>>   "A random number generator is like sex:>      When it's good, its wonderful;>      And when it's bad, it's still pretty good.">>   Add to that, in line with my recommendations>   on combination generators;>>     "And if it's bad, try a twosome or threesome.">> George Marsaglia<HR><A NAME = "369BE439.92E0E011@ix.netcom.com"></A>Subject: Re: Random numbers in C: Some suggestions.Date: Tue, 12 Jan 1999 16:09:29 -0800From: Charles Bond &LT;cbond@ix.netcom.com>Message-ID: &LT;369BE439.92E0E011@ix.netcom.com>References: <A HREF = "#369B9AE9.52C98810@stat.fsu.edu">&LT;369B9AE9.52C98810@stat.fsu.edu></A>Newsgroups: sci.stat.math,sci.math,sci.math.num-analysis,sci.crypt,sci.physicsLines: 69For the record, I did not mean to imply that Knuth's subtractivegenerator was *the same* as your subtract with borrow, only thatit was *similar* (high speed, no multiplications). I gladly acknowledgeyour claim on it. But you seem a little skeptical of it yourself, and Iwas just curious.Regards,C. BondGeorge Marsaglia wrote:> Charles Bond wrote:>> > Thanks for the post. I want to comment on the SWB routine. I've been> > using> > a similar routine in high speed simulations for years. ...>> &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&>      Many years?  It hasn't been very many years>       since I invented the subtract-with-borrow method,>       and developed theory for establishing the periods.> &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&>> >   . I believe Knuth briefly discussed the method with guarded> > approval -- constrained by the concern that there was no real theory> > behind it. Do you know if any theoretical work has been done since> > Knuth's book to justify SWB?>> > &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&> >    This business of providing 'theoretical support' for> >   RNG's tends to be overdone---perhaps> >   because of the influence of Knuth. His marvelous> >   expository and poweful mathematical skills have> >   justifiably made him the leading authority.> >   Many people do not understand that such theory> >   is based on the simple fact that congruential> >   random numbers "fall mainly in the planes",> >   that is,  points whose coordinates are succesive> >   elements from the sequence lie on a lattice> >   with a huge unit-cell volume, (m^(n-1) in n-dimensions),> >   compared to the  unit-cell volume of 1 for truly random> >   integers.  So the "lattice test", as I called it,> >   applies to congruential generators, although the ideas have> >   been extended to the near-lattice-like patterns of> >   certain other kinds of generators.  But there seem> >   to be no such lattice-like patterns for many other> >   kinds of generators, and even if there were, it> >   is an easy matter to destroy such  patterns by> >   combining with generators having disparate mathematical> >   structures.> >> >   The quote from my Keynote Address at the 1984> >   Computer Science and Statistics: Symposium on the> >   Interface,  still applies:> >> >   "A random number generator is like sex:> >      When it's good, its wonderful;> >      And when it's bad, it's still pretty good."> >> >   Add to that, in line with my recommendations> >   on combination generators;> >> >     "And if it's bad, try a twosome or threesome."> >> > George Marsaglia<HR><A NAME = "369BE0A2.CA197F7B@math.ucla.edu"></A>Subject: Re: Random numbers in C: Some suggestions.Date: Tue, 12 Jan 1999 15:54:10 -0800From: Mike Oliver &LT;oliver@math.ucla.edu>Message-ID: &LT;369BE0A2.CA197F7B@math.ucla.edu>References: <A HREF = "#369B5E30.65A55FD1@stat.fsu.edu">&LT;369B5E30.65A55FD1@stat.fsu.edu></A>Newsgroups: sci.stat.math,sci.math,sci.math.num-analysis,sci.crypt,sci.physicsLines: 17George Marsaglia wrote:> [...] and experience has shown that> lagged Fibonacci generators using xor provide> unsatisfactory 'randomness' unless the lags are> very long, and even for those with very long lags,> (and even for those using + or - rather than xor),Could you give us a pointer to information aboutwhy these RNGs are unsatisfactory and what sortof test they tend to fail?-- Disclaimer:  I could be wrong -- but I'm not.  (Eagles, "Victim of Love")Finger for PGP public key, or visit <A HREF = "http://www.math.ucla.edu/~oliver.">http://www.math.ucla.edu/~oliver.</A>1500 bits, fingerprint AE AE 4F F8 EA EA A6 FB  E9 36 5F 9E EA D0 F8 B9<HR><A NAME = "tun23mnctq.fsf@labejb.lsid.hp.com"></A>Subject: Re: Random numbers in C: Some suggestions.Date: 13 Jan 1999 12:21:37 -0800From: Eric Backus &LT;ericb@labejb.lsid.hp.com>Message-ID: &LT;tun23mnctq.fsf@labejb.lsid.hp.com>References: <A HREF = "#369B5E30.65A55FD1@stat.fsu.edu">&LT;369B5E30.65A55FD1@stat.fsu.edu></A>Newsgroups: sci.stat.math,sci.math,sci.math.num-analysis,sci.crypt,sci.physicsLines: 65George Marsaglia &LT;geo@stat.fsu.edu> writes:> This posting ends with  17  lines of> C code that provide eight different> in-line random number generators, six for> random 32-bit integers and two for uniform> reals in (0,1) and (-1,1).> Comments are interspersed with that> code. Various combinations of the six in-line> integer generators may put in C expressions to> provide a wide variety of very fast, long period,> well-tested RNG's. I invite comments, feedback,> verifications and timings.> #define UL unsigned long> #define znew  ((z=36969*(z&65535)+(z>>16))&LT;&LT;16)> #define wnew  ((w=18000*(w&65535)+(w>>16))&65535)> #define MWC   (znew+wnew)> #define SHR3  (jsr=(jsr=(jsr=jsr^(jsr&LT;&LT;17))^(jsr>>13))^(jsr&LT;&LT;5))> #define CONG  (jcong=69069*jcong+1234567)> #define KISS  ((MWC^CONG)+SHR3)> #define LFIB4 (t[c]=t[c]+t[c+58]+t[c+119]+t[++c+178])> #define SWB   (t[c+237]=(x=t[c+15])-(y=t[++c]+(x&LT;y)))> #define UNI   (KISS*2.328306e-10)> #define VNI   ((long) KISS)*4.656613e-10> /*  Global static variables: */>  static UL z=362436069, w=521288629, jsr=123456789, jcong=380116160;>  static UL t[256];>  static UL x=0,y=0; static unsigned char c=0;> > /* Random seeds must be used to reset z,w,jsr,jcong and> the table t[256]  Here is an example procedure, using KISS: */> >  void settable(UL i1,UL i2,UL i3,UL i4)>  { int i; z=i1;w=i2,jsr=i3; jcong=i4;>  for(i=0;i&LT;256;i++)  t[i]=KISS;        }Thank you for providing this extremely useful code.  (I'd like to makeuse of it, however I see no copyright notice, can I assume you aremaking it free for anyone to use?)I have a small problem with the definition of LFIB4 and SWB.  In anattempt to make these a single line of C code, they both use "++c" inthe same expression as they use "c".  A C compiler is free torearrange the order in which it calculates the intermediate terms ofthese expressions, so the expressions can produce different resultsdepending on the compiler.I might propose alternate expressions using the "," operator inorder to remove any ambiguity.  With a good compiler, theseexpressions probably won't be any slower than your original ones:#define LFIB4_ALT (t[c]=t[c]+t[c+58]+t[c+119]+t[c+179],t[c++])#define SWB_ALT   (t[c+237]=(x=t[c+15])-(y=t[c+1]+(x&LT;y)),t[c++ +237])However, these are uglier and harder to understand than your originalexpressions, and of course I might have made a mistake in interpretingwhere the c++ should go.  Any comments?-- 			Eric Backus &LT;eric_backus@hp.com>			http://labejb.lsid.hp.com/			(425) 335-2495<HR><A NAME = "369F6FCA.74C7C041@stat.fsu.edu"></A>Subject: Random numbers for C: Improvements.Date: Fri, 15 Jan 1999 11:41:47 -0500From: George Marsaglia &LT;geo@stat.fsu.edu>Message-ID: &LT;369F6FCA.74C7C041@stat.fsu.edu>References: <A HREF = "#369B5E30.65A55FD1@stat.fsu.edu">&LT;369B5E30.65A55FD1@stat.fsu.edu></A>Newsgroups: sci.stat.math,sci.math,sci.math.numer-analysisLines: 93As I hoped, several suggestions have led toimprovements in the code for RNG's I proposed for

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久久久久毛片| 成人精品小蝌蚪| fc2成人免费人成在线观看播放 | 欧美成人三级电影在线| 亚洲日韩欧美一区二区在线| 麻豆传媒一区二区三区| 欧美三级电影网| 亚洲欧洲国产日韩| 国产激情一区二区三区四区 | 综合久久久久久| 精品亚洲国产成人av制服丝袜| 欧美在线综合视频| 专区另类欧美日韩| 成人免费毛片app| 久久精品日产第一区二区三区高清版 | 亚洲欧洲日产国码二区| 国产最新精品免费| 精品少妇一区二区三区免费观看 | 国产欧美日韩三级| 国产一区亚洲一区| 欧美精品一区二区在线观看| 免费在线一区观看| 欧美精品日韩一区| 日韩中文字幕区一区有砖一区| 在线免费观看不卡av| 亚洲人成电影网站色mp4| 99久久综合精品| 亚洲同性gay激情无套| proumb性欧美在线观看| 国产精品色眯眯| 成人丝袜高跟foot| 亚洲三级免费电影| 色狠狠综合天天综合综合| 亚洲欧美一区二区久久| 日本丶国产丶欧美色综合| 亚洲久草在线视频| 欧美日韩一区高清| 日本vs亚洲vs韩国一区三区二区| 欧美日韩精品二区第二页| 天堂成人免费av电影一区| 在线不卡一区二区| 日本不卡不码高清免费观看| 精品欧美乱码久久久久久1区2区| 国产资源精品在线观看| 国产日韩欧美a| 色又黄又爽网站www久久| 亚洲6080在线| 精品国产1区2区3区| 粉嫩aⅴ一区二区三区四区 | 久久亚洲一级片| 国产黄色精品网站| 亚洲精品一二三区| 日韩美女视频在线| 成人黄色av电影| 午夜精品一区二区三区三上悠亚 | 精品一区二区三区免费毛片爱| 久久亚洲一区二区三区四区| 99久久久久久99| 午夜精品久久久久久久久久久| 日韩视频免费直播| 成人美女视频在线观看| 亚洲国产综合人成综合网站| 欧美电影精品一区二区 | 国产福利一区二区三区视频| 中文字幕亚洲综合久久菠萝蜜| 欧美日韩视频第一区| 韩国视频一区二区| 亚洲午夜视频在线观看| 久久久无码精品亚洲日韩按摩| 在线亚洲一区观看| 国产九色sp调教91| 亚洲v日本v欧美v久久精品| 久久日韩精品一区二区五区| 色综合天天在线| 国产伦理精品不卡| 午夜精品影院在线观看| 国产精品第一页第二页第三页| 欧美日韩1234| 色呦呦网站一区| 狠狠色狠狠色合久久伊人| 亚洲午夜在线电影| 国产精品美女久久久久aⅴ国产馆 国产精品美女久久久久av爽李琼 国产精品美女久久久久高潮 | 一区二区三区在线视频免费| 日韩精品一区二区三区视频在线观看| 91在线免费看| 国产精品77777竹菊影视小说| 午夜欧美大尺度福利影院在线看| 国产精品国产自产拍高清av王其| 欧美大度的电影原声| 日本伦理一区二区| 国产91丝袜在线播放| 蜜臀av在线播放一区二区三区| 亚洲男同性视频| 中文字幕中文在线不卡住| 26uuu国产一区二区三区| 欧美精品丝袜中出| 欧美日韩一区精品| 在线免费观看日本欧美| 91一区二区在线| 国产suv精品一区二区6| 国产黑丝在线一区二区三区| 美女视频网站久久| 麻豆成人91精品二区三区| 日韩二区三区四区| 午夜精品免费在线| 天天爽夜夜爽夜夜爽精品视频| 一区二区三区在线视频免费| 一区二区三区在线观看动漫| 中文字幕一区二区三区乱码在线| 中文在线免费一区三区高中清不卡| 久久久久综合网| 国产亚洲综合在线| 国产嫩草影院久久久久| 国产精品午夜在线| 国产精品国产a级| 亚洲精品欧美综合四区| 一区二区三区在线观看视频| 亚洲午夜成aⅴ人片| 亚洲成a人v欧美综合天堂| 日韩精品免费专区| 狠狠色丁香婷婷综合久久片| 国产一区二区精品久久99| 国产成人精品网址| 99re热这里只有精品视频| 色综合中文字幕国产 | 日韩久久久精品| 久久久久国产精品人| 亚洲国产精品t66y| 一二三区精品福利视频| 天天射综合影视| 狠狠色丁香久久婷婷综| 成人激情开心网| 欧美影院一区二区三区| 日韩小视频在线观看专区| 久久蜜臀中文字幕| 亚洲免费av高清| 日韩av在线发布| 粉嫩av亚洲一区二区图片| 色婷婷久久久久swag精品| 4438亚洲最大| 国产女主播视频一区二区| 一区二区成人在线观看| 美女视频网站黄色亚洲| www.综合网.com| 91精品国产欧美一区二区18 | 欧美xxxxxxxx| 中文字幕在线一区免费| 偷拍日韩校园综合在线| 黄色日韩网站视频| 在线观看欧美黄色| 久久久国产精华| 亚洲午夜激情网站| 国产999精品久久| 欧美高清hd18日本| 国产精品久久毛片| 蜜臀va亚洲va欧美va天堂| 99精品欧美一区二区三区小说| 日韩一区二区精品| 一区二区三区欧美日| 国产一区二区在线免费观看| 欧美色爱综合网| 中文字幕日韩精品一区| 久久精品国产一区二区| 在线观看视频91| 中文字幕一区日韩精品欧美| 久久国产精品露脸对白| 在线免费观看日本欧美| 中文字幕av一区 二区| 久久国产精品色婷婷| 欧美性欧美巨大黑白大战| 国产亚洲婷婷免费| 精品在线免费视频| 欧美精品vⅰdeose4hd| 亚洲美女视频在线| 丁香六月久久综合狠狠色| 欧美成人a在线| 视频一区中文字幕国产| 欧美影院一区二区三区| 自拍视频在线观看一区二区| 懂色一区二区三区免费观看 | 欧美一级精品在线| 亚洲国产毛片aaaaa无费看 | 成人免费毛片a| 久久伊人中文字幕| 精品制服美女久久| 欧美成人一区二区三区片免费| 天天综合网 天天综合色| 欧美三级中文字幕在线观看| 一区二区三区.www| 91成人在线精品| 亚洲精品国久久99热| 日本黄色一区二区| 亚洲激情图片一区| 91福利在线看| 亚洲国产视频一区| 337p亚洲精品色噜噜噜| 日韩不卡一二三区| 91精品国产一区二区| 日本aⅴ精品一区二区三区 | 91精品国产综合久久精品|