{"description":"\u3084\u308b\u3053\u3068 \u30c0\u30df\u30fc\u306e\u30c6\u30ad\u30b9\u30c8\u30c7\u30fc\u30bf\u3092NumPy\u3067\u4f5c\u308b\u3002 \u8272\u3005\u306a\u5f62\u72b6\u306a\u5206\u5e03\u3092\u751f\u6210\u3057\u3066\u5f8c\u3005ROOT\u3067\u89e3\u6790\u3059\u308b\u3002 \u30b3\u30fc\u30c9 import numpy as np kNumEvent = 1000 fout = open(\"output.dat\",\"w\") for i in range(kNumEvent): rand1 = round(np.random.normal(0, 1),5) # \u6b63\u898f\u5206\u5e03(\u5e73\u5747, \u6a19\u6e96\u504f\u5dee) rand2= round(np.random.rand(),5) # \u4e00\u69d8\u5206\u5e03() rand3 = round(np.random.binomial(100,0.3),5) # \u4e8c\u9805\u5206\u5e03\u2026","categories":[],"provider_name":"Hatena Blog","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fphbe.hateblo.jp%2Fentry%2F2021%2F06%2F13%2F142830\" title=\"NumPy\u3092\u4f7f\u3063\u3066CERN ROOT\u306e\u89e3\u6790\u7528\u30c0\u30df\u30fc\u30c7\u30fc\u30bf\u3092\u751f\u6210\u3059\u308b1-\u30e9\u30f3\u30c0\u30e0\u30c7\u30fc\u30bf\u7de8 - \u7269\u7406\u306e\u30d9\u30f3\u30c1 by mitta\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2021-06-13 14:28:30","author_name":"salamence_andrias","blog_url":"https://phbe.hateblo.jp/","version":"1.0","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/salamence_andrias/","image_url":null,"title":"NumPy\u3092\u4f7f\u3063\u3066CERN ROOT\u306e\u89e3\u6790\u7528\u30c0\u30df\u30fc\u30c7\u30fc\u30bf\u3092\u751f\u6210\u3059\u308b1-\u30e9\u30f3\u30c0\u30e0\u30c7\u30fc\u30bf\u7de8","blog_title":"\u7269\u7406\u306e\u30d9\u30f3\u30c1 by mitta","type":"rich","url":"https://phbe.hateblo.jp/entry/2021/06/13/142830","height":"190"}