るりまサーチ (Ruby 2.5.0)

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

別のキーワード

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

ライブラリ

検索結果

Complex#rectangular -> [Numeric, Numeric] (72364.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#rect -> [Numeric, Numeric] (27064.0)

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

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

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

@see Numeric#rect...