最美情侣中文字幕电影,在线麻豆精品传媒,在线网站高清黄,久久黄色视频

歡迎光臨散文網(wǎng) 會員登陸 & 注冊

【Python 編程】2D 隨機游走 2D Random Walk

2021-09-14 12:36 作者:AoiSTZ23  | 我要投稿

By: Tao Steven Zheng (鄭濤)

A random walk is a stochastic process that describes a path that consists of a succession of random steps on some mathematical space such as the integers. The following Python code generates three 2-dimensional random walks and plots them.

隨機游動(random walk)是一種隨機過程(stochastic process),它描述了在某些數(shù)學空間(如整數(shù))上由一系列隨機步驟組成的隨機游動。以下的 Python 代碼生成三個二維隨機游動并繪制它們。


Results?

Looks like Brownian motion!
看上去像布朗運動!


Animate the 2D random walk



【Python 編程】2D 隨機游走 2D Random Walk的評論 (共 條)

分享到微博請遵守國家法律
富宁县| 乌鲁木齐县| 鄢陵县| 乌兰浩特市| 兴仁县| 盐亭县| 云梦县| 新巴尔虎左旗| 常熟市| 莱州市| 丰原市| 康马县| 繁峙县| 武城县| 温泉县| 康定县| 德化县| 湛江市| 元氏县| 卢龙县| 新建县| 阳新县| 横峰县| 铅山县| 凤凰县| 南乐县| 南开区| 安国市| 施甸县| 五河县| 台湾省| 祁东县| 达日县| 江北区| 广宁县| 渭源县| 察隅县| 绥阳县| 广东省| 德格县| 万州区|