self * other -> Complex[permalink][rdoc][edit]-
積を計算します。
- [PARAM]
other: - 自身に掛ける数
p Complex(1, 2) * 2 # => (2+4i) p Complex(1, 2) * Complex(2, 3) # => (-4+7i) p Complex(1, 2) * Rational(1, 2) # => ((1/2)+(1/1)*i) - [PARAM]
self * other -> Complex[permalink][rdoc][edit]積を計算します。
other:p Complex(1, 2) * 2 # => (2+4i)
p Complex(1, 2) * Complex(2, 3) # => (-4+7i)
p Complex(1, 2) * Rational(1, 2) # => ((1/2)+(1/1)*i)