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

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

      <tfoot id='xAdHc'></tfoot>

      跨平台一致的伪随机数

      时间:2023-10-07
        <tbody id='yCptu'></tbody>

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

      • <bdo id='yCptu'></bdo><ul id='yCptu'></ul>
              1. <tfoot id='yCptu'></tfoot>

                <legend id='yCptu'><style id='yCptu'><dir id='yCptu'><q id='yCptu'></q></dir></style></legend>
                <i id='yCptu'><tr id='yCptu'><dt id='yCptu'><q id='yCptu'><span id='yCptu'><b id='yCptu'><form id='yCptu'><ins id='yCptu'></ins><ul id='yCptu'></ul><sub id='yCptu'></sub></form><legend id='yCptu'></legend><bdo id='yCptu'><pre id='yCptu'><center id='yCptu'></center></pre></bdo></b><th id='yCptu'></th></span></q></dt></tr></i><div id='yCptu'><tfoot id='yCptu'></tfoot><dl id='yCptu'><fieldset id='yCptu'></fieldset></dl></div>
                本文介绍了跨平台一致的伪随机数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                问题描述

                我正在寻找一种生成伪随机数序列的方法,该方法将为任何平台上的给定种子产生相同的序列结果.我假设 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.

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

                上一篇:改变uniform_int_distribution的范围 下一篇:rand() 和 random() 函数有什么区别?

                相关文章

                最新文章

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

              2. <legend id='YR028'><style id='YR028'><dir id='YR028'><q id='YR028'></q></dir></style></legend>

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

                  1. <tfoot id='YR028'></tfoot>
                    • <bdo id='YR028'></bdo><ul id='YR028'></ul>