<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>inamori</author_name>
  <author_url>https://blog.hatena.ne.jp/inamori/</author_url>
  <blog_title>inamori’s diary</blog_title>
  <blog_url>https://inamori.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>もう一つ、これはC/C++で行列の掛け算を書いたことがある人にはよく知られていると思いますが、乗数の方の行列を転置すると速くなります。 もう一度C++のコードを見てみましょう。 Matrix C(H, Vec(W)); for(size_t i = 0U; i &lt; H; ++i) { for(size_t j = 0U; j &lt; W; ++j) { __int128 e = 0; for(size_t k = 0U; k &lt; M; ++k) e += A[i][k] * B[k][j]; C[i][j] = (long)(e % D); } } 一番内側のループでkを振っているので、行列Bを縦…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F2021%2F01%2F13%2F092235&quot; title=&quot;PythonのライブラリをC++で作成する（5） - inamori’s diary&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>2021-01-13 09:22:35</published>
  <title>PythonのライブラリをC++で作成する（5）</title>
  <type>rich</type>
  <url>https://inamori.hateblo.jp/entry/2021/01/13/092235</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
