<divclass="content sourceset-dependent-content"data-active=""data-togglable=":kmath-stat:dokkaHtmlPartial/jvmMain"><divclass="symbol monospace"><spanclass="token keyword"></span><spanclass="token keyword">fun </span><ahref="../space.kscience.kmath.random/-random-generator/index.html#-384466395%2FMain%2F-541099023">RandomGenerator</a><spanclass="token punctuation">.</span><ahref="as-uniform-random-provider.html"><spanclass="token function">asUniformRandomProvider</span></a><spanclass="token punctuation">(</span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><spandata-unresolved-link="org.apache.commons.rng/UniformRandomProvider///PointingToDeclaration/">UniformRandomProvider</span><spanclass="clearfix"><spanclass="floating-right">(<ahref="https://github.com/SciProgCentre/kmath/tree/master/kmath-stat/src/jvmMain/kotlin/space/kscience/kmath/stat/RandomSourceGenerator.kt#L124">source</a>)</span></span></div><pclass="paragraph">Represent this <ahref="../space.kscience.kmath.random/-random-generator/index.html#-384466395%2FMain%2F-541099023">RandomGenerator</a> as commons-rng <spandata-unresolved-link="org.apache.commons.rng/UniformRandomProvider///PointingToDeclaration/">UniformRandomProvider</span> preserving and mirroring its current state. Getting new value from one of those changes the state of another.</p></div></div>