<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>fgshun</author_name>
  <author_url>https://blog.hatena.ne.jp/fgshun/</author_url>
  <blog_title>銀月の符号</blog_title>
  <blog_url>https://fgshun.hatenablog.com/</blog_url>
  <categories>
    <anon>日記</anon>
    <anon>Python</anon>
    <anon>Ruby</anon>
  </categories>
  <description>PythonRecipe 185:直行座標を極座標に変換する を書いていて思ったこと。Ruby の複素数からは Complex#abs で絶対値、Complex#arg で偏角、 Complex#polar で両方を得ることができることを知った。 irb(main):001:0&gt; require 'complex' =&gt; true irb(main):002:0&gt; z = Complex(3.0, 4.0) =&gt; Complex(3.0, 4.0) irb(main):003:0&gt; p z.polar [5.0, 0.927295218001612] =&gt; nil ほかにも Complex#c…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffgshun.hatenablog.com%2Fentry%2F20080331%2F1206971161&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>2008-03-31 22:46:01</published>
  <title> 複素数平面の極座標</title>
  <type>rich</type>
  <url>https://fgshun.hatenablog.com/entry/20080331/1206971161</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
