gpt4 book ai didi

c++ - 随机数引擎中的 "spectral characteristics"是什么?

转载 作者:行者123 更新时间:2023-11-28 01:49:55 26 4
gpt4 key购买 nike

关于 http://en.cppreference.com/w/cpp/numeric/random :

The Mersenne twister is slower and has greater state storage requirements but with the right parameters has the longest non-repeating sequence with the most desirable spectral characteristics (for a given definition of desirable).

光谱特性是什么意思?

最佳答案

这是维基百科的解释:https://en.wikipedia.org/wiki/Spectral_test

The spectral test is a statistical test for the quality of a class of pseudorandom number generators (PRNGs), the linear congruential generators (LCGs).[1] LCGs have a property that when plotted in 2 or more dimensions, lines or hyperplanes will form, on which all possible outputs can be found.

因此,大概“理想的光谱特征”意味着给定的 PRNG 更难通过光谱分析进行预测。

关于c++ - 随机数引擎中的 "spectral characteristics"是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43421981/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com