{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Frubytips86.hatenablog.com%2Fentry%2F2014%2F03%2F31%2F145747\" title=\"\u3079\u304d\u4e57\u3092\u6c42\u3081\u308b - Ruby Tips!\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://rubytips86.hatenablog.com/","provider_name":"Hatena Blog","type":"rich","title":"\u3079\u304d\u4e57\u3092\u6c42\u3081\u308b","author_name":"rubytips86","provider_url":"https://hatena.blog","blog_title":"Ruby Tips!","categories":[],"height":"190","description":"Ruby\u3067\u3079\u304d\u4e57\u3092\u6c42\u3081\u308b\u306b\u306fNumeric#**\u3092\u4f7f\u3046\u3002 p 2 ** 8 #=> 256 \u8907\u7d20\u6570\u3092\u8868\u3059Complex\u3084\u3001\u884c\u5217\u3092\u8868\u3059Matrix\u30af\u30e9\u30b9\u306b\u5bfe\u3057\u3066\u3082**\u304c\u5229\u7528\u3067\u304d\u308b\u3002 require 'complex' p Complex(1, 2) ** Complex(3, 4) #=> (0.129009594074467+0.03392409290517014i) require 'matrix' m = Matrix[ [1, 2, 3], [4, 5, 6], [7, 8, 9] ] p m ** 2 #=> Matrix[[30, 36, 42], [66, 81, 96], [10\u2026","width":"100%","url":"https://rubytips86.hatenablog.com/entry/2014/03/31/145747","version":"1.0","author_url":"https://blog.hatena.ne.jp/rubytips86/","published":"2014-03-31 14:57:47","image_url":null}