<bdo id='1csG0'></bdo><ul id='1csG0'></ul>
  • <small id='1csG0'></small><noframes id='1csG0'>

  • <tfoot id='1csG0'></tfoot>
      <legend id='1csG0'><style id='1csG0'><dir id='1csG0'><q id='1csG0'></q></dir></style></legend>
    1. <i id='1csG0'><tr id='1csG0'><dt id='1csG0'><q id='1csG0'><span id='1csG0'><b id='1csG0'><form id='1csG0'><ins id='1csG0'></ins><ul id='1csG0'></ul><sub id='1csG0'></sub></form><legend id='1csG0'></legend><bdo id='1csG0'><pre id='1csG0'><center id='1csG0'></center></pre></bdo></b><th id='1csG0'></th></span></q></dt></tr></i><div id='1csG0'><tfoot id='1csG0'></tfoot><dl id='1csG0'><fieldset id='1csG0'></fieldset></dl></div>

        跨平台一致的伪随机数

        时间:2023-06-05

          <small id='j906a'></small><noframes id='j906a'>

        • <tfoot id='j906a'></tfoot>

            • <bdo id='j906a'></bdo><ul id='j906a'></ul>

                  <legend id='j906a'><style id='j906a'><dir id='j906a'><q id='j906a'></q></dir></style></legend>

                  <i id='j906a'><tr id='j906a'><dt id='j906a'><q id='j906a'><span id='j906a'><b id='j906a'><form id='j906a'><ins id='j906a'></ins><ul id='j906a'></ul><sub id='j906a'></sub></form><legend id='j906a'></legend><bdo id='j906a'><pre id='j906a'><center id='j906a'></center></pre></bdo></b><th id='j906a'></th></span></q></dt></tr></i><div id='j906a'><tfoot id='j906a'></tfoot><dl id='j906a'><fieldset id='j906a'></fieldset></dl></div>

                    <tbody id='j906a'></tbody>
                1. 本文介绍了跨平台一致的伪随机数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在寻找一种生成伪随机数序列的方法,该方法将为任何平台上的给定种子产生相同的序列结果.我假设 rand()/srand() 不会是一致的(我很容易在这个假设上出错).

                  I am looking for a way to generate pseudo random number sequences that will yield identical sequence results for a given seed across any platform. I am assuming that rand() / srand() is not going to be consistent (I could easily be wrong about this assumption).

                  推荐答案

                  类似于 Mersenne Twister(来自 Boost.Random) 是确定性的.

                  Something like a Mersenne Twister (from Boost.Random) is deterministic.

                  这篇关于跨平台一致的伪随机数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:改变uniform_int_distribution的范围 下一篇:没有了

                  相关文章

                  <legend id='oCBbQ'><style id='oCBbQ'><dir id='oCBbQ'><q id='oCBbQ'></q></dir></style></legend>
                  • <bdo id='oCBbQ'></bdo><ul id='oCBbQ'></ul>

                  1. <tfoot id='oCBbQ'></tfoot>
                  2. <i id='oCBbQ'><tr id='oCBbQ'><dt id='oCBbQ'><q id='oCBbQ'><span id='oCBbQ'><b id='oCBbQ'><form id='oCBbQ'><ins id='oCBbQ'></ins><ul id='oCBbQ'></ul><sub id='oCBbQ'></sub></form><legend id='oCBbQ'></legend><bdo id='oCBbQ'><pre id='oCBbQ'><center id='oCBbQ'></center></pre></bdo></b><th id='oCBbQ'></th></span></q></dt></tr></i><div id='oCBbQ'><tfoot id='oCBbQ'></tfoot><dl id='oCBbQ'><fieldset id='oCBbQ'></fieldset></dl></div>

                    <small id='oCBbQ'></small><noframes id='oCBbQ'>