<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>soukouki</author_name>
  <author_url>https://blog.hatena.ne.jp/soukouki/</author_url>
  <blog_title>soukouki’s diary</blog_title>
  <blog_url>https://soukouki.hatenablog.jp/</blog_url>
  <categories>
    <anon>メモ</anon>
    <anon>Ruby</anon>
    <anon>乱数</anon>
    <anon>自然対数分布</anon>
    <anon>自信がない記事</anon>
  </categories>
  <description>(2017/11/16)あああタイトル間違ってましたぁ・・更新前に見た方申し訳ないです・・ 合っているかは自信ないです・・ ゲームの乱数くらいにお使いください。 require &quot;random_bell&quot; # http://pmsl.planet.sci.kobe-u.ac.jp/~seto/?page_id=316 # をRubyに移植 def lognormal mu, sigma return Float::NAN if (mu &lt;= 0) bell = RandomBell.new( mu: Math.log(mu*mu) - Math.log(mu*mu + sigma*sigma)…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsoukouki.hatenablog.jp%2Fentry%2F2017%2F11%2F09%2F090432&quot; title=&quot;メモ Ruby対数正規分布の乱数 - soukouki’s diary&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-11-09 09:04:32</published>
  <title>メモ Ruby対数正規分布の乱数</title>
  <type>rich</type>
  <url>https://soukouki.hatenablog.jp/entry/2017/11/09/090432</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
