Ruby 1.9.3 Reference Manual > All Libraries > Builtin Library > class Complex > conj
conjugate -> Complex
conj -> Complex
自身の共役複素数を返します。
例:
Complex(1, 2).conj # => (1-2i)