<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ryamada</author_name>
  <author_url>https://blog.hatena.ne.jp/ryamada/</author_url>
  <blog_title>ryamadaのコンピュータ・数学メモ</blog_title>
  <blog_url>https://ryamada.hatenadiary.jp/</blog_url>
  <categories>
    <anon>グラフ</anon>
    <anon>格子</anon>
    <anon>距離行列</anon>
    <anon>隣接行列</anon>
  </categories>
  <description>多次元立方格子上の点の占拠状態を把握したい 点の座標からペアワイズの距離行列を作ることは容易 距離行列と格子をグラフとみなした場合の隣接行列との関係を確認しよう １辺の長さが１の場合で考える # 距離行列M、隣接行列E M &lt;- E &lt;- list() # 次元０＝ノード数１の場合 M[[1]] &lt;- matrix(0,1,1) E[[1]] &lt;- matrix(0,1,1) # 次元をnまで n &lt;- 10 # だんだん次数を上げる for(i in 2:n){ # 隣接行列は、１次元低い隣接行列と、対角成分が１の対角行列とを並べたもの #print(E[[i-1]]) #print(dia…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fryamada.hatenadiary.jp%2Fentry%2F20120930%2F1348961835&quot; title=&quot;格子グラフの距離行列 - ryamadaのコンピュータ・数学メモ&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>2012-09-30 08:37:15</published>
  <title>格子グラフの距離行列</title>
  <type>rich</type>
  <url>https://ryamada.hatenadiary.jp/entry/20120930/1348961835</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
