{"type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2F186.hatenablog.com%2Fentry%2F20040516%2F1084695914\" title=\" Gram-Shmidt\u76f4\u4ea4\u5316 - 186 @ hatenablog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","title":" Gram-Shmidt\u76f4\u4ea4\u5316","url":"https://186.hatenablog.com/entry/20040516/1084695914","author_url":"https://blog.hatena.ne.jp/smoking186/","height":"190","author_name":"smoking186","published":"2004-05-16 17:25:14","provider_name":"Hatena Blog","width":"100%","provider_url":"https://hatena.blog","image_url":null,"blog_url":"https://186.hatenablog.com/","blog_title":"186 @ hatenablog","categories":["CS","ruby"],"description":"\u4e00\u5ea6\u306f\u3046\u307e\u304f\u3044\u3063\u305f\u304c\u3001to_r\u95a2\u4fc2\u3067\u5d4c\u308b\u3002 class Matrix def to_ra return self.to_a.each {|x| x.to_r} end end \u3053\u308c\u3067\u3044\u304f\u304b\u4ed5\u65b9\u304c\u306a\u3044\u3002 \u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u306b\u306fMatrix#to_r\u3063\u3066\u3042\u308b\u306e\u306b\u306a\u3002\u306a\u305c\u304b\u52d5\u304b\u306a\u3044\u3093\u3060\u3088\u306a\u3001\u3053\u308c\u304c\u3002"}