るりまサーチ (Ruby 3.1)

最速Rubyリファレンスマニュアル検索!
2件ヒット [1-2件を表示] (0.020秒)
トップページ > クエリ:on[x] > ライブラリ:matrix[x] > バージョン:3.1[x] > クエリ:conj[x]

別のキーワード

  1. optparse on
  2. optionparser on
  3. tracer on
  4. thread abort_on_exception=
  5. thread abort_on_exception

クラス

検索結果

Matrix#conj -> Matrix (72610.0)

複素共役を取った行列を返します。

...複素共役を取った行列を返します。

//emlist[例][ruby]{
require 'matrix'
Matrix
[[Complex(1,2), Complex(0,1), 0], [1, 2, 3]]
# => 1+2i i 0
# 1 2 3
Matrix
[[Complex(1,2), Complex(0,1), 0], [1, 2, 3]].conjugate
# => 1-2i -i 0
# 1 2 3
//}...

Matrix#conjugate -> Matrix (36610.0)

複素共役を取った行列を返します。

...複素共役を取った行列を返します。

//emlist[例][ruby]{
require 'matrix'
Matrix
[[Complex(1,2), Complex(0,1), 0], [1, 2, 3]]
# => 1+2i i 0
# 1 2 3
Matrix
[[Complex(1,2), Complex(0,1), 0], [1, 2, 3]].conjugate
# => 1-2i -i 0
# 1 2 3
//}...