るりまサーチ (Ruby 2.3.0)

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

別のキーワード

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

ライブラリ

検索結果

Numeric#imaginary -> 0 (45325.0)

常に 0 を返します。

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

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

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

@see Numeric#real、Complex#imag...

Numeric#imag -> 0 (25.0)

常に 0 を返します。

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

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

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

@see Numeric#real、Complex#imag...