<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>wata_d</author_name>
  <author_url>https://blog.hatena.ne.jp/wata_d/</author_url>
  <blog_title>閑古鳥</blog_title>
  <blog_url>https://www.little-cuckoo.jp/</blog_url>
  <categories>
    <anon>C++</anon>
    <anon>Python</anon>
  </categories>
  <description>OpenCVでMat同士の掛け算した結果が思ってたのと違ってちょっとハマった。 cv::Mat A = cv::Mat1f({2, 2}, {1, 2, 3, 4}); cv::Mat B = cv::Mat1f({2, 2}, {5, 6, 7, 8}); // [1, 2] [5, 6] [19, 22] // [3, 4] x [7, 8] = [43, 50] cv::Mat C = A * B; // [1, 2] [5, 6] [ 5, 12] // [3, 4] x [7, 8] = [21, 32] cv::Mat D; cv::multiply(A, B, D); opera…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.little-cuckoo.jp%2Fentry%2F2025%2F04%2F02%2F162612&quot; title=&quot;また配列の要素同士の掛け算したいだけなのに行列計算させてしまった - 閑古鳥&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>2025-04-02 16:26:12</published>
  <title>また配列の要素同士の掛け算したいだけなのに行列計算させてしまった</title>
  <type>rich</type>
  <url>https://www.little-cuckoo.jp/entry/2025/04/02/162612</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
