complex.polar_new
code:Lua
c = textmodule.complex.polar_new(l, s)
モジュール
complex
引数
table:_
変数 型 概要
1 l number 長さ
2 s number 角度(ラジアン)
返り値
table:_
変数 型 概要
1 c userdata
複素数クラス
概要
極座標形式で長さ
l
と角度
s
を指定して、
複素数クラス
c
を生成する。