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

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

?? randomdata.java

?? Apache的common math數(shù)學(xué)軟件包
?? JAVA
字號(hào):
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements.  See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License.  You may obtain a copy of the License at * *      http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */package org.apache.commons.math.random;import java.util.Collection;/** * Random data generation utilities. * @version $Revision: 615734 $ $Date: 2008-01-27 23:10:03 -0700 (Sun, 27 Jan 2008) $ */public interface RandomData {    /**     * Generates a random string of hex characters of length     * <code>len</code>.     * <p>     * The generated string will be random, but not cryptographically     * secure. To generate cryptographically secure strings, use     * <code>nextSecureHexString</code></p>     * <p>     * <strong>Preconditions</strong>:<ul>     * <li><code>len > 0</code> (otherwise an IllegalArgumentException     *     is thrown.)</li>     * </ul></p>     *     * @param len the length of the string to be generated     * @return random string of hex characters of length <code>len</code>     */    String nextHexString(int len);    /**     * Generates a uniformly distributed random integer between     * <code>lower</code> and <code>upper</code> (endpoints included).     * <p>     * The generated integer will be random, but not cryptographically secure.     * To generate cryptographically secure integer sequences, use     * <code>nextSecureInt</code>.</p>     * <p>     * <strong>Preconditions</strong>:<ul>     * <li><code>lower < upper</code> (otherwise an IllegalArgumentException     *     is thrown.)</li>     * </ul></p>     *     * @param lower lower bound for generated integer     * @param upper upper bound for generated integer     * @return a random integer greater than or equal to <code>lower</code>     * and less than or equal to <code>upper</code>.     */    int nextInt(int lower, int upper);    /**     * Generates a uniformly distributed random long integer between     * <code>lower</code> and <code>upper</code> (endpoints included).     * <p>     * The generated long integer values will be random, but not     * cryptographically secure.     * To generate cryptographically secure sequences of longs, use     * <code>nextSecureLong</code></p>     * <p>     * <strong>Preconditions</strong>:<ul>     * <li><code>lower < upper</code> (otherwise an IllegalArgumentException     *     is thrown.)</li>     * </ul></p>     *     * @param lower lower bound for generated integer     * @param upper upper bound for generated integer     * @return a random integer greater than or equal to <code>lower</code>     * and less than or equal to <code>upper</code>.     */    long nextLong(long lower, long upper);    /**     * Generates a random string of hex characters from a secure random     * sequence.     * <p>     * If cryptographic security is not required,     * use <code>nextHexString()</code>.</p>     * <p>     * <strong>Preconditions</strong>:<ul>     * <li><code>len > 0</code> (otherwise an IllegalArgumentException     *     is thrown.)</li>     * </ul></p>     * @param len length of return string     * @return the random hex string     */    String nextSecureHexString(int len);    /**     * Generates a uniformly distributed random integer between     * <code>lower</code> and <code>upper</code> (endpoints included)     * from a secure random sequence.     * <p>     * Sequences of integers generated using this method will be     * cryptographically secure. If cryptographic security is not required,     * <code>nextInt</code> should be used instead of this method.</p>     * <p>     * <strong>Definition</strong>:     * <a href="http://en.wikipedia.org/wiki/Cryptographically_secure_pseudo-random_number_generator">     * Secure Random Sequence</a></p>     * <p>     * <strong>Preconditions</strong>:<ul>     * <li><code>lower < upper</code> (otherwise an IllegalArgumentException     *     is thrown.)</li>     * </ul></p>     *     * @param lower lower bound for generated integer     * @param upper upper bound for generated integer     * @return a random integer greater than or equal to <code>lower</code>     * and less than or equal to <code>upper</code>.     */    int nextSecureInt(int lower, int upper);    /**     * Generates a random long integer between <code>lower</code>     * and <code>upper</code> (endpoints included).     * <p>     * Sequences of long values generated using this method will be     * cryptographically secure. If cryptographic security is not required,     * <code>nextLong</code> should be used instead of this method.</p>     * <p>     * <strong>Definition</strong>:     * <a href="http://en.wikipedia.org/wiki/Cryptographically_secure_pseudo-random_number_generator">     * Secure Random Sequence</a></p>     * <p>     * <strong>Preconditions</strong>:<ul>     * <li><code>lower < upper</code> (otherwise an IllegalArgumentException     *     is thrown.)</li>     * </ul></p>     *     * @param lower lower bound for generated integer     * @param upper upper bound for generated integer     * @return a long integer greater than or equal to <code>lower</code>     * and less than or equal to <code>upper</code>.     */    long nextSecureLong(long lower, long upper);    /**     * Generates a random value from the Poisson distribution with     * the given mean.     * <p>     * <strong>Definition</strong>:     * <a href="http://www.itl.nist.gov/div898/handbook/eda/section3/eda366j.htm">     * Poisson Distribution</a></p>     * <p>     * <strong>Preconditions</strong>: <ul>     * <li>The specified mean <i>must</i> be positive (otherwise an     *     IllegalArgumentException is thrown.)</li>     * </ul></p>     * @param mean Mean of the distribution     * @return poisson deviate with the specified mean     */    long nextPoisson(double mean);    /**     * Generates a random value from the     * Normal (or Gaussian) distribution with the given mean     * and standard deviation.     * <p>     * <strong>Definition</strong>:     * <a href="http://www.itl.nist.gov/div898/handbook/eda/section3/eda3661.htm">     * Normal Distribution</a></p>     * <p>     * <strong>Preconditions</strong>: <ul>     * <li><code>sigma > 0</code> (otherwise an IllegalArgumentException     *     is thrown.)</li>     * </ul></p>     * @param mu Mean of the distribution     * @param sigma Standard deviation of the distribution     * @return random value from Gaussian distribution with mean = mu,     * standard deviation = sigma     */    double nextGaussian(double mu, double sigma);    /**     * Generates a random value from the exponential distribution     * with expected value = <code>mean</code>.     * <p>     * <strong>Definition</strong>:     * <a href="http://www.itl.nist.gov/div898/handbook/eda/section3/eda3667.htm">     * Exponential Distribution</a></p>     * <p>     * <strong>Preconditions</strong>: <ul>     * <li><code>mu >= 0</code> (otherwise an IllegalArgumentException     *     is thrown.)</li>     * </ul></p>     * @param mean Mean of the distribution     * @return random value from exponential distribution     */    double nextExponential(double mean);    /**     * Generates a uniformly distributed random value from the open interval     * (<code>lower</code>,<code>upper</code>) (i.e., endpoints excluded).     * <p>     * <strong>Definition</strong>:     * <a href="http://www.itl.nist.gov/div898/handbook/eda/section3/eda3662.htm">     * Uniform Distribution</a> <code>lower</code> and     * <code>upper - lower</code> are the     * <a href = "http://www.itl.nist.gov/div898/handbook/eda/section3/eda364.htm">     * location and scale parameters</a>, respectively.</p>     * <p>     * <strong>Preconditions</strong>:<ul>     * <li><code>lower < upper</code> (otherwise an IllegalArgumentException     *     is thrown.)</li>     * </ul></p>     *     * @param lower lower endpoint of the interval of support     * @param upper upper endpoint of the interval of support     * @return uniformly distributed random value between lower     * and upper (exclusive)     */    double nextUniform(double lower, double upper);    /**     * Generates an integer array of length <code>k</code> whose entries     * are selected randomly, without repetition, from the integers <code>     * 0 through n-1</code> (inclusive).     * <p>     * Generated arrays represent permutations     * of <code>n</code> taken <code>k</code> at a time.</p>     * <p>     * <strong>Preconditions:</strong><ul>     * <li> <code>k <= n</code></li>     * <li> <code>n > 0</code> </li>     * </ul>     * If the preconditions are not met, an IllegalArgumentException is     * thrown.</p>     *     * @param n domain of the permutation     * @param k size of the permutation     * @return random k-permutation of n     */    int[] nextPermutation(int n, int k);    /**     * Returns an array of <code>k</code> objects selected randomly     * from the Collection <code>c</code>.     * <p>     * Sampling from <code>c</code>     * is without replacement; but if <code>c</code> contains identical     * objects, the sample may include repeats.  If all elements of <code>     * c</code> are distinct, the resulting object array represents a     * <a href="http://rkb.home.cern.ch/rkb/AN16pp/node250.html#SECTION0002500000000000000000">     * Simple Random Sample</a> of size     * <code>k</code> from the elements of <code>c</code>.</p>     * <p>     * <strong>Preconditions:</strong><ul>     * <li> k must be less than or equal to the size of c </li>     * <li> c must not be empty </li>     * </ul>     * If the preconditions are not met, an IllegalArgumentException is     * thrown.</p>     *     * @param c collection to be sampled     * @param k size of the sample     * @return random sample of k elements from c     */    Object[] nextSample(Collection c, int k);}

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品一区二区影视| 亚洲午夜精品一区二区三区他趣| 裸体在线国模精品偷拍| 日韩女优电影在线观看| 国产盗摄精品一区二区三区在线| 国产精品免费视频网站| 色婷婷av一区二区三区大白胸| 亚洲自拍偷拍麻豆| 91麻豆精品国产| 国产乱码精品一区二区三区忘忧草 | 欧美a级一区二区| 精品成人一区二区三区四区| 国产精品伊人色| 亚洲精品日日夜夜| 日韩欧美中文字幕一区| 国产成人无遮挡在线视频| 亚洲欧洲另类国产综合| 欧美日韩视频第一区| 极品销魂美女一区二区三区| 国产精品国产自产拍在线| 欧美无乱码久久久免费午夜一区| 美女在线视频一区| 成人免费一区二区三区在线观看| 欧美日韩色综合| 精品一区精品二区高清| 亚洲丝袜精品丝袜在线| 日韩欧美在线网站| 色综合久久中文字幕综合网| 日韩av电影免费观看高清完整版 | 日韩欧美久久一区| 91女神在线视频| 另类调教123区| 亚洲精品午夜久久久| 日韩精品一区二区三区中文精品| aa级大片欧美| 久久99蜜桃精品| 一区二区三区高清在线| 久久精品一区二区三区不卡牛牛| 欧洲精品视频在线观看| 国产麻豆91精品| 奇米在线7777在线精品| 国产精品成人免费在线| 26uuu亚洲| 欧美日韩一区二区在线观看视频| 国产精品一区二区久激情瑜伽| 图片区日韩欧美亚洲| 亚洲婷婷综合久久一本伊一区| 日韩免费在线观看| 欧美日韩亚洲不卡| aaa亚洲精品| 国产成人啪午夜精品网站男同| 日本美女一区二区三区| 亚洲精品自拍动漫在线| 久久精品免费在线观看| 欧美mv和日韩mv国产网站| 欧美精品1区2区| 在线看一区二区| 色综合久久九月婷婷色综合| 国产91在线观看丝袜| 国产精品一区专区| 国产一区免费电影| 激情综合一区二区三区| 乱一区二区av| 久久国产精品一区二区| 日本怡春院一区二区| 五月婷婷欧美视频| 亚洲黄网站在线观看| 亚洲欧洲日韩在线| 中文字幕一区日韩精品欧美| 国产日产欧产精品推荐色| 久久丝袜美腿综合| 国产亚洲视频系列| 国产日韩影视精品| 国产精品不卡视频| 1024精品合集| 亚洲日本va午夜在线影院| 亚洲美女淫视频| 亚洲综合色区另类av| 亚洲电影视频在线| 日本不卡高清视频| 精品一区二区三区蜜桃| 国产在线播放一区二区三区| 国产老妇另类xxxxx| 高清国产一区二区三区| 99re成人精品视频| 欧洲一区二区av| 欧美日本在线播放| 日韩欧美另类在线| 欧美激情一区二区在线| 最新国产成人在线观看| 亚洲精品国产视频| 无码av免费一区二区三区试看| 午夜视频一区二区| 精品在线观看视频| 成人免费视频网站在线观看| 色综合色综合色综合| 欧美军同video69gay| 日韩限制级电影在线观看| 欧美精品一区二区三区高清aⅴ| 国产午夜精品久久久久久免费视| 亚洲视频一区二区免费在线观看 | 天堂成人免费av电影一区| 免费观看成人av| 国产成人综合亚洲91猫咪| 色综合一个色综合| 欧美一个色资源| 国产视频一区二区在线观看| 亚洲欧美一区二区不卡| 蜜臀久久99精品久久久久久9| 高清免费成人av| 欧美精品日韩一区| 国产精品人成在线观看免费| 亚洲尤物在线视频观看| 国内精品伊人久久久久av一坑| 99久久精品免费精品国产| 欧美一区二区三区影视| 国产精品大尺度| 日韩av午夜在线观看| 成人激情av网| 日韩欧美国产三级| 亚洲免费观看在线观看| 九九九精品视频| 在线一区二区三区| 久久精品人人做人人综合| 亚洲123区在线观看| 成人看片黄a免费看在线| 制服视频三区第一页精品| 国产精品久99| 国内成人免费视频| 欧美日本一区二区三区四区| 《视频一区视频二区| 黄网站免费久久| 欧美久久一区二区| 亚洲免费电影在线| 国产99一区视频免费| 日韩三级.com| 午夜影视日本亚洲欧洲精品| 成人av在线播放网址| 欧美成人a∨高清免费观看| 亚洲一二三四在线观看| 成人avav影音| 久久久www成人免费毛片麻豆| 日本亚洲天堂网| 欧美日韩中文字幕一区二区| 亚洲欧洲日产国产综合网| 国产成人自拍高清视频在线免费播放| 欧美伦理电影网| 一区二区三区影院| 国产suv一区二区三区88区| www国产成人免费观看视频 深夜成人网| 图片区小说区国产精品视频| 色噜噜狠狠色综合欧洲selulu| 国产精品久久久久一区二区三区共| 激情欧美一区二区| 精品久久久三级丝袜| 麻豆精品在线视频| 91精品国产色综合久久不卡蜜臀| 亚洲夂夂婷婷色拍ww47| 成人精品免费视频| 国产精品久久久久aaaa樱花| 成人一级片网址| 国产精品福利一区| www.在线成人| 中文字幕在线不卡一区二区三区| 大胆欧美人体老妇| 中文字幕不卡在线| 成人app网站| 一区二区三区日韩精品视频| 色88888久久久久久影院按摩| 亚洲免费在线电影| 欧美午夜精品理论片a级按摩| 一区二区三区蜜桃网| 欧美少妇一区二区| 视频一区免费在线观看| 91精品国产综合久久精品app| 日韩二区在线观看| 精品国产a毛片| 国产盗摄视频一区二区三区| 国产精品久久久久9999吃药| 91在线观看下载| 亚洲一区二区四区蜜桃| 欧美一区二视频| 国产福利91精品一区二区三区| 一区二区成人在线| 欧美精选午夜久久久乱码6080| 蜜桃一区二区三区在线| 久久精品网站免费观看| 91蜜桃在线免费视频| 午夜视黄欧洲亚洲| 久久亚洲综合av| 91啪亚洲精品| 麻豆精品在线播放| 国产精品久久久久久亚洲伦 | 中文字幕欧美日本乱码一线二线| 国产不卡视频在线观看| 一区二区免费在线| 欧美va在线播放| 色综合色综合色综合色综合色综合 | 欧美伦理影视网| 国产成人亚洲综合a∨婷婷图片 |