<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>takeda25</author_name>
  <author_url>https://blog.hatena.ne.jp/takeda25/</author_url>
  <blog_title>アスペ日記</blog_title>
  <blog_url>https://takeda25.hatenablog.jp/</blog_url>
  <categories>
    <anon>アルゴリズム</anon>
    <anon>ウェーブレット行列</anon>
  </categories>
  <description>前回に引き続き、ウェーブレット行列を使った検索について書きます。今回も、2進数やビット操作に慣れている人には冗長に感じられるかもしれません。今回は、「配列のある範囲の中にある数字で、n番目に小さい数字を返す」という関数です。これは少しわかりにくいので、まずウェーブレット行列を使わず、目で数える例を示します。 図の赤線と青線の間にある数字の中で、1番目に小さい数字は何でしょうか。左から 10個目に 0 があるので、それですね。2番目に小さいものは、左から 17個目と 20個目に 1 があるので、1 です。では、14番目に小さいものはどれでしょうか。目で数えてみるとわかりますが、11 です。今回は…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakeda25.hatenablog.jp%2Fentry%2F20120807%2F1344306670&quot; title=&quot;ウェーブレット行列による QuantileRange() - アスペ日記&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>https://cdn-ak.f.st-hatena.com/images/fotolife/t/takeda25/20120807/20120807111106.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-08-07 11:31:10</published>
  <title>ウェーブレット行列による QuantileRange()</title>
  <type>rich</type>
  <url>https://takeda25.hatenablog.jp/entry/20120807/1344306670</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
