<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>showyou</author_name>
  <author_url>https://blog.hatena.ne.jp/showyou/</author_url>
  <blog_title>White scenery @showyou, hatena</blog_title>
  <blog_url>https://showyou.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>Numpy</anon>
  </categories>
  <description>(この記事はQiitaからの転載になります。) すごい初歩的な話なんですが・・ In [1]: import numpy as np In [2]: H = np.matrix([[1, 2], [3, 4]]) In [3]: H * H Out[3]: matrix([[ 7, 10], [15, 22]]) In [4]: J = np.array([[1, 2], [3, 4]]) In [5]: J * J Out[5]: array([[ 1, 4], [ 9, 16]]) という感じに、np.matrixの*は行列の掛け算であるのに対し、np.arrayは要素毎の積(アダマール積…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshowyou.hatenablog.com%2Fentry%2F2020%2F03%2F28%2F123528&quot; title=&quot;Numpyのndarrayとmatrixでは*の結果が異なる - White scenery @showyou, hatena&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-09-09 12:35:28</published>
  <title>Numpyのndarrayとmatrixでは*の結果が異なる</title>
  <type>rich</type>
  <url>https://showyou.hatenablog.com/entry/2020/03/28/123528</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
