scipy.stats.rv_continuous.
scipy.stats.rv_continuous.random_state#
- property rv_continuous.random_state#
获取或设置用于生成随机变量的生成器对象。
如果
random_state为 None(或 np.random),则使用numpy.random.RandomState单例。如果random_state是一个整数,则使用一个新的RandomState实例,并使用random_state作为种子。如果random_state已经是Generator或RandomState实例,则使用该实例。