{"url":"https://hayataka2049.hatenablog.jp/entry/2018/05/21/185718","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhayataka2049.hatenablog.jp%2Fentry%2F2018%2F05%2F21%2F185718\" title=\"\u3010python\u3011np.matrix\u306e\u901f\u5ea6\u3092\u6e2c\u308b - \u9759\u304b\u306a\u308b\u540d\u8f9e\" 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","blog_url":"https://hayataka2049.hatenablog.jp/","type":"rich","published":"2018-05-21 18:57:18","author_name":"hayataka2049","provider_name":"Hatena Blog","title":"\u3010python\u3011np.matrix\u306e\u901f\u5ea6\u3092\u6e2c\u308b","provider_url":"https://hatena.blog","categories":["python","numpy","\u901f\u5ea6\u8a08\u6e2c\u30b7\u30ea\u30fc\u30ba"],"height":"190","description":"numpy\u3067\u884c\u5217\u6f14\u7b97\u3092\u884c\u3046\u65b9\u6cd5\u3068\u3057\u3066\u306f\u3001\u666e\u901a\u306enumpy\u914d\u5217\u306b\u884c\u5217\u6f14\u7b97\u7cfb\u306e\u95a2\u6570\u3092\u9069\u7528\u3057\u3066\u3044\u304f\u65b9\u6cd5\u3068\u3001\u3042\u307e\u308a\u77e5\u3089\u308c\u3066\u3044\u306a\u3044\u304cnp.matrix\u578b\u3084np.mat\u578b\u3092\u4f7f\u3046\u65b9\u6cd5\u304c\u3042\u308b\u3002 \u901f\u5ea6\u304c\u9055\u3063\u305f\u308a\u3059\u308b\u306e\u3060\u308d\u3046\u304b\uff1f \u4eee\u306b\u9055\u3046\u3068\u56f0\u308b\uff08\u3068\u3044\u3046\u304b\u5834\u9762\u306b\u3088\u3063\u3066\u9069\u5207\u306a\u65b9\u3092\u9078\u3076\u5fc5\u8981\u304c\u751f\u3058\u3066\u304f\u308b\uff09\u306e\u3067\u3001\u3053\u3093\u306a\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u307f\u305f\u3002 import timeit import numpy as np def main(): a = np.random.random((100, 100)) b = np.random.random((100, 100)) a_m = np.matrix(a) b_m = np.matri\u2026","image_url":null,"author_url":"https://blog.hatena.ne.jp/hayataka2049/","blog_title":"\u9759\u304b\u306a\u308b\u540d\u8f9e","width":"100%"}