{"id":1952,"date":"2015-05-05T22:24:27","date_gmt":"2015-05-05T13:24:27","guid":{"rendered":"http:\/\/daily.belltail.jp\/?p=1952"},"modified":"2015-05-05T22:28:43","modified_gmt":"2015-05-05T13:28:43","slug":"2%e8%a1%8cn%e5%88%97%e3%81%aendarray%e3%82%92%e4%b8%80%e7%99%ba%e3%81%a71%e8%a1%8c%e7%9b%ae%e2%89%a62%e8%a1%8c%e7%9b%ae%e3%81%ab%e3%81%99%e3%82%8bnumpy%e8%8a%b8","status":"publish","type":"post","link":"https:\/\/daily.belltail.jp\/?p=1952","title":{"rendered":"2\u884cN\u5217\u306endarray\u3092\u4e00\u767a\u3067(1\u884c\u76ee\u22662\u884c\u76ee)\u306b\u3059\u308bnumpy\u82b8"},"content":{"rendered":"<p>\u5404\u56fd\u306b\u304a\u3051\u308b\u56fd\u6c111\u4eba\u5f53\u305f\u308a\u306e\u9b5a\u306e\u5e74\u9593\u6d88\u8cbb\u91cf\u3092\u30e9\u30f3\u30af\u4ed8\u3051\u3059\u308b\u3068\u30011\u4f4d\u306f\u30e2\u30eb\u30c7\u30a3\u30d6\u306a\u3093\u3060\u305d\u3046\u3067\u3059\u3002\u571f\u5730\u67c4\u3092\u8003\u3048\u308b\u3068\u59a5\u5f53\u306a\u7d50\u679c\u3068\u8a00\u3048\u305d\u3046\u3067\u30016\u4f4d\u306e\u65e5\u672c\u306e2\u500d\u4ee5\u4e0a\u3067\u3059\u3002<\/p>\n<p>Numpy\u306b\u3066\u3001\u884c\u540c\u58eb\u306e\u5927\u5c0f\u95a2\u4fc2\u3092\u5f37\u5236\u3057\u305f\u3044\u3001\u3064\u307e\u308a\u300c2\u884cN\u5217\u306endarray\u304c\u3042\u308b\u3093\u3060\u3051\u3069\u3001\u5404\u5217\u3054\u3068\u306b\u3001\u5e38\u306b1\u884c\u76ee\u306e\u5024\u304c2\u884c\u76ee\u3088\u308a\u3082\u5c0f\u3055\u3044\u5024\u3092\u53d6\u308b\u5fc5\u8981\u304c\u3042\u308b\u300d\u300c\u305d\u3046\u3067\u306a\u3044\u5217\u306e\u5024\u3092\u5f37\u5236\u7684\u306b\u4e0a\u4e0b\u4ea4\u63db\u3055\u305b\u305f\u3044\u300d\u3068\u3044\u3046\u72b6\u6cc1\u306b\u906d\u9047\u3057\u307e\u3057\u305f\u3002<br \/>\n\u751f\u30eb\u30fc\u30d7\u56de\u3057\u3066\u3072\u3068\u3064\u3072\u3068\u3064\u30c1\u30a7\u30c3\u30af\u3057\u3066\u306f\u2026\u3068\u3084\u3063\u3066\u3082\u3044\u3044\u3093\u3067\u3059\u304c\u3001\u305d\u308c\u3092Python\u5074\u3067\u3084\u3063\u3066\u3044\u3066\u306f\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u4e0a\u3069\u3046\u304b\u306a\u3068\u3044\u3046\u3053\u3068\u3067\u3001Numpy\u306e\u30a4\u30f3\u30c7\u30af\u30b9\u82b8\u30fb\u30b9\u30e9\u30a4\u30b9\u82b8\u30fb\u30d6\u30ed\u30fc\u30c9\u30ad\u30e3\u30b9\u30c8\u82b8\u3042\u305f\u308a\u3092\u99c6\u4f7f\u3057\u3066\u3084\u3063\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p><script src=\"https:\/\/gist.github.com\/belltailjp\/dd5a2c17d9652e7d0717.js\"><\/script><\/p>\n<p>\u3082\u3061\u308d\u3093\u3001N\u884c2\u5217\u306endarray\u306e\u5217\u9593\u306e\u5927\u5c0f\u95a2\u4fc2\u3092\u7d71\u4e00\u3059\u308b\u306e\u3082\u540c\u69d8\u306b\u53ef\u80fd\u3002<\/p>\n<p><script src=\"https:\/\/gist.github.com\/belltailjp\/105ae70452053720a37d.js\"><\/script><\/p>\n<p>\u30a4\u30f3\u30c7\u30af\u30b7\u30f3\u30b0\u306a\u3069\u306e\u8a73\u7d30\u306e\u8aac\u660e\u306f\u3053\u3053\u3067\u306f\u3057\u307e\u305b\u3093\u3002<br \/>\n\u65e5\u672c\u8a9e\u3067\u3042\u308c\u3070\u3053\u306e\u3042\u305f\u308a\u304c\u308f\u304b\u308a\u3084\u3059\u305d\u3046\uff08\u307e\u3060\u898b\u3066\u306a\u3044\uff09\u3002<br \/>\n&#8211; [http:\/\/ism1000ch.hatenablog.com\/entry\/2014\/01\/15\/025328:title=numpy\u4f7f\u3044\u65b9_2_\u30b9\u30e9\u30a4\u30b9\u3068\u30d6\u30fc\u30eb\u30a4\u30f3\u30c7\u30c3\u30af\u30b9 &#8211; \u3059\u3053\u3057\u3075\u3057\u304e\uff0e]<br \/>\n&#8211; [http:\/\/turbare.net\/transl\/scipy-lecture-notes\/intro\/numpy\/array_object.html:title=1.3.1. numpy array \u30aa\u30d6\u30b8\u30a7\u30af\u30c8 \u2014 Scipy lecture notes]<\/p>\n<p>** \u6027\u80fd\u3084\u3044\u304b\u306b\uff1f<\/p>\n<p>[https:\/\/pypi.python.org\/pypi\/Benchmarker\/:title=Benchmarker.py]\u3092\u4f7f\u3063\u3066\u3001\u5b9f\u884c\u6642\u9593\u3092\u6bd4\u3079\u3066\u307f\u307e\u3057\u305f\u3002<br \/>\n\u6bd4\u8f03\u5bfe\u8c61\u306f\u3001\u307e\u3041\u4f55\u3082\u8003\u3048\u305a\u306b\u66f8\u304f\u3068\u305d\u3046\u306a\u308a\u307e\u3059\u308f\u306a\u3001\u3068\u3044\u3046\u3088\u3046\u306a\u96f0\u56f2\u6c17\u306e\u30b3\u30fc\u30c9\uff08\u3060\u3068\u304a\u3082\u3046\uff09\u3002<br \/>\n\uff03\u3068\u3053\u308d\u3067\u6a19\u6e96\u306e\u6642\u9593\u8a08\u6e2c\u30e2\u30b8\u30e5\u30fc\u30ebtimeit\u304c\u6700\u9ad8\u306b\u5acc\u3044\u306a\u3093\u3060\u3051\u3069\u3042\u308c\u306a\u3093\u3067\u3042\u3093\u306a\u3075\u3046\u306b\u306a\u3063\u3066\u3057\u307e\u3063\u305f\u306e\u304b\u306a\u3002\u3002\u3002<\/p>\n<p><script src=\"https:\/\/gist.github.com\/belltailjp\/d40a214321471be4e329.js\"><\/script><\/p>\n<p>\u3053\u3061\u3089\u304c\u5b9f\u884c\u7d50\u679c\u3002<br \/>\nproposed\u304c\u672c\u8a18\u4e8b\u3067\u7d39\u4ecb\u3057\u305f\u9ed2\u9b54\u8853\u3001conventional\u304c\u30b7\u30f3\u30d7\u30eb\u306a\u65b9\u6cd5\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n##                             real    (total    = user    + sys)\r\ncol-proposed                 3.6327    3.6200    2.8100    0.8100\r\nrow-proposed                 3.6977    3.6900    2.8700    0.8200\r\ncol-conventional            49.9127   49.8600   49.7600    0.1000\r\nrow-conventional            51.3075   51.2600   51.1600    0.1000\r\n<\/pre>\n<p>\u3060\u3044\u305f\u304414\u500d\u9ad8\u901f\u3067\u3059\u306d\u3002<br \/>\n\u30e1\u30e2\u30ea\u4e0a\u3067\u306f\u884c\u30aa\u30fc\u30c0\u30fc\u3067\u683c\u7d0d\u3055\u308c\u308b\u90fd\u5408\u4e0a\u3001row-*\u3068col-*\u306e\u9593\u3067\u901f\u5ea6\u5dee\u304c\u51fa\u308b\u306e\u304b\u306a\u3068\u601d\u3044\u307e\u3057\u305f\u304c\u3001\u305f\u304b\u3060\u304b2\u884c\/2\u5217\u306a\u306e\u3067\u3001\u95a2\u4fc2\u306a\u3044\u6a21\u69d8\uff08\u03c3\u304c\u672a\u77e5\u306a\u306e\u3067\u306a\u3093\u3068\u3082\u3044\u3048\u307e\u305b\u3093\u304c\u3002\u3002\uff09\u3002<\/p>\n<p><strong>Python\u306e\u9ad8\u901f\u5316\u306e\u9244\u5247\u306f\u300e\u751fPython\u66f8\u304f\u306a\u300f<\/strong>\u306b\u5c3d\u304d\u307e\u3059\u304c\u3001\u305d\u308c\u304c\u6539\u3081\u3066\u793a\u3055\u308c\u305f\u5f62\u306b\u306a\u308a\u307e\u3057\u305f\u3068\u3055\u3002<\/p>\n<p>\u305f\u3060\u3053\u306e\u3088\u3046\u306a\u30b3\u30fc\u30c9\u3001\u5f8c\u304b\u3089\u8aad\u3093\u3060\u308a\u4ed6\u4eba\u306b\u8aad\u307e\u305b\u305f\u308a\u3059\u308b\u306e\u306f\u3068\u3066\u3082\u56f0\u96e3\u306a\u306e\u3067\u3001\u3042\u307e\u308a\u591a\u7528\u3057\u306a\u3044\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5404\u56fd\u306b\u304a\u3051\u308b\u56fd\u6c111\u4eba\u5f53\u305f\u308a\u306e\u9b5a\u306e\u5e74\u9593\u6d88\u8cbb\u91cf\u3092\u30e9\u30f3\u30af\u4ed8\u3051\u3059\u308b\u3068\u30011\u4f4d\u306f\u30e2\u30eb\u30c7\u30a3\u30d6\u306a\u3093\u3060\u305d\u3046\u3067\u3059\u3002\u571f\u5730\u67c4\u3092\u8003\u3048\u308b\u3068\u59a5\u5f53\u306a\u7d50\u679c\u3068\u8a00\u3048\u305d\u3046\u3067\u30016\u4f4d\u306e\u65e5\u672c\u306e2\u500d\u4ee5\u4e0a\u3067\u3059\u3002 Numpy\u306b\u3066\u3001\u884c\u540c\u58eb\u306e\u5927\u5c0f\u95a2\u4fc2\u3092\u5f37\u5236\u3057\u305f\u3044\u3001\u3064\u307e\u308a\u300c2\u884c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[50,48,41],"class_list":["post-1952","post","type-post","status-publish","format-standard","hentry","category-1","tag-numpy","tag-python","tag-41"],"_links":{"self":[{"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=\/wp\/v2\/posts\/1952","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1952"}],"version-history":[{"count":0,"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=\/wp\/v2\/posts\/1952\/revisions"}],"wp:attachment":[{"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1952"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1952"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1952"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}