{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhirokif.hatenablog.com%2Fentry%2F20140911%2F1410403894\" title=\"Haskell\u3067\u62e1\u6563\u65b9\u7a0b\u5f0f\u3092\u66f8\u3044\u3066\u307f\u305f\u3002\u305d\u306e\u4e00 - hiroki_f\u2019s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","provider_url":"https://hatena.blog","blog_url":"https://hirokif.hatenablog.com/","categories":["\u7269\u7406","PC"],"author_url":"https://blog.hatena.ne.jp/hiroki_f/","author_name":"hiroki_f","provider_name":"Hatena Blog","url":"https://hirokif.hatenablog.com/entry/20140911/1410403894","published":"2014-09-11 11:51:34","description":"\u62e1\u6563\u65b9\u7a0b\u5f0f\u3092Haskell\u3067\u66f8\u3044\u3066\u307f\u305f\u3002\u62e1\u6563\u65b9\u7a0b\u5f0f\u306e\u967d\u89e3\u6cd5\u306b\u3042\u308bC\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092Haskell\u306b\u66f8\u304d\u76f4\u3057\u305f\u3002diffusion.hs nmax :: Double nmax = 20 n :: Integer n = 20000 dt = 1.0 / 10000.0 dx = 1.0 / nmax a = dt / dx / dx -- initial data u_init = [2.0 * (x/nmax) * (1.0 - (x/nmax)) | x <- [0 .. nmax]] -- 1step uu h= 0 : zipWith3 (\\x y z -> a * x + (1.0 -\u2026","blog_title":"hiroki_f\u2019s diary","height":"190","type":"rich","version":"1.0","image_url":null,"title":"Haskell\u3067\u62e1\u6563\u65b9\u7a0b\u5f0f\u3092\u66f8\u3044\u3066\u307f\u305f\u3002\u305d\u306e\u4e00"}