<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>a-san</author_name>
  <author_url>https://blog.hatena.ne.jp/a-san/</author_url>
  <blog_title>a-sanの日記</blog_title>
  <blog_url>https://a-san.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>よくある題材です。 四則演算を作ろうとしたとき、引数が Complex のやつと Double のやつの２種類を作ろうと思ったけど、それだとメソッドが４つから８つになってしまう。 なので、初めて implicit を使ってみました。 あっさりできました。 で、四則演算ができれば、マンデルブロート集合も計算できるので、複素数版を作ってみました。 ちゃんと動きました。 計算式は、マンデルブロート集合の公式そのものです。シンプル♪ package asanmath /** * 複素数を作ってみる。immutableで。 */ case class Complex(val re:Double, val…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fa-san.hatenadiary.org%2Fentry%2F20111229%2Fp1&quot; title=&quot; Scalaで複素数とマンデルブロート集合 - a-sanの日記&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.d.st-hatena.com/diary/a-san/2011-12-29.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-12-29 00:00:00</published>
  <title> Scalaで複素数とマンデルブロート集合</title>
  <type>rich</type>
  <url>https://a-san.hatenadiary.org/entry/20111229/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
