複素数の表現
新関数のReImとAbsArgでは,複素数をその直交表現あるいは極表現に簡単に変換することができる.
複素数 を順序対
に変換する.
In[1]:=
![Click for copyable input](assets.ja/representations-of-complex-numbers/In_36.png)
ReIm[3 + 4 I]
Out[1]=
![](assets.ja/representations-of-complex-numbers/O_31.png)
いくつかの数を変換する.
In[2]:=
![Click for copyable input](assets.ja/representations-of-complex-numbers/In_37.png)
ReIm[{Pi, -2 I, Sqrt[-I], 3 Exp[I 2 Pi/3]}]
Out[2]=
![](assets.ja/representations-of-complex-numbers/O_32.png)
複素数 を順序対
に変換する.
In[3]:=
![Click for copyable input](assets.ja/representations-of-complex-numbers/In_38.png)
AbsArg[3 + 4 I]
Out[3]=
![](assets.ja/representations-of-complex-numbers/O_33.png)
いくつかの数を変換する.
In[4]:=
![Click for copyable input](assets.ja/representations-of-complex-numbers/In_39.png)
AbsArg[{Pi, -2 I, Sqrt[-I], 3 Exp[I 2 Pi/3]}]
Out[4]=
![](assets.ja/representations-of-complex-numbers/O_34.png)
複素数値の関数を,複素平面上の曲線としてプロットする.
In[5]:=
![Click for copyable input](assets.ja/representations-of-complex-numbers/In_40.png)
ParametricPlot[ReIm[(-2)^x], {x, 0, 4}]
Out[5]=
![](assets.ja/representations-of-complex-numbers/O_35.png)
複素平面プロットの中の特定の点に注釈を付ける.
In[6]:=
![Click for copyable input](assets.ja/representations-of-complex-numbers/In_41.png)
JuliaSetPlot[-1, PlotRange -> 1.75,
Epilog -> {PointSize[Large], White, Point[ReIm[{I/2, -I/2, 1, -1}]]}]
Out[6]=
![](assets.ja/representations-of-complex-numbers/O_36.png)