るりまサーチ

最速Rubyリファレンスマニュアル検索!
34件ヒット [1-34件を表示] (0.034秒)
トップページ > クエリ:tr[x] > クエリ:rectangular[x]

別のキーワード

  1. matrix tr
  2. string tr
  3. _builtin tr
  4. string tr!
  5. string tr_s

ライブラリ

クラス

モジュール

キーワード

検索結果

Matrix#rectangular -> [Matrix, Matrix] (18301.0)

行列を実部と虚部に分解したものを返します。

...行列を実部と虚部に分解したものを返します。


//emlist[例][ruby]{
m.rect == [m.real, m.imag] # ==> true for all matrices m
//}

@see Matrix#imaginary, Matrix#real...

Matrix#rect -> [Matrix, Matrix] (3201.0)

行列を実部と虚部に分解したものを返します。

...行列を実部と虚部に分解したものを返します。


//emlist[例][ruby]{
m.rect == [m.real, m.imag] # ==> true for all matrices m
//}

@see Matrix#imaginary, Matrix#real...

Kernel.#Complex(r, i = 0, exception: true) -> Complex | nil (106.0)

実部が r、虚部が i である Complex クラスのオブジェクトを生成します。

...ェクトを返しま
す。

//emlist[例][ruby]{
Complex('1+1i', '2+3i') # => (-2+3i)
Complex('1+1i') + Complex('2+3i') * Complex('i') # => (-2+3i)
//}

@see Complex.rect、Complex.rectangular

[注意] Complex.new、Complex.new! は 1.9 系では廃止されました。...

Kernel.#Complex(s, exception: true) -> Complex | nil (106.0)

実部が r、虚部が i である Complex クラスのオブジェクトを生成します。

...ェクトを返しま
す。

//emlist[例][ruby]{
Complex('1+1i', '2+3i') # => (-2+3i)
Complex('1+1i') + Complex('2+3i') * Complex('i') # => (-2+3i)
//}

@see Complex.rect、Complex.rectangular

[注意] Complex.new、Complex.new! は 1.9 系では廃止されました。...