commons-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject svn commit: r1002658 [31/35] - in /websites/production/commons/content/proper/commons-rng: ./ commons-rng-client-api/ commons-rng-client-api/apidocs/ commons-rng-client-api/apidocs/org/apache/commons/rng/ commons-rng-client-api/apidocs/org/apache/commo...
Date Mon, 12 Dec 2016 16:27:20 GMT
Added: websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/ProvidersList.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/ProvidersList.html (added)
+++ websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/ProvidersList.html Mon Dec 12 16:27:09 2016
@@ -0,0 +1,152 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head><meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+<title>ProvidersList xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../../testapidocs/org/apache/commons/rng/core/ProvidersList.html">View Javadoc</a></div><pre>
+<a class="jxr_linenumber" name="L1" href="#L1">1</a>   <em class="jxr_comment">/*</em>
+<a class="jxr_linenumber" name="L2" href="#L2">2</a>   <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</em>
+<a class="jxr_linenumber" name="L3" href="#L3">3</a>   <em class="jxr_comment"> * contributor license agreements.  See the NOTICE file distributed with</em>
+<a class="jxr_linenumber" name="L4" href="#L4">4</a>   <em class="jxr_comment"> * this work for additional information regarding copyright ownership.</em>
+<a class="jxr_linenumber" name="L5" href="#L5">5</a>   <em class="jxr_comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</em>
+<a class="jxr_linenumber" name="L6" href="#L6">6</a>   <em class="jxr_comment"> * (the "License"); you may not use this file except in compliance with</em>
+<a class="jxr_linenumber" name="L7" href="#L7">7</a>   <em class="jxr_comment"> * the License.  You may obtain a copy of the License at</em>
+<a class="jxr_linenumber" name="L8" href="#L8">8</a>   <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="L9" href="#L9">9</a>   <em class="jxr_comment"> *      <a href="http://www.apache.org/licenses/LICENSE-2." target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.</a>0</em>
+<a class="jxr_linenumber" name="L10" href="#L10">10</a>  <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="L11" href="#L11">11</a>  <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a class="jxr_linenumber" name="L12" href="#L12">12</a>  <em class="jxr_comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a class="jxr_linenumber" name="L13" href="#L13">13</a>  <em class="jxr_comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a class="jxr_linenumber" name="L14" href="#L14">14</a>  <em class="jxr_comment"> * See the License for the specific language governing permissions and</em>
+<a class="jxr_linenumber" name="L15" href="#L15">15</a>  <em class="jxr_comment"> * limitations under the License.</em>
+<a class="jxr_linenumber" name="L16" href="#L16">16</a>  <em class="jxr_comment"> */</em>
+<a class="jxr_linenumber" name="L17" href="#L17">17</a>  <strong class="jxr_keyword">package</strong> org.apache.commons.rng.core;
+<a class="jxr_linenumber" name="L18" href="#L18">18</a>  
+<a class="jxr_linenumber" name="L19" href="#L19">19</a>  <strong class="jxr_keyword">import</strong> java.util.Arrays;
+<a class="jxr_linenumber" name="L20" href="#L20">20</a>  <strong class="jxr_keyword">import</strong> java.util.List;
+<a class="jxr_linenumber" name="L21" href="#L21">21</a>  <strong class="jxr_keyword">import</strong> java.util.ArrayList;
+<a class="jxr_linenumber" name="L22" href="#L22">22</a>  <strong class="jxr_keyword">import</strong> java.util.Collections;
+<a class="jxr_linenumber" name="L23" href="#L23">23</a>  
+<a class="jxr_linenumber" name="L24" href="#L24">24</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.rng.core.source32.JDKRandom;
+<a class="jxr_linenumber" name="L25" href="#L25">25</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.rng.core.source32.Well512a;
+<a class="jxr_linenumber" name="L26" href="#L26">26</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.rng.core.source32.Well1024a;
+<a class="jxr_linenumber" name="L27" href="#L27">27</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.rng.core.source32.Well19937a;
+<a class="jxr_linenumber" name="L28" href="#L28">28</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.rng.core.source32.Well19937c;
+<a class="jxr_linenumber" name="L29" href="#L29">29</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.rng.core.source32.Well44497a;
+<a class="jxr_linenumber" name="L30" href="#L30">30</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.rng.core.source32.Well44497b;
+<a class="jxr_linenumber" name="L31" href="#L31">31</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.rng.core.source32.ISAACRandom;
+<a class="jxr_linenumber" name="L32" href="#L32">32</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.rng.core.source32.MersenneTwister;
+<a class="jxr_linenumber" name="L33" href="#L33">33</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.rng.core.source32.MultiplyWithCarry256;
+<a class="jxr_linenumber" name="L34" href="#L34">34</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.rng.core.source32.KISSRandom;
+<a class="jxr_linenumber" name="L35" href="#L35">35</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.rng.core.source64.SplitMix64;
+<a class="jxr_linenumber" name="L36" href="#L36">36</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.rng.core.source64.XorShift1024Star;
+<a class="jxr_linenumber" name="L37" href="#L37">37</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.rng.core.source64.TwoCmres;
+<a class="jxr_linenumber" name="L38" href="#L38">38</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.rng.core.source64.MersenneTwister64;
+<a class="jxr_linenumber" name="L39" href="#L39">39</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.rng.RestorableUniformRandomProvider;
+<a class="jxr_linenumber" name="L40" href="#L40">40</a>  
+<a class="jxr_linenumber" name="L41" href="#L41">41</a>  <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L42" href="#L42">42</a>  <em class="jxr_javadoccomment"> * The purpose of this class is to provide the list of all generators</em>
+<a class="jxr_linenumber" name="L43" href="#L43">43</a>  <em class="jxr_javadoccomment"> * implemented in the library.</em>
+<a class="jxr_linenumber" name="L44" href="#L44">44</a>  <em class="jxr_javadoccomment"> * The list must be updated with each new RNG implementation.</em>
+<a class="jxr_linenumber" name="L45" href="#L45">45</a>  <em class="jxr_javadoccomment"> *</em>
+<a class="jxr_linenumber" name="L46" href="#L46">46</a>  <em class="jxr_javadoccomment"> * @see #list()</em>
+<a class="jxr_linenumber" name="L47" href="#L47">47</a>  <em class="jxr_javadoccomment"> * @see #list32()</em>
+<a class="jxr_linenumber" name="L48" href="#L48">48</a>  <em class="jxr_javadoccomment"> * @see #list64()</em>
+<a class="jxr_linenumber" name="L49" href="#L49">49</a>  <em class="jxr_javadoccomment"> */</em>
+<a class="jxr_linenumber" name="L50" href="#L50">50</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/commons/rng/core/ProvidersList.html">ProvidersList</a> {
+<a class="jxr_linenumber" name="L51" href="#L51">51</a>      <em class="jxr_javadoccomment">/** List of all RNGs implemented in the library. */</em>
+<a class="jxr_linenumber" name="L52" href="#L52">52</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> List&lt;RestorableUniformRandomProvider[]&gt; LIST =
+<a class="jxr_linenumber" name="L53" href="#L53">53</a>          <strong class="jxr_keyword">new</strong> ArrayList&lt;RestorableUniformRandomProvider[]&gt;();
+<a class="jxr_linenumber" name="L54" href="#L54">54</a>      <em class="jxr_javadoccomment">/** List of 32-bits based RNGs. */</em>
+<a class="jxr_linenumber" name="L55" href="#L55">55</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> List&lt;RestorableUniformRandomProvider[]&gt; LIST32 =
+<a class="jxr_linenumber" name="L56" href="#L56">56</a>          <strong class="jxr_keyword">new</strong> ArrayList&lt;RestorableUniformRandomProvider[]&gt;();
+<a class="jxr_linenumber" name="L57" href="#L57">57</a>      <em class="jxr_javadoccomment">/** List of 64-bits based RNGs. */</em>
+<a class="jxr_linenumber" name="L58" href="#L58">58</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> List&lt;RestorableUniformRandomProvider[]&gt; LIST64 =
+<a class="jxr_linenumber" name="L59" href="#L59">59</a>          <strong class="jxr_keyword">new</strong> ArrayList&lt;RestorableUniformRandomProvider[]&gt;();
+<a class="jxr_linenumber" name="L60" href="#L60">60</a>  
+<a class="jxr_linenumber" name="L61" href="#L61">61</a>      <strong class="jxr_keyword">static</strong> {
+<a class="jxr_linenumber" name="L62" href="#L62">62</a>          <strong class="jxr_keyword">try</strong> {
+<a class="jxr_linenumber" name="L63" href="#L63">63</a>              <em class="jxr_comment">// "int"-based RNGs.</em>
+<a class="jxr_linenumber" name="L64" href="#L64">64</a>              add(LIST32, <strong class="jxr_keyword">new</strong> JDKRandom(-122333444455555L));
+<a class="jxr_linenumber" name="L65" href="#L65">65</a>              add(LIST32, <strong class="jxr_keyword">new</strong> MersenneTwister(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">int</strong>[] { -123, -234, -345 }));
+<a class="jxr_linenumber" name="L66" href="#L66">66</a>              add(LIST32, <strong class="jxr_keyword">new</strong> Well512a(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">int</strong>[] { -23, -34, -45 }));
+<a class="jxr_linenumber" name="L67" href="#L67">67</a>              add(LIST32, <strong class="jxr_keyword">new</strong> Well1024a(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">int</strong>[] { -1234, -2345, -3456 }));
+<a class="jxr_linenumber" name="L68" href="#L68">68</a>              add(LIST32, <strong class="jxr_keyword">new</strong> Well19937a(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">int</strong>[] { -2123, -3234, -4345 }));
+<a class="jxr_linenumber" name="L69" href="#L69">69</a>              add(LIST32, <strong class="jxr_keyword">new</strong> Well19937c(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">int</strong>[] { -123, -234, -345, -456 }));
+<a class="jxr_linenumber" name="L70" href="#L70">70</a>              add(LIST32, <strong class="jxr_keyword">new</strong> Well44497a(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">int</strong>[] { -12345, -23456, -34567 }));
+<a class="jxr_linenumber" name="L71" href="#L71">71</a>              add(LIST32, <strong class="jxr_keyword">new</strong> Well44497b(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">int</strong>[] { 123, 234, 345 }));
+<a class="jxr_linenumber" name="L72" href="#L72">72</a>              add(LIST32, <strong class="jxr_keyword">new</strong> ISAACRandom(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">int</strong>[] { 123, -234, 345, -456 }));
+<a class="jxr_linenumber" name="L73" href="#L73">73</a>              add(LIST32, <strong class="jxr_keyword">new</strong> MultiplyWithCarry256(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">int</strong>[] { 12, -1234, -3456, 45679 }));
+<a class="jxr_linenumber" name="L74" href="#L74">74</a>              add(LIST32, <strong class="jxr_keyword">new</strong> KISSRandom(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">int</strong>[] { 12, 1234, 23456, 345678 }));
+<a class="jxr_linenumber" name="L75" href="#L75">75</a>              <em class="jxr_comment">// ... add more here.</em>
+<a class="jxr_linenumber" name="L76" href="#L76">76</a>  
+<a class="jxr_linenumber" name="L77" href="#L77">77</a>              <em class="jxr_comment">// "long"-based RNGs.</em>
+<a class="jxr_linenumber" name="L78" href="#L78">78</a>              add(LIST64, <strong class="jxr_keyword">new</strong> SplitMix64(-98877766544333L));
+<a class="jxr_linenumber" name="L79" href="#L79">79</a>              add(LIST64, <strong class="jxr_keyword">new</strong> XorShift1024Star(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">long</strong>[] { 123456L, 234567L, -345678L }));
+<a class="jxr_linenumber" name="L80" href="#L80">80</a>              add(LIST64, <strong class="jxr_keyword">new</strong> TwoCmres(55443322));
+<a class="jxr_linenumber" name="L81" href="#L81">81</a>              add(LIST64, <strong class="jxr_keyword">new</strong> TwoCmres(-987654321, 5, 8));
+<a class="jxr_linenumber" name="L82" href="#L82">82</a>              add(LIST64, <strong class="jxr_keyword">new</strong> MersenneTwister64(<strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">long</strong>[] { 1234567L, 2345678L, -3456789L }));
+<a class="jxr_linenumber" name="L83" href="#L83">83</a>              <em class="jxr_comment">// ... add more here.</em>
+<a class="jxr_linenumber" name="L84" href="#L84">84</a>  
+<a class="jxr_linenumber" name="L85" href="#L85">85</a>              <em class="jxr_comment">// Do not modify the remaining statements.</em>
+<a class="jxr_linenumber" name="L86" href="#L86">86</a>              <em class="jxr_comment">// Complete list.</em>
+<a class="jxr_linenumber" name="L87" href="#L87">87</a>              LIST.addAll(LIST32);
+<a class="jxr_linenumber" name="L88" href="#L88">88</a>              LIST.addAll(LIST64);
+<a class="jxr_linenumber" name="L89" href="#L89">89</a>          } <strong class="jxr_keyword">catch</strong> (Exception e) {
+<a class="jxr_linenumber" name="L90" href="#L90">90</a>              System.err.println(<span class="jxr_string">"Unexpected exception while creating the list of generators: "</span> + e);
+<a class="jxr_linenumber" name="L91" href="#L91">91</a>              e.printStackTrace(System.err);
+<a class="jxr_linenumber" name="L92" href="#L92">92</a>              <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> RuntimeException(e);
+<a class="jxr_linenumber" name="L93" href="#L93">93</a>          }
+<a class="jxr_linenumber" name="L94" href="#L94">94</a>      }
+<a class="jxr_linenumber" name="L95" href="#L95">95</a>  
+<a class="jxr_linenumber" name="L96" href="#L96">96</a>      <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L97" href="#L97">97</a>  <em class="jxr_javadoccomment">     * Class contains only static methods.</em>
+<a class="jxr_linenumber" name="L98" href="#L98">98</a>  <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="L99" href="#L99">99</a>      <strong class="jxr_keyword">private</strong> <a href="../../../../../org/apache/commons/rng/core/ProvidersList.html">ProvidersList</a>() {}
+<a class="jxr_linenumber" name="L100" href="#L100">100</a> 
+<a class="jxr_linenumber" name="L101" href="#L101">101</a>     <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L102" href="#L102">102</a> <em class="jxr_javadoccomment">     * Helper to statisfy Junit requirement that each parameter set contains</em>
+<a class="jxr_linenumber" name="L103" href="#L103">103</a> <em class="jxr_javadoccomment">     * the same number of objects.</em>
+<a class="jxr_linenumber" name="L104" href="#L104">104</a> <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="L105" href="#L105">105</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">void</strong> add(List&lt;RestorableUniformRandomProvider[]&gt; list,
+<a class="jxr_linenumber" name="L106" href="#L106">106</a>                             RestorableUniformRandomProvider rng) {
+<a class="jxr_linenumber" name="L107" href="#L107">107</a>         list.add(<strong class="jxr_keyword">new</strong> RestorableUniformRandomProvider[] { rng });
+<a class="jxr_linenumber" name="L108" href="#L108">108</a>     }
+<a class="jxr_linenumber" name="L109" href="#L109">109</a> 
+<a class="jxr_linenumber" name="L110" href="#L110">110</a>     <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L111" href="#L111">111</a> <em class="jxr_javadoccomment">     * Subclasses that are "parametric" tests can forward the call to</em>
+<a class="jxr_linenumber" name="L112" href="#L112">112</a> <em class="jxr_javadoccomment">     * the "@Parameters"-annotated method to this method.</em>
+<a class="jxr_linenumber" name="L113" href="#L113">113</a> <em class="jxr_javadoccomment">     *</em>
+<a class="jxr_linenumber" name="L114" href="#L114">114</a> <em class="jxr_javadoccomment">     * @return the list of all generators.</em>
+<a class="jxr_linenumber" name="L115" href="#L115">115</a> <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="L116" href="#L116">116</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> Iterable&lt;RestorableUniformRandomProvider[]&gt; list() {
+<a class="jxr_linenumber" name="L117" href="#L117">117</a>         <strong class="jxr_keyword">return</strong> Collections.unmodifiableList(LIST);
+<a class="jxr_linenumber" name="L118" href="#L118">118</a>     }
+<a class="jxr_linenumber" name="L119" href="#L119">119</a> 
+<a class="jxr_linenumber" name="L120" href="#L120">120</a>     <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L121" href="#L121">121</a> <em class="jxr_javadoccomment">     * Subclasses that are "parametric" tests can forward the call to</em>
+<a class="jxr_linenumber" name="L122" href="#L122">122</a> <em class="jxr_javadoccomment">     * the "@Parameters"-annotated method to this method.</em>
+<a class="jxr_linenumber" name="L123" href="#L123">123</a> <em class="jxr_javadoccomment">     *</em>
+<a class="jxr_linenumber" name="L124" href="#L124">124</a> <em class="jxr_javadoccomment">     * @return the list of 32-bits based generators.</em>
+<a class="jxr_linenumber" name="L125" href="#L125">125</a> <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="L126" href="#L126">126</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> Iterable&lt;RestorableUniformRandomProvider[]&gt; list32() {
+<a class="jxr_linenumber" name="L127" href="#L127">127</a>         <strong class="jxr_keyword">return</strong> Collections.unmodifiableList(LIST32);
+<a class="jxr_linenumber" name="L128" href="#L128">128</a>     }
+<a class="jxr_linenumber" name="L129" href="#L129">129</a> 
+<a class="jxr_linenumber" name="L130" href="#L130">130</a>     <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L131" href="#L131">131</a> <em class="jxr_javadoccomment">     * Subclasses that are "parametric" tests can forward the call to</em>
+<a class="jxr_linenumber" name="L132" href="#L132">132</a> <em class="jxr_javadoccomment">     * the "@Parameters"-annotated method to this method.</em>
+<a class="jxr_linenumber" name="L133" href="#L133">133</a> <em class="jxr_javadoccomment">     *</em>
+<a class="jxr_linenumber" name="L134" href="#L134">134</a> <em class="jxr_javadoccomment">     * @return the list of 64-bits based generators.</em>
+<a class="jxr_linenumber" name="L135" href="#L135">135</a> <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="L136" href="#L136">136</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> Iterable&lt;RestorableUniformRandomProvider[]&gt; list64() {
+<a class="jxr_linenumber" name="L137" href="#L137">137</a>         <strong class="jxr_keyword">return</strong> Collections.unmodifiableList(LIST64);
+<a class="jxr_linenumber" name="L138" href="#L138">138</a>     }
+<a class="jxr_linenumber" name="L139" href="#L139">139</a> }
+</pre>
+<hr/>
+<div id="footer">Copyright &#169; 2016 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>
+</body>
+</html>

Propchange: websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/ProvidersList.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/RandomAssert.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/RandomAssert.html (added)
+++ websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/RandomAssert.html Mon Dec 12 16:27:09 2016
@@ -0,0 +1,51 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head><meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+<title>RandomAssert xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../../testapidocs/org/apache/commons/rng/core/RandomAssert.html">View Javadoc</a></div><pre>
+<a class="jxr_linenumber" name="L1" href="#L1">1</a>   <em class="jxr_comment">/*</em>
+<a class="jxr_linenumber" name="L2" href="#L2">2</a>   <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</em>
+<a class="jxr_linenumber" name="L3" href="#L3">3</a>   <em class="jxr_comment"> * contributor license agreements.  See the NOTICE file distributed with</em>
+<a class="jxr_linenumber" name="L4" href="#L4">4</a>   <em class="jxr_comment"> * this work for additional information regarding copyright ownership.</em>
+<a class="jxr_linenumber" name="L5" href="#L5">5</a>   <em class="jxr_comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</em>
+<a class="jxr_linenumber" name="L6" href="#L6">6</a>   <em class="jxr_comment"> * (the "License"); you may not use this file except in compliance with</em>
+<a class="jxr_linenumber" name="L7" href="#L7">7</a>   <em class="jxr_comment"> * the License.  You may obtain a copy of the License at</em>
+<a class="jxr_linenumber" name="L8" href="#L8">8</a>   <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="L9" href="#L9">9</a>   <em class="jxr_comment"> *      <a href="http://www.apache.org/licenses/LICENSE-2." target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.</a>0</em>
+<a class="jxr_linenumber" name="L10" href="#L10">10</a>  <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="L11" href="#L11">11</a>  <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a class="jxr_linenumber" name="L12" href="#L12">12</a>  <em class="jxr_comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a class="jxr_linenumber" name="L13" href="#L13">13</a>  <em class="jxr_comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a class="jxr_linenumber" name="L14" href="#L14">14</a>  <em class="jxr_comment"> * See the License for the specific language governing permissions and</em>
+<a class="jxr_linenumber" name="L15" href="#L15">15</a>  <em class="jxr_comment"> * limitations under the License.</em>
+<a class="jxr_linenumber" name="L16" href="#L16">16</a>  <em class="jxr_comment"> */</em>
+<a class="jxr_linenumber" name="L17" href="#L17">17</a>  
+<a class="jxr_linenumber" name="L18" href="#L18">18</a>  <strong class="jxr_keyword">package</strong> org.apache.commons.rng.core;
+<a class="jxr_linenumber" name="L19" href="#L19">19</a>  
+<a class="jxr_linenumber" name="L20" href="#L20">20</a>  <strong class="jxr_keyword">import</strong> java.util.Arrays;
+<a class="jxr_linenumber" name="L21" href="#L21">21</a>  <strong class="jxr_keyword">import</strong> org.junit.Assert;
+<a class="jxr_linenumber" name="L22" href="#L22">22</a>  
+<a class="jxr_linenumber" name="L23" href="#L23">23</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.rng.UniformRandomProvider;
+<a class="jxr_linenumber" name="L24" href="#L24">24</a>  
+<a class="jxr_linenumber" name="L25" href="#L25">25</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/commons/rng/core/RandomAssert.html">RandomAssert</a> {
+<a class="jxr_linenumber" name="L26" href="#L26">26</a>  
+<a class="jxr_linenumber" name="L27" href="#L27">27</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">void</strong> assertEquals(<strong class="jxr_keyword">int</strong>[] expected, UniformRandomProvider rng) {
+<a class="jxr_linenumber" name="L28" href="#L28">28</a>          <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">int</strong> i = 0; i &lt; expected.length; i++) {
+<a class="jxr_linenumber" name="L29" href="#L29">29</a>              Assert.assertEquals(<span class="jxr_string">"Value at position "</span> + i, expected[i], rng.nextInt());
+<a class="jxr_linenumber" name="L30" href="#L30">30</a>          }
+<a class="jxr_linenumber" name="L31" href="#L31">31</a>      }
+<a class="jxr_linenumber" name="L32" href="#L32">32</a>  
+<a class="jxr_linenumber" name="L33" href="#L33">33</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">void</strong> assertEquals(<strong class="jxr_keyword">long</strong>[] expected, UniformRandomProvider rng) {
+<a class="jxr_linenumber" name="L34" href="#L34">34</a>          <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">int</strong> i = 0; i &lt; expected.length; i++) {
+<a class="jxr_linenumber" name="L35" href="#L35">35</a>              Assert.assertEquals(<span class="jxr_string">"Value at position "</span> + i, expected[i], rng.nextLong());
+<a class="jxr_linenumber" name="L36" href="#L36">36</a>          }
+<a class="jxr_linenumber" name="L37" href="#L37">37</a>      }
+<a class="jxr_linenumber" name="L38" href="#L38">38</a>  }
+</pre>
+<hr/>
+<div id="footer">Copyright &#169; 2016 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>
+</body>
+</html>

Propchange: websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/RandomAssert.html
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/package-frame.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/package-frame.html (original)
+++ websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/package-frame.html Mon Dec 12 16:27:09 2016
@@ -3,7 +3,7 @@
 <html xml:lang="en" lang="en">
 	<head>
 		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-		<title>Apache Commons Parent RNG 1.0-SNAPSHOT Reference Package org.apache.commons.rng.core</title>
+		<title>Apache Commons RNG 1.0 Reference Package org.apache.commons.rng.core</title>
 		<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
 	</head>
 	<body>
@@ -19,7 +19,22 @@
             	<a href="BaseProviderTest.html" target="classFrame">BaseProviderTest</a>
           	</li>
           	          	<li>
-            	<a href="BaseProviderTest.html" target="classFrame">DummyGenerator</a>
+            	<a href="ProvidersCommonParametricTest.html" target="classFrame">DummyGenerator</a>
+          	</li>
+          	          	<li>
+            	<a href="Providers32ParametricTest.html" target="classFrame">Providers32ParametricTest</a>
+          	</li>
+          	          	<li>
+            	<a href="Providers64ParametricTest.html" target="classFrame">Providers64ParametricTest</a>
+          	</li>
+          	          	<li>
+            	<a href="ProvidersCommonParametricTest.html" target="classFrame">ProvidersCommonParametricTest</a>
+          	</li>
+          	          	<li>
+            	<a href="ProvidersList.html" target="classFrame">ProvidersList</a>
+          	</li>
+          	          	<li>
+            	<a href="RandomAssert.html" target="classFrame">RandomAssert</a>
           	</li>
           	          	<li>
             	<a href="RandomProviderDefaultStateTest.html" target="classFrame">RandomProviderDefaultStateTest</a>

Modified: websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/package-summary.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/package-summary.html (original)
+++ websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/package-summary.html Mon Dec 12 16:27:09 2016
@@ -3,7 +3,7 @@
 <html xml:lang="en" lang="en">
 	<head>
 		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-		<title>Apache Commons Parent RNG 1.0-SNAPSHOT Reference Package org.apache.commons.rng.core</title>
+		<title>Apache Commons RNG 1.0 Reference Package org.apache.commons.rng.core</title>
 		<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
 	</head>
 	<body>
@@ -42,7 +42,32 @@
             	</tr>
 				            	<tr>
               		<td>
-                		<a href="BaseProviderTest.html" target="classFrame">DummyGenerator</a>
+                		<a href="ProvidersCommonParametricTest.html" target="classFrame">DummyGenerator</a>
+              		</td>
+            	</tr>
+				            	<tr>
+              		<td>
+                		<a href="Providers32ParametricTest.html" target="classFrame">Providers32ParametricTest</a>
+              		</td>
+            	</tr>
+				            	<tr>
+              		<td>
+                		<a href="Providers64ParametricTest.html" target="classFrame">Providers64ParametricTest</a>
+              		</td>
+            	</tr>
+				            	<tr>
+              		<td>
+                		<a href="ProvidersCommonParametricTest.html" target="classFrame">ProvidersCommonParametricTest</a>
+              		</td>
+            	</tr>
+				            	<tr>
+              		<td>
+                		<a href="ProvidersList.html" target="classFrame">ProvidersList</a>
+              		</td>
+            	</tr>
+				            	<tr>
+              		<td>
+                		<a href="RandomAssert.html" target="classFrame">RandomAssert</a>
               		</td>
             	</tr>
 				            	<tr>

Modified: websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source32/ISAACRandomTest.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source32/ISAACRandomTest.html (original)
+++ websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source32/ISAACRandomTest.html Mon Dec 12 16:27:09 2016
@@ -25,7 +25,7 @@
 <a class="jxr_linenumber" name="L17" href="#L17">17</a>  
 <a class="jxr_linenumber" name="L18" href="#L18">18</a>  <strong class="jxr_keyword">package</strong> org.apache.commons.rng.core.source32;
 <a class="jxr_linenumber" name="L19" href="#L19">19</a>  
-<a class="jxr_linenumber" name="L20" href="#L20">20</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.rng.RandomAssert;
+<a class="jxr_linenumber" name="L20" href="#L20">20</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.rng.core.RandomAssert;
 <a class="jxr_linenumber" name="L21" href="#L21">21</a>  <strong class="jxr_keyword">import</strong> org.junit.Test;
 <a class="jxr_linenumber" name="L22" href="#L22">22</a>  
 <a class="jxr_linenumber" name="L23" href="#L23">23</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../../org/apache/commons/rng/core/source32/ISAACRandomTest.html">ISAACRandomTest</a> {

Modified: websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source32/KISSRandomTest.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source32/KISSRandomTest.html (original)
+++ websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source32/KISSRandomTest.html Mon Dec 12 16:27:09 2016
@@ -24,7 +24,7 @@
 <a class="jxr_linenumber" name="L16" href="#L16">16</a>  <em class="jxr_comment"> */</em>
 <a class="jxr_linenumber" name="L17" href="#L17">17</a>  <strong class="jxr_keyword">package</strong> org.apache.commons.rng.core.source32;
 <a class="jxr_linenumber" name="L18" href="#L18">18</a>  
-<a class="jxr_linenumber" name="L19" href="#L19">19</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.rng.RandomAssert;
+<a class="jxr_linenumber" name="L19" href="#L19">19</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.rng.core.RandomAssert;
 <a class="jxr_linenumber" name="L20" href="#L20">20</a>  <strong class="jxr_keyword">import</strong> org.junit.Test;
 <a class="jxr_linenumber" name="L21" href="#L21">21</a>  
 <a class="jxr_linenumber" name="L22" href="#L22">22</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../../org/apache/commons/rng/core/source32/KISSRandomTest.html">KISSRandomTest</a> {

Modified: websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source32/MersenneTwisterTest.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source32/MersenneTwisterTest.html (original)
+++ websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source32/MersenneTwisterTest.html Mon Dec 12 16:27:09 2016
@@ -24,7 +24,7 @@
 <a class="jxr_linenumber" name="L16" href="#L16">16</a>  <em class="jxr_comment"> */</em>
 <a class="jxr_linenumber" name="L17" href="#L17">17</a>  <strong class="jxr_keyword">package</strong> org.apache.commons.rng.core.source32;
 <a class="jxr_linenumber" name="L18" href="#L18">18</a>  
-<a class="jxr_linenumber" name="L19" href="#L19">19</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.rng.RandomAssert;
+<a class="jxr_linenumber" name="L19" href="#L19">19</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.rng.core.RandomAssert;
 <a class="jxr_linenumber" name="L20" href="#L20">20</a>  <strong class="jxr_keyword">import</strong> org.junit.Test;
 <a class="jxr_linenumber" name="L21" href="#L21">21</a>  
 <a class="jxr_linenumber" name="L22" href="#L22">22</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../../org/apache/commons/rng/core/source32/MersenneTwisterTest.html">MersenneTwisterTest</a> {

Modified: websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source32/MultiplyWithCarry256Test.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source32/MultiplyWithCarry256Test.html (original)
+++ websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source32/MultiplyWithCarry256Test.html Mon Dec 12 16:27:09 2016
@@ -24,7 +24,7 @@
 <a class="jxr_linenumber" name="L16" href="#L16">16</a>  <em class="jxr_comment"> */</em>
 <a class="jxr_linenumber" name="L17" href="#L17">17</a>  <strong class="jxr_keyword">package</strong> org.apache.commons.rng.core.source32;
 <a class="jxr_linenumber" name="L18" href="#L18">18</a>  
-<a class="jxr_linenumber" name="L19" href="#L19">19</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.rng.RandomAssert;
+<a class="jxr_linenumber" name="L19" href="#L19">19</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.rng.core.RandomAssert;
 <a class="jxr_linenumber" name="L20" href="#L20">20</a>  <strong class="jxr_keyword">import</strong> org.junit.Test;
 <a class="jxr_linenumber" name="L21" href="#L21">21</a>  
 <a class="jxr_linenumber" name="L22" href="#L22">22</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../../org/apache/commons/rng/core/source32/MultiplyWithCarry256Test.html">MultiplyWithCarry256Test</a> {

Modified: websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source32/Well1024aTest.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source32/Well1024aTest.html (original)
+++ websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source32/Well1024aTest.html Mon Dec 12 16:27:09 2016
@@ -24,7 +24,7 @@
 <a class="jxr_linenumber" name="L16" href="#L16">16</a>  <em class="jxr_comment"> */</em>
 <a class="jxr_linenumber" name="L17" href="#L17">17</a>  <strong class="jxr_keyword">package</strong> org.apache.commons.rng.core.source32;
 <a class="jxr_linenumber" name="L18" href="#L18">18</a>  
-<a class="jxr_linenumber" name="L19" href="#L19">19</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.rng.RandomAssert;
+<a class="jxr_linenumber" name="L19" href="#L19">19</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.rng.core.RandomAssert;
 <a class="jxr_linenumber" name="L20" href="#L20">20</a>  <strong class="jxr_keyword">import</strong> org.junit.Test;
 <a class="jxr_linenumber" name="L21" href="#L21">21</a>  
 <a class="jxr_linenumber" name="L22" href="#L22">22</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../../org/apache/commons/rng/core/source32/Well1024aTest.html">Well1024aTest</a> {

Modified: websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source32/Well19937aTest.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source32/Well19937aTest.html (original)
+++ websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source32/Well19937aTest.html Mon Dec 12 16:27:09 2016
@@ -24,7 +24,7 @@
 <a class="jxr_linenumber" name="L16" href="#L16">16</a>  <em class="jxr_comment"> */</em>
 <a class="jxr_linenumber" name="L17" href="#L17">17</a>  <strong class="jxr_keyword">package</strong> org.apache.commons.rng.core.source32;
 <a class="jxr_linenumber" name="L18" href="#L18">18</a>  
-<a class="jxr_linenumber" name="L19" href="#L19">19</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.rng.RandomAssert;
+<a class="jxr_linenumber" name="L19" href="#L19">19</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.rng.core.RandomAssert;
 <a class="jxr_linenumber" name="L20" href="#L20">20</a>  <strong class="jxr_keyword">import</strong> org.junit.Test;
 <a class="jxr_linenumber" name="L21" href="#L21">21</a>  
 <a class="jxr_linenumber" name="L22" href="#L22">22</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../../org/apache/commons/rng/core/source32/Well19937aTest.html">Well19937aTest</a> {

Modified: websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source32/Well19937cTest.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source32/Well19937cTest.html (original)
+++ websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source32/Well19937cTest.html Mon Dec 12 16:27:09 2016
@@ -24,7 +24,7 @@
 <a class="jxr_linenumber" name="L16" href="#L16">16</a>  <em class="jxr_comment"> */</em>
 <a class="jxr_linenumber" name="L17" href="#L17">17</a>  <strong class="jxr_keyword">package</strong> org.apache.commons.rng.core.source32;
 <a class="jxr_linenumber" name="L18" href="#L18">18</a>  
-<a class="jxr_linenumber" name="L19" href="#L19">19</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.rng.RandomAssert;
+<a class="jxr_linenumber" name="L19" href="#L19">19</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.rng.core.RandomAssert;
 <a class="jxr_linenumber" name="L20" href="#L20">20</a>  <strong class="jxr_keyword">import</strong> org.junit.Test;
 <a class="jxr_linenumber" name="L21" href="#L21">21</a>  
 <a class="jxr_linenumber" name="L22" href="#L22">22</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../../org/apache/commons/rng/core/source32/Well19937cTest.html">Well19937cTest</a> {

Modified: websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source32/Well44497aTest.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source32/Well44497aTest.html (original)
+++ websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source32/Well44497aTest.html Mon Dec 12 16:27:09 2016
@@ -24,7 +24,7 @@
 <a class="jxr_linenumber" name="L16" href="#L16">16</a>  <em class="jxr_comment"> */</em>
 <a class="jxr_linenumber" name="L17" href="#L17">17</a>  <strong class="jxr_keyword">package</strong> org.apache.commons.rng.core.source32;
 <a class="jxr_linenumber" name="L18" href="#L18">18</a>  
-<a class="jxr_linenumber" name="L19" href="#L19">19</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.rng.RandomAssert;
+<a class="jxr_linenumber" name="L19" href="#L19">19</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.rng.core.RandomAssert;
 <a class="jxr_linenumber" name="L20" href="#L20">20</a>  <strong class="jxr_keyword">import</strong> org.junit.Test;
 <a class="jxr_linenumber" name="L21" href="#L21">21</a>  
 <a class="jxr_linenumber" name="L22" href="#L22">22</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../../org/apache/commons/rng/core/source32/Well44497aTest.html">Well44497aTest</a> {

Modified: websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source32/Well44497bTest.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source32/Well44497bTest.html (original)
+++ websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source32/Well44497bTest.html Mon Dec 12 16:27:09 2016
@@ -24,7 +24,7 @@
 <a class="jxr_linenumber" name="L16" href="#L16">16</a>  <em class="jxr_comment"> */</em>
 <a class="jxr_linenumber" name="L17" href="#L17">17</a>  <strong class="jxr_keyword">package</strong> org.apache.commons.rng.core.source32;
 <a class="jxr_linenumber" name="L18" href="#L18">18</a>  
-<a class="jxr_linenumber" name="L19" href="#L19">19</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.rng.RandomAssert;
+<a class="jxr_linenumber" name="L19" href="#L19">19</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.rng.core.RandomAssert;
 <a class="jxr_linenumber" name="L20" href="#L20">20</a>  <strong class="jxr_keyword">import</strong> org.junit.Test;
 <a class="jxr_linenumber" name="L21" href="#L21">21</a>  
 <a class="jxr_linenumber" name="L22" href="#L22">22</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../../org/apache/commons/rng/core/source32/Well44497bTest.html">Well44497bTest</a> {

Modified: websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source32/Well512aTest.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source32/Well512aTest.html (original)
+++ websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source32/Well512aTest.html Mon Dec 12 16:27:09 2016
@@ -24,7 +24,7 @@
 <a class="jxr_linenumber" name="L16" href="#L16">16</a>  <em class="jxr_comment"> */</em>
 <a class="jxr_linenumber" name="L17" href="#L17">17</a>  <strong class="jxr_keyword">package</strong> org.apache.commons.rng.core.source32;
 <a class="jxr_linenumber" name="L18" href="#L18">18</a>  
-<a class="jxr_linenumber" name="L19" href="#L19">19</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.rng.RandomAssert;
+<a class="jxr_linenumber" name="L19" href="#L19">19</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.rng.core.RandomAssert;
 <a class="jxr_linenumber" name="L20" href="#L20">20</a>  <strong class="jxr_keyword">import</strong> org.junit.Test;
 <a class="jxr_linenumber" name="L21" href="#L21">21</a>  
 <a class="jxr_linenumber" name="L22" href="#L22">22</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../../org/apache/commons/rng/core/source32/Well512aTest.html">Well512aTest</a> {

Modified: websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source32/package-frame.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source32/package-frame.html (original)
+++ websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source32/package-frame.html Mon Dec 12 16:27:09 2016
@@ -3,7 +3,7 @@
 <html xml:lang="en" lang="en">
 	<head>
 		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-		<title>Apache Commons Parent RNG 1.0-SNAPSHOT Reference Package org.apache.commons.rng.core.source32</title>
+		<title>Apache Commons RNG 1.0 Reference Package org.apache.commons.rng.core.source32</title>
 		<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style" />
 	</head>
 	<body>

Modified: websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source32/package-summary.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source32/package-summary.html (original)
+++ websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source32/package-summary.html Mon Dec 12 16:27:09 2016
@@ -3,7 +3,7 @@
 <html xml:lang="en" lang="en">
 	<head>
 		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-		<title>Apache Commons Parent RNG 1.0-SNAPSHOT Reference Package org.apache.commons.rng.core.source32</title>
+		<title>Apache Commons RNG 1.0 Reference Package org.apache.commons.rng.core.source32</title>
 		<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style" />
 	</head>
 	<body>

Modified: websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source64/MersenneTwister64Test.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source64/MersenneTwister64Test.html (original)
+++ websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source64/MersenneTwister64Test.html Mon Dec 12 16:27:09 2016
@@ -24,7 +24,7 @@
 <a class="jxr_linenumber" name="L16" href="#L16">16</a>  <em class="jxr_comment"> */</em>
 <a class="jxr_linenumber" name="L17" href="#L17">17</a>  <strong class="jxr_keyword">package</strong> org.apache.commons.rng.core.source64;
 <a class="jxr_linenumber" name="L18" href="#L18">18</a>  
-<a class="jxr_linenumber" name="L19" href="#L19">19</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.rng.RandomAssert;
+<a class="jxr_linenumber" name="L19" href="#L19">19</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.rng.core.RandomAssert;
 <a class="jxr_linenumber" name="L20" href="#L20">20</a>  <strong class="jxr_keyword">import</strong> org.junit.Test;
 <a class="jxr_linenumber" name="L21" href="#L21">21</a>  
 <a class="jxr_linenumber" name="L22" href="#L22">22</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../../org/apache/commons/rng/core/source64/MersenneTwister64Test.html">MersenneTwister64Test</a> {

Modified: websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source64/SplitMix64Test.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source64/SplitMix64Test.html (original)
+++ websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source64/SplitMix64Test.html Mon Dec 12 16:27:09 2016
@@ -24,7 +24,7 @@
 <a class="jxr_linenumber" name="L16" href="#L16">16</a>  <em class="jxr_comment"> */</em>
 <a class="jxr_linenumber" name="L17" href="#L17">17</a>  <strong class="jxr_keyword">package</strong> org.apache.commons.rng.core.source64;
 <a class="jxr_linenumber" name="L18" href="#L18">18</a>  
-<a class="jxr_linenumber" name="L19" href="#L19">19</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.rng.RandomAssert;
+<a class="jxr_linenumber" name="L19" href="#L19">19</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.rng.core.RandomAssert;
 <a class="jxr_linenumber" name="L20" href="#L20">20</a>  <strong class="jxr_keyword">import</strong> org.junit.Test;
 <a class="jxr_linenumber" name="L21" href="#L21">21</a>  
 <a class="jxr_linenumber" name="L22" href="#L22">22</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../../org/apache/commons/rng/core/source64/SplitMix64Test.html">SplitMix64Test</a> {

Modified: websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source64/XorShift1024StarTest.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source64/XorShift1024StarTest.html (original)
+++ websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source64/XorShift1024StarTest.html Mon Dec 12 16:27:09 2016
@@ -24,7 +24,7 @@
 <a class="jxr_linenumber" name="L16" href="#L16">16</a>  <em class="jxr_comment"> */</em>
 <a class="jxr_linenumber" name="L17" href="#L17">17</a>  <strong class="jxr_keyword">package</strong> org.apache.commons.rng.core.source64;
 <a class="jxr_linenumber" name="L18" href="#L18">18</a>  
-<a class="jxr_linenumber" name="L19" href="#L19">19</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.rng.RandomAssert;
+<a class="jxr_linenumber" name="L19" href="#L19">19</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.rng.core.RandomAssert;
 <a class="jxr_linenumber" name="L20" href="#L20">20</a>  <strong class="jxr_keyword">import</strong> org.junit.Test;
 <a class="jxr_linenumber" name="L21" href="#L21">21</a>  
 <a class="jxr_linenumber" name="L22" href="#L22">22</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../../org/apache/commons/rng/core/source64/XorShift1024StarTest.html">XorShift1024StarTest</a> {

Modified: websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source64/package-frame.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source64/package-frame.html (original)
+++ websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source64/package-frame.html Mon Dec 12 16:27:09 2016
@@ -3,7 +3,7 @@
 <html xml:lang="en" lang="en">
 	<head>
 		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-		<title>Apache Commons Parent RNG 1.0-SNAPSHOT Reference Package org.apache.commons.rng.core.source64</title>
+		<title>Apache Commons RNG 1.0 Reference Package org.apache.commons.rng.core.source64</title>
 		<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style" />
 	</head>
 	<body>

Modified: websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source64/package-summary.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source64/package-summary.html (original)
+++ websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/source64/package-summary.html Mon Dec 12 16:27:09 2016
@@ -3,7 +3,7 @@
 <html xml:lang="en" lang="en">
 	<head>
 		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-		<title>Apache Commons Parent RNG 1.0-SNAPSHOT Reference Package org.apache.commons.rng.core.source64</title>
+		<title>Apache Commons RNG 1.0 Reference Package org.apache.commons.rng.core.source64</title>
 		<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style" />
 	</head>
 	<body>

Modified: websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/util/package-frame.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/util/package-frame.html (original)
+++ websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/util/package-frame.html Mon Dec 12 16:27:09 2016
@@ -3,7 +3,7 @@
 <html xml:lang="en" lang="en">
 	<head>
 		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-		<title>Apache Commons Parent RNG 1.0-SNAPSHOT Reference Package org.apache.commons.rng.core.util</title>
+		<title>Apache Commons RNG 1.0 Reference Package org.apache.commons.rng.core.util</title>
 		<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style" />
 	</head>
 	<body>

Modified: websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/util/package-summary.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/util/package-summary.html (original)
+++ websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/core/util/package-summary.html Mon Dec 12 16:27:09 2016
@@ -3,7 +3,7 @@
 <html xml:lang="en" lang="en">
 	<head>
 		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-		<title>Apache Commons Parent RNG 1.0-SNAPSHOT Reference Package org.apache.commons.rng.core.util</title>
+		<title>Apache Commons RNG 1.0 Reference Package org.apache.commons.rng.core.util</title>
 		<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style" />
 	</head>
 	<body>

Modified: websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/sampling/distribution/ContinuousSamplersList.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/sampling/distribution/ContinuousSamplersList.html (original)
+++ websites/production/commons/content/proper/commons-rng/xref-test/org/apache/commons/rng/sampling/distribution/ContinuousSamplersList.html Mon Dec 12 16:27:09 2016
@@ -180,7 +180,7 @@
 <a class="jxr_linenumber" name="L172" href="#L172">172</a>             add(LIST, <strong class="jxr_keyword">new</strong> org.apache.commons.math3.distribution.UniformRealDistribution(loUniform, hiUniform),
 <a class="jxr_linenumber" name="L173" href="#L173">173</a>                 <strong class="jxr_keyword">new</strong> ContinuousUniformSampler(RandomSource.create(RandomSource.MT_64), loUniform, hiUniform));
 <a class="jxr_linenumber" name="L174" href="#L174">174</a> 
-<a class="jxr_linenumber" name="L175" href="#L175">175</a>             <em class="jxr_comment">// Weibull.</em>
+<a class="jxr_linenumber" name="L175" href="#L175">175</a>             <em class="jxr_comment">// Weibull ("inverse method").</em>
 <a class="jxr_linenumber" name="L176" href="#L176">176</a>             <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">double</strong> alphaWeibull = 678.9;
 <a class="jxr_linenumber" name="L177" href="#L177">177</a>             <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">double</strong> betaWeibull = 98.76;
 <a class="jxr_linenumber" name="L178" href="#L178">178</a>             add(LIST, <strong class="jxr_keyword">new</strong> org.apache.commons.math3.distribution.WeibullDistribution(alphaWeibull, betaWeibull),
@@ -212,47 +212,51 @@
 <a class="jxr_linenumber" name="L204" href="#L204">204</a>                                                       <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">double</strong> inverseCumulativeProbability(<strong class="jxr_keyword">double</strong> p) {
 <a class="jxr_linenumber" name="L205" href="#L205">205</a>                                                           <strong class="jxr_keyword">return</strong> dist.inverseCumulativeProbability(p);
 <a class="jxr_linenumber" name="L206" href="#L206">206</a>                                                       }
-<a class="jxr_linenumber" name="L207" href="#L207">207</a>                                                   });
-<a class="jxr_linenumber" name="L208" href="#L208">208</a>         list.add(<strong class="jxr_keyword">new</strong> <a href="../../../../../../org/apache/commons/rng/sampling/distribution/ContinuousSamplerTestData.html">ContinuousSamplerTestData</a>[] { <strong class="jxr_keyword">new</strong> ContinuousSamplerTestData(inverseMethodSampler,
-<a class="jxr_linenumber" name="L209" href="#L209">209</a>                                                                                  getDeciles(dist)) });
-<a class="jxr_linenumber" name="L210" href="#L210">210</a>      }
-<a class="jxr_linenumber" name="L211" href="#L211">211</a> 
-<a class="jxr_linenumber" name="L212" href="#L212">212</a>     <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="L213" href="#L213">213</a> <em class="jxr_javadoccomment">     * @param list List of data (one the "parameters" tested by the Junit parametric test).</em>
-<a class="jxr_linenumber" name="L214" href="#L214">214</a> <em class="jxr_javadoccomment">     * @param dist Distribution to which the samples are supposed to conform.</em>
-<a class="jxr_linenumber" name="L215" href="#L215">215</a> <em class="jxr_javadoccomment">     * @param sampler Sampler.</em>
-<a class="jxr_linenumber" name="L216" href="#L216">216</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L217" href="#L217">217</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">void</strong> add(List&lt;ContinuousSamplerTestData[]&gt; list,
-<a class="jxr_linenumber" name="L218" href="#L218">218</a>                             <strong class="jxr_keyword">final</strong> org.apache.commons.math3.distribution.RealDistribution dist,
-<a class="jxr_linenumber" name="L219" href="#L219">219</a>                             <strong class="jxr_keyword">final</strong> ContinuousSampler sampler) {
-<a class="jxr_linenumber" name="L220" href="#L220">220</a>         list.add(<strong class="jxr_keyword">new</strong> <a href="../../../../../../org/apache/commons/rng/sampling/distribution/ContinuousSamplerTestData.html">ContinuousSamplerTestData</a>[] { <strong class="jxr_keyword">new</strong> ContinuousSamplerTestData(sampler,
-<a class="jxr_linenumber" name="L221" href="#L221">221</a>                                                                                  getDeciles(dist)) });
-<a class="jxr_linenumber" name="L222" href="#L222">222</a>     }
-<a class="jxr_linenumber" name="L223" href="#L223">223</a> 
-<a class="jxr_linenumber" name="L224" href="#L224">224</a>     <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="L225" href="#L225">225</a> <em class="jxr_javadoccomment">     * Subclasses that are "parametric" tests can forward the call to</em>
-<a class="jxr_linenumber" name="L226" href="#L226">226</a> <em class="jxr_javadoccomment">     * the "@Parameters"-annotated method to this method.</em>
-<a class="jxr_linenumber" name="L227" href="#L227">227</a> <em class="jxr_javadoccomment">     *</em>
-<a class="jxr_linenumber" name="L228" href="#L228">228</a> <em class="jxr_javadoccomment">     * @return the list of all generators.</em>
-<a class="jxr_linenumber" name="L229" href="#L229">229</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L230" href="#L230">230</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> Iterable&lt;ContinuousSamplerTestData[]&gt; list() {
-<a class="jxr_linenumber" name="L231" href="#L231">231</a>         <strong class="jxr_keyword">return</strong> Collections.unmodifiableList(LIST);
-<a class="jxr_linenumber" name="L232" href="#L232">232</a>     }
-<a class="jxr_linenumber" name="L233" href="#L233">233</a> 
-<a class="jxr_linenumber" name="L234" href="#L234">234</a>     <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="L235" href="#L235">235</a> <em class="jxr_javadoccomment">     * @param dist Distribution.</em>
-<a class="jxr_linenumber" name="L236" href="#L236">236</a> <em class="jxr_javadoccomment">     * @return the deciles of the given distribution. </em>
-<a class="jxr_linenumber" name="L237" href="#L237">237</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L238" href="#L238">238</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">double</strong>[] getDeciles(org.apache.commons.math3.distribution.RealDistribution dist) {
-<a class="jxr_linenumber" name="L239" href="#L239">239</a>         <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> last = 9;
-<a class="jxr_linenumber" name="L240" href="#L240">240</a>         <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">double</strong>[] deciles = <strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">double</strong>[last];
-<a class="jxr_linenumber" name="L241" href="#L241">241</a>         <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">double</strong> ten = 10;
-<a class="jxr_linenumber" name="L242" href="#L242">242</a>         <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">int</strong> i = 0; i &lt; last; i++) {
-<a class="jxr_linenumber" name="L243" href="#L243">243</a>             deciles[i] = dist.inverseCumulativeProbability((i + 1) / ten);
-<a class="jxr_linenumber" name="L244" href="#L244">244</a>         }
-<a class="jxr_linenumber" name="L245" href="#L245">245</a>         <strong class="jxr_keyword">return</strong> deciles;
-<a class="jxr_linenumber" name="L246" href="#L246">246</a>     }
-<a class="jxr_linenumber" name="L247" href="#L247">247</a> }
+<a class="jxr_linenumber" name="L207" href="#L207">207</a>                                                       @Override
+<a class="jxr_linenumber" name="L208" href="#L208">208</a>                                                       <strong class="jxr_keyword">public</strong> String toString() {
+<a class="jxr_linenumber" name="L209" href="#L209">209</a>                                                           <strong class="jxr_keyword">return</strong> dist.toString();
+<a class="jxr_linenumber" name="L210" href="#L210">210</a>                                                       }
+<a class="jxr_linenumber" name="L211" href="#L211">211</a>                                                   });
+<a class="jxr_linenumber" name="L212" href="#L212">212</a>         list.add(<strong class="jxr_keyword">new</strong> <a href="../../../../../../org/apache/commons/rng/sampling/distribution/ContinuousSamplerTestData.html">ContinuousSamplerTestData</a>[] { <strong class="jxr_keyword">new</strong> ContinuousSamplerTestData(inverseMethodSampler,
+<a class="jxr_linenumber" name="L213" href="#L213">213</a>                                                                                  getDeciles(dist)) });
+<a class="jxr_linenumber" name="L214" href="#L214">214</a>      }
+<a class="jxr_linenumber" name="L215" href="#L215">215</a> 
+<a class="jxr_linenumber" name="L216" href="#L216">216</a>     <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L217" href="#L217">217</a> <em class="jxr_javadoccomment">     * @param list List of data (one the "parameters" tested by the Junit parametric test).</em>
+<a class="jxr_linenumber" name="L218" href="#L218">218</a> <em class="jxr_javadoccomment">     * @param dist Distribution to which the samples are supposed to conform.</em>
+<a class="jxr_linenumber" name="L219" href="#L219">219</a> <em class="jxr_javadoccomment">     * @param sampler Sampler.</em>
+<a class="jxr_linenumber" name="L220" href="#L220">220</a> <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="L221" href="#L221">221</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">void</strong> add(List&lt;ContinuousSamplerTestData[]&gt; list,
+<a class="jxr_linenumber" name="L222" href="#L222">222</a>                             <strong class="jxr_keyword">final</strong> org.apache.commons.math3.distribution.RealDistribution dist,
+<a class="jxr_linenumber" name="L223" href="#L223">223</a>                             <strong class="jxr_keyword">final</strong> ContinuousSampler sampler) {
+<a class="jxr_linenumber" name="L224" href="#L224">224</a>         list.add(<strong class="jxr_keyword">new</strong> <a href="../../../../../../org/apache/commons/rng/sampling/distribution/ContinuousSamplerTestData.html">ContinuousSamplerTestData</a>[] { <strong class="jxr_keyword">new</strong> ContinuousSamplerTestData(sampler,
+<a class="jxr_linenumber" name="L225" href="#L225">225</a>                                                                                  getDeciles(dist)) });
+<a class="jxr_linenumber" name="L226" href="#L226">226</a>     }
+<a class="jxr_linenumber" name="L227" href="#L227">227</a> 
+<a class="jxr_linenumber" name="L228" href="#L228">228</a>     <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L229" href="#L229">229</a> <em class="jxr_javadoccomment">     * Subclasses that are "parametric" tests can forward the call to</em>
+<a class="jxr_linenumber" name="L230" href="#L230">230</a> <em class="jxr_javadoccomment">     * the "@Parameters"-annotated method to this method.</em>
+<a class="jxr_linenumber" name="L231" href="#L231">231</a> <em class="jxr_javadoccomment">     *</em>
+<a class="jxr_linenumber" name="L232" href="#L232">232</a> <em class="jxr_javadoccomment">     * @return the list of all generators.</em>
+<a class="jxr_linenumber" name="L233" href="#L233">233</a> <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="L234" href="#L234">234</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> Iterable&lt;ContinuousSamplerTestData[]&gt; list() {
+<a class="jxr_linenumber" name="L235" href="#L235">235</a>         <strong class="jxr_keyword">return</strong> Collections.unmodifiableList(LIST);
+<a class="jxr_linenumber" name="L236" href="#L236">236</a>     }
+<a class="jxr_linenumber" name="L237" href="#L237">237</a> 
+<a class="jxr_linenumber" name="L238" href="#L238">238</a>     <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L239" href="#L239">239</a> <em class="jxr_javadoccomment">     * @param dist Distribution.</em>
+<a class="jxr_linenumber" name="L240" href="#L240">240</a> <em class="jxr_javadoccomment">     * @return the deciles of the given distribution. </em>
+<a class="jxr_linenumber" name="L241" href="#L241">241</a> <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="L242" href="#L242">242</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">double</strong>[] getDeciles(org.apache.commons.math3.distribution.RealDistribution dist) {
+<a class="jxr_linenumber" name="L243" href="#L243">243</a>         <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> last = 9;
+<a class="jxr_linenumber" name="L244" href="#L244">244</a>         <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">double</strong>[] deciles = <strong class="jxr_keyword">new</strong> <strong class="jxr_keyword">double</strong>[last];
+<a class="jxr_linenumber" name="L245" href="#L245">245</a>         <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">double</strong> ten = 10;
+<a class="jxr_linenumber" name="L246" href="#L246">246</a>         <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">int</strong> i = 0; i &lt; last; i++) {
+<a class="jxr_linenumber" name="L247" href="#L247">247</a>             deciles[i] = dist.inverseCumulativeProbability((i + 1) / ten);
+<a class="jxr_linenumber" name="L248" href="#L248">248</a>         }
+<a class="jxr_linenumber" name="L249" href="#L249">249</a>         <strong class="jxr_keyword">return</strong> deciles;
+<a class="jxr_linenumber" name="L250" href="#L250">250</a>     }
+<a class="jxr_linenumber" name="L251" href="#L251">251</a> }
 </pre>
 <hr/>
 <div id="footer">Copyright &#169; 2016 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>



Mime
View raw message