python均匀分布
时间: 2023-10-13 19:03:37 浏览: 145
在Python中,可以使用random库生成均匀分布的随机数。随机数生成函数random.random()可以生成服从0-1均匀分布的随机数。例如,r = random.random()就可以生成一个服从0-1均匀分布的随机数。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [Python 的自带均匀分布和正态分布随机数](https://blog.csdn.net/weixin_43483381/article/details/127875176)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [基于python/scipy学习概率统计(1):均匀分布(Uniform Distribution)](https://blog.csdn.net/chenxy_bwave/article/details/120725136)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文