<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>n-trino</author_name>
  <author_url>https://blog.hatena.ne.jp/n-trino/</author_url>
  <blog_title>trinoの走り書き</blog_title>
  <blog_url>https://n-trino.hatenadiary.org/</blog_url>
  <categories>
    <anon>数学</anon>
    <anon>プログラム</anon>
    <anon>本</anon>
  </categories>
  <description>数値演算プログラムの名著ですね。やや古い感じもしますけどプログラムで数値計算をやろうと思うなら一読する価値はあるでしょう。最近、自作の乱数クラスに分布関数を装備させようと思ってちょくちょく見ています。 一様乱数から分布関数通りの乱数を発生させるには、原理的には分布関数の原始関数の逆関数に0〜１の一様乱数を入れれば出てくるわけです。ですが、まず分布関数が解析的に積分可能とは限らない(というか出来るほうが稀)。次にそれを逆関数に直せる保障は全くない。実際、有名どころの分布関数も殆どが解析的な方法は不可能なようです。ガウス分布くらいでしょうか？可能なのは。 一般的な方法としてはモンテカルロ的にする方…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fn-trino.hatenadiary.org%2Fentry%2F20050125%2Fp1&quot; title=&quot;Numerical Recipes - trinoの走り書き&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>2005-01-25 00:00:01</published>
  <title>Numerical Recipes</title>
  <type>rich</type>
  <url>https://n-trino.hatenadiary.org/entry/20050125/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
