るりまサーチ

最速Rubyリファレンスマニュアル検索!
22件ヒット [1-22件を表示] (0.028秒)
トップページ > クエリ:Complex[x] > クエリ:tr[x] > ライブラリ:matrix[x] > クエリ:trace[x]

別のキーワード

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

クラス

検索結果

Matrix#trace -> Integer | Float | Rational | Complex (24340.0)

トレース (trace) を返します。

...トレース (trace) を返します。

行列のトレース (trace) とは、対角要素の和です。

//emlist[例][ruby]{
require 'matrix'
Matrix
[[7,6], [3,9]].trace # => 16
//}

trace
は正方行列でのみ定義されます。

@raise ExceptionForMatrix::ErrDimensionMismatch 行列が...

Matrix#tr -> Integer | Float | Rational | Complex (21240.0)

トレース (trace) を返します。

...トレース (trace) を返します。

行列のトレース (trace) とは、対角要素の和です。

//emlist[例][ruby]{
require 'matrix'
Matrix
[[7,6], [3,9]].trace # => 16
//}

trace
は正方行列でのみ定義されます。

@raise ExceptionForMatrix::ErrDimensionMismatch 行列が...