<?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>circumcenter</anon>
    <anon>python</anon>
    <anon>R</anon>
    <anon>DEC</anon>
  </categories>
  <description>こちらにも書いた通り、三角化した後、その外接中心を取ることは便利 外接中心をさらっと線形代数処理で出すには、こちらのpydecのそれがよい Barycentric coordinateで出してそのあと通常座標にすればよい それをRで書き換えると： my.circ.center.bary &lt;- function(pts){ d &lt;- length(pts[1,]) n.pt &lt;- length(pts[,1]) A &lt;- 2* pts %*% t(pts) A &lt;- cbind(A,rep(1,n.pt)) A &lt;- rbind(A,c(rep(1,n.pt),0)) b &lt;- c(apply(…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fryamada.hatenadiary.jp%2Fentry%2F20150927%2F1443320860&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>2015-09-27 11:27:40</published>
  <title>外接中心</title>
  <type>rich</type>
  <url>https://ryamada.hatenadiary.jp/entry/20150927/1443320860</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
