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

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

?? subtractive_rng.html

?? ISO_C++:C++_STL開發文檔
?? HTML
字號:
<HTML><!--  -- Copyright (c) 1996-1999  -- Silicon Graphics Computer Systems, Inc.  --  -- Permission to use, copy, modify, distribute and sell this software  -- and its documentation for any purpose is hereby granted without fee,  -- provided that the above copyright notice appears in all copies and  -- that both that copyright notice and this permission notice appear  -- in supporting documentation.  Silicon Graphics makes no  -- representations about the suitability of this software for any  -- purpose.  It is provided "as is" without express or implied warranty.  --  -- Copyright (c) 1994  -- Hewlett-Packard Company  --  -- Permission to use, copy, modify, distribute and sell this software  -- and its documentation for any purpose is hereby granted without fee,  -- provided that the above copyright notice appears in all copies and  -- that both that copyright notice and this permission notice appear  -- in supporting documentation.  Hewlett-Packard Company makes no  -- representations about the suitability of this software for any  -- purpose.  It is provided "as is" without express or implied warranty.  --  --><Head><Title>subtractive_rng</Title><!-- Generated by htmldoc --></HEAD><BODY BGCOLOR="#ffffff" LINK="#0000ee" TEXT="#000000" VLINK="#551a8b" 	ALINK="#ff0000"> <IMG SRC="CorpID.gif"      ALT="SGI" HEIGHT="43" WIDTH="151"> <!--end header--><BR Clear><H1>subtractive_rng</H1><Table CellPadding=0 CellSpacing=0 width=100%><TR><TD Align=left><Img src = "functors.gif" Alt=""   WIDTH = "194"  HEIGHT = "38" ></TD><TD Align=right><Img src = "type.gif" Alt=""   WIDTH = "194"  HEIGHT = "39" ></TD></TR><TR><TD Align=left VAlign=top><b>Category</b>: functors</TD><TD Align=right VAlign=top><b>Component type</b>: type</TD></TR></Table><h3>Description</h3><tt>Subtractive_rng</tt> is a <A href="RandomNumberGenerator.html">Random Number Generator</A> based on thesubtractive method <A href="#1">[1]</A>.  It is a <A href="UnaryFunction.html">Unary Function</A>: it takesa single argument <tt>N</tt>, an <tt>unsigned int</tt>, and returns an <tt>unsigned int</tt> that is less than <tt>N</tt>.  Successive calls tothe same <tt>subtractive_rng</tt> object <A href="#2">[2]</A> yield a pseudo-randomsequence.<h3>Example</h3><pre>int main(){  subtractive_rng R;  for (int i = 0; i &lt; 20; ++i)    cout &lt;&lt; R(5) &lt;&lt; ' ';  cout &lt;&lt; endl;}// The output is   3 2 3 2 4 3 1 1 2 2 0 3 4 4 4 4 2 1 0 0 </pre><h3>Definition</h3>Defined in the standard header <A href="functional">functional</A>, and in the nonstandardbackward-compatibility header <A href="function.h">function.h</A>.This function object is an SGI extension; it is not part of the C++standard.<h3>Template parameters</h3>None.<h3>Model of</h3><A href="RandomNumberGenerator.html">Random Number Generator</A>, <A href="AdaptableUnaryFunction.html">Adaptable Unary Function</A><h3>Type requirements</h3>None.<h3>Public base classes</h3><tt><A href="unary_function.html">unary_function</A>&lt;unsigned int, unsigned int&gt;</tt><h3>Members</h3><Table border><TR><TH>Parameter</TH><TH>Description</TH><TH>Default</TH></TR><TR><TD VAlign=top><tt>argument_type</tt></TD><TD VAlign=top> <A href="AdaptableUnaryFunction.html">Adaptable Unary Function</A></TD><TD VAlign=top>The type of a <tt>subtractive_rng</tt>'s argument: <tt>unsigned int</tt>.</TD></TR><TR><TD VAlign=top><tt>result_type</tt></TD><TD VAlign=top> <A href="AdaptableUnaryFunction.html">Adaptable Unary Function</A></TD><TD VAlign=top>The type of the result: <tt>unsigned int</tt>.</TD></TR><TR><TD VAlign=top><tt>subtractive_rng(unsigned int seed)</tt></TD><TD VAlign=top><tt>subtractive_rng</tt></TD><TD VAlign=top>See below.</TD></TR><TR><TD VAlign=top><tt>subtractive_rng()</tt></TD><TD VAlign=top><tt>subtractive_rng</tt></TD><TD VAlign=top>See below.</TD></TR><TR><TD VAlign=top><tt>unsigned int operator()(unsigned int N)</tt></TD><TD VAlign=top> <A href="AdaptableUnaryFunction.html">Adaptable Unary Function</A></TD><TD VAlign=top>Function call.  Returns a pseudo-random number in the range   <tt>[0, N)</tt>.</TD></TR><TR><TD VAlign=top><tt>void initialize(unsigned int seed)</tt></TD><TD VAlign=top><tt>subtractive_rng</tt></TD><TD VAlign=top>See below.</TD></tr></table><h3>New members</h3>These members are not defined in the <A href="AdaptableUnaryFunction.html">Adaptable Unary Function</A>requirements, but are specific to <tt>subtractive_rng</tt>.<Table border><TR><TH>Member</TH><TH>Description</TH></TR><TR><TD VAlign=top><tt>subtractive_rng(unsigned int seed)</tt></TD><TD VAlign=top>The constructor.  Creates a <tt>subtractive_rng</tt> whose internal state   is initialized using <tt>seed</tt>.</TD></TR><TR><TD VAlign=top><tt>subtractive_rng()</tt></TD><TD VAlign=top>The default constructor.  Creates a <tt>subtractive_rng</tt> initialized   using a default value.</TD></TR><TR><TD VAlign=top><tt>void initialize(unsigned int seed)</tt></TD><TD VAlign=top>Re-initializes the internal state of the <tt>subtractive_rng</tt>, using   the value <tt>seed</tt>.</TD></tr></table><h3>Notes</h3><P><A name="1">[1]</A>See section 3.6 of Knuth for an implementation of the subtractivemethod in FORTRAN.  Section 3.2.2 of Knuth analyzes this class ofalgorithms.(D. E. Knuth, <i>The Art of ComputerProgramming.  Volume 2: Seminumerical Algorithms</i>, second edition.  Addison-Wesley, 1981.)<P><A name="2">[2]</A>Note that the sequence produced by a <tt>subtractive_rng</tt> iscompletely deterministic, and that the sequences produced by twodifferent <tt>subtractive_rng</tt> objects are independent of each other.That is: if <tt>R1</tt> is a <tt>subtractive_rng</tt>, then the values returned when<tt>R1</tt> is called depend only on <tt>R1</tt>'s seed and on the number of timesthat <tt>R1</tt> has been called.  Calls to other <tt>subtractive_rng</tt> objectsare irrelevant.  In implementation terms, this is because the class<tt>subtractive_rng</tt> contains no <tt>static</tt> members.<h3>See also</h3><A href="RandomNumberGenerator.html">Random Number Generator</A><!--start footer--> <HR SIZE="6"><A href="http://www.sgi.com/"><IMG SRC="surf.gif" HEIGHT="54" WIDTH="54"         ALT="[Silicon Surf]"></A><A HREF="index.html"><IMG SRC="stl_home.gif"         HEIGHT="54" WIDTH="54" ALT="[STL Home]"></A><BR><FONT SIZE="-2"><A href="http://www.sgi.com/Misc/sgi_info.html" TARGET="_top">Copyright &copy; 1999 Silicon Graphics, Inc.</A> All Rights Reserved.</FONT><FONT SIZE="-3"><a href="http://www.sgi.com/Misc/external.list.html" TARGET="_top">TrademarkInformation</A></FONT><P></BODY></HTML> 

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美高清hd18日本| 亚洲一区在线免费观看| 一区二区三区四区亚洲| 日韩经典一区二区| 色老综合老女人久久久| 久久品道一品道久久精品| 一区二区免费在线播放| 国产精品996| 51精品国自产在线| 自拍偷拍亚洲综合| 国产精品91一区二区| 日韩欧美国产系列| 亚洲一区二区三区免费视频| 成人av资源在线| 久久久久久电影| 久久精品国产**网站演员| 欧美手机在线视频| 亚洲美女少妇撒尿| 成人三级伦理片| 久久九九久久九九| 久久se精品一区精品二区| 欧美放荡的少妇| 亚洲第一搞黄网站| 欧美在线一二三| 亚洲综合色网站| 色中色一区二区| 亚洲同性gay激情无套| 国产不卡在线播放| 国产夜色精品一区二区av| 老司机午夜精品| 日韩视频免费观看高清在线视频| 亚洲国产日日夜夜| 色妹子一区二区| 亚洲美女视频一区| 欧美午夜不卡在线观看免费| 自拍av一区二区三区| 97久久久精品综合88久久| 国产精品视频一二三| av电影在线观看完整版一区二区| 国产精品卡一卡二| 91日韩一区二区三区| 亚洲精品国产一区二区三区四区在线| bt欧美亚洲午夜电影天堂| 亚洲天堂a在线| 欧美系列亚洲系列| 奇米色一区二区| 久久久精品日韩欧美| 国产精品456露脸| 中文字幕亚洲区| 欧美中文字幕亚洲一区二区va在线| 亚洲综合男人的天堂| 欧美日韩免费一区二区三区视频| 五月天丁香久久| 欧美tickling网站挠脚心| 国产在线精品一区二区夜色| 国产欧美日韩视频在线观看| 91麻豆高清视频| 视频一区欧美日韩| 国产亚洲综合在线| 在线精品视频一区二区| 美女一区二区三区在线观看| 久久精品一区二区| 色噜噜狠狠成人网p站| 麻豆91精品视频| 国产精品大尺度| 91精品国产综合久久精品麻豆| 激情av综合网| 一区二区视频在线| 精品国产一区二区三区久久久蜜月| 成人美女在线观看| 亚洲国产精品麻豆| 国产网红主播福利一区二区| 在线视频欧美区| 九九**精品视频免费播放| 成人欧美一区二区三区黑人麻豆 | 国产不卡高清在线观看视频| 亚洲欧洲国产日韩| 欧美久久久久久久久| 国产99久久久国产精品潘金| 天堂午夜影视日韩欧美一区二区| 国产亚洲欧美色| 欧美精品少妇一区二区三区| 丁香婷婷综合五月| 日韩精品高清不卡| 亚洲乱码国产乱码精品精的特点| 欧美一级二级三级蜜桃| 91香蕉视频黄| 国产美女av一区二区三区| 一区二区三区 在线观看视频| 欧美精品一区二区久久久| 欧美在线色视频| 北岛玲一区二区三区四区| 久久国产成人午夜av影院| 亚洲成人在线观看视频| 亚洲日本欧美天堂| 久久精品一区四区| 精品少妇一区二区三区日产乱码| 91福利国产精品| 91年精品国产| 成人免费黄色大片| 国产成人高清视频| 久久99久久久久久久久久久| 午夜久久电影网| 一区二区三区波多野结衣在线观看| 中文字幕av一区二区三区免费看| 欧美大白屁股肥臀xxxxxx| 91 com成人网| 欧美人伦禁忌dvd放荡欲情| 在线观看国产精品网站| zzijzzij亚洲日本少妇熟睡| 盗摄精品av一区二区三区| 国产一区二区三区久久悠悠色av| 美女视频黄频大全不卡视频在线播放| 亚洲成a人片综合在线| 亚洲国产人成综合网站| 一个色妞综合视频在线观看| 亚洲精品ww久久久久久p站| 亚洲欧美日韩国产中文在线| 亚洲视频香蕉人妖| 亚洲男人的天堂一区二区| 亚洲视频香蕉人妖| 亚洲综合精品自拍| 日本亚洲最大的色成网站www| 午夜久久电影网| 久久精品国产一区二区三区免费看 | 亚洲成av人片www| 天天色综合成人网| 另类小说综合欧美亚洲| 国产一区啦啦啦在线观看| 国产成人小视频| 91蜜桃网址入口| 欧美日韩一区二区三区高清| 欧美日韩高清一区二区不卡| 91精品国产麻豆| 久久久一区二区三区| 国产精品伦理一区二区| 亚洲精品成人天堂一二三| 首页国产丝袜综合| 国产在线精品一区在线观看麻豆| 成人免费va视频| 欧美美女直播网站| 久久久久久麻豆| 亚洲精品欧美二区三区中文字幕| 无吗不卡中文字幕| 国产高清不卡一区| 色婷婷激情综合| 欧美不卡一二三| 国产精品精品国产色婷婷| 亚洲观看高清完整版在线观看| 精品一区二区av| 91免费看片在线观看| 91精品免费在线| 国产精品欧美一区二区三区| 午夜久久久影院| 国产成人午夜精品影院观看视频| 日本韩国精品一区二区在线观看| 91超碰这里只有精品国产| 久久久久综合网| 午夜伦欧美伦电影理论片| 成人黄色网址在线观看| 欧美一级高清片| 一区二区视频在线| 国产成人欧美日韩在线电影| 欧美精品乱码久久久久久按摩| 中文字幕二三区不卡| 日韩国产欧美三级| 91香蕉国产在线观看软件| 久久久久久毛片| 蜜桃av一区二区三区电影| 日本乱人伦aⅴ精品| 国产亚洲短视频| 日本亚洲最大的色成网站www| 91在线看国产| 国产精品网站在线播放| 狂野欧美性猛交blacked| 91豆麻精品91久久久久久| 国产精品久久网站| 国产一区二区三区| 欧美精品久久久久久久多人混战| 国产精品高潮呻吟| 国产在线一区观看| 精品欧美一区二区久久| 日韩一区精品视频| 欧美自拍偷拍一区| 亚洲日本va午夜在线电影| 福利91精品一区二区三区| 欧美成人乱码一区二区三区| 偷窥国产亚洲免费视频| 在线视频国产一区| 亚洲美女一区二区三区| av在线播放成人| 中文字幕一区二区在线播放| 国产精品66部| 中文字幕乱码日本亚洲一区二区| 国产麻豆精品一区二区| 精品伦理精品一区| 久久国产夜色精品鲁鲁99| 日韩视频在线观看一区二区| 久久精品国产澳门| 精品国产第一区二区三区观看体验 |