<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>se-kichi</author_name>
  <author_url>https://blog.hatena.ne.jp/se-kichi/</author_url>
  <blog_title>きちめも</blog_title>
  <blog_url>https://se-kichi.hatenadiary.org/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>scipy/numpyの行列演算は詳しいことを知らなくても何となく使えて便利なのですが，慣れていないとついついループや内包表記を使ってしまいます．pythonのループで書くと遅くなるのは分かっているのに……．最近「ufuncのbroadcastingが分かっていれば大分マシになるのでは無いか」と考えるようになったので，備忘録も兼ねて適当なことを書いてみます． ちなみに私の数値計算の知識はサッパリなので注意．またnumpy/scipyに関して何も知らない場合は他の記事を当たった方が良いと思います． 計算の速度やメモリのことは良く分からないので，難しいことを考えるのを止めて，目標を ループを使わず…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fse-kichi.hatenadiary.org%2Fentry%2F20110214%2F1297647898&quot; title=&quot;scipy/numpyのufunc備忘録 - きちめも&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>2011-02-14 10:44:58</published>
  <title>scipy/numpyのufunc備忘録</title>
  <type>rich</type>
  <url>https://se-kichi.hatenadiary.org/entry/20110214/1297647898</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
