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