るりまサーチ

最速Rubyリファレンスマニュアル検索!
24件ヒット [1-24件を表示] (0.067秒)

別のキーワード

  1. ripper/lexer lex
  2. lexer lex
  3. ripper lex
  4. irb irb/ruby-lex
  5. lex

ライブラリ

クラス

検索結果

Complex#rect -> [Numeric, Numeric] (21126.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] (9126.0)

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

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

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

@see Numeric#rect...