るりまサーチ

最速Rubyリファレンスマニュアル検索!
22件ヒット [1-22件を表示] (0.028秒)
トップページ > クラス:Numeric[x] > クエリ:Complex[x] > クエリ:real[x] > クエリ:imaginary[x]

別のキーワード

  1. _builtin complex
  2. complex rectangular
  3. complex rationalize
  4. complex polar
  5. complex rect

ライブラリ

検索結果

Numeric#imaginary -> 0 (15114.0)

常に 0 を返します。

...常に 0 を返します。

//emlist[例][ruby]{
12.imag # => 0
-12.imag # => 0
1.2.imag # => 0
-1.2.imag # => 0
//}

Numeric
のサブクラスは、このメソッドを適切に再定義しなければなりません。

@see Numeric#realComplex#imag...

Numeric#imag -> 0 (14.0)

常に 0 を返します。

...常に 0 を返します。

//emlist[例][ruby]{
12.imag # => 0
-12.imag # => 0
1.2.imag # => 0
-1.2.imag # => 0
//}

Numeric
のサブクラスは、このメソッドを適切に再定義しなければなりません。

@see Numeric#realComplex#imag...