るりまサーチ (Ruby 2.1.0)

最速Rubyリファレンスマニュアル検索!
2件ヒット [1-2件を表示] (0.034秒)
トップページ > クラス:Complex[x] > ライブラリ:ビルトイン[x] > バージョン:2.1.0[x] > クエリ:numeric[x] > クエリ:rect[x] > 種類:インスタンスメソッド[x]

別のキーワード

  1. numeric step
  2. _builtin numeric
  3. numeric real
  4. numeric ceil

検索結果

Complex#rect -> [Numeric, Numeric] (55018.0)

実部と虚部を配列にして返します。

...実部と虚部を配列にして返します。

//emlist[例][ruby]{
Complex
(3).rect # => [3, 0]
Complex
(3.5).rect # => [3.5, 0]
Complex
(3, 2).rect # => [3, 2]
//}

@see Numeric#rect...

Complex#rectangular -> [Numeric, Numeric] (19018.0)

実部と虚部を配列にして返します。

...実部と虚部を配列にして返します。

//emlist[例][ruby]{
Complex
(3).rect # => [3, 0]
Complex
(3.5).rect # => [3.5, 0]
Complex
(3, 2).rect # => [3, 2]
//}

@see Numeric#rect...