るりまサーチ (Ruby 2.7.0)

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

別のキーワード

  1. _builtin min
  2. enumerable min_by
  3. enumerable min
  4. _builtin min_by
  5. range min

ライブラリ

クラス

検索結果

Matrix#determinant -> Numeric (54655.0)

行列式 (determinant) の値を返します。

行列式 (determinant) の値を返します。

Float を使用すると、精度が不足するため、誤った結果が生じる可能性があることに注意してください。
代わりに、Rational や BigDecimal などの正確なオブジェクトを使用することを検討してください。

@raise ExceptionForMatrix::ErrDimensionMismatch 正方行列でない場合に発生します

//emlist[例][ruby]{
require 'matrix'

p Matrix[[2, 1], [-1, 2]].det #=> 5
p Matrix[[2.0, 1...

Matrix::LUPDecomposition#determinant -> Numeric (54625.0)

元の行列の行列式の値を返します。 LUP 分解の結果を利用して計算します。

元の行列の行列式の値を返します。
LUP 分解の結果を利用して計算します。

@see Matrix#determinant

Matrix#determinant_e -> Rational | Float (18655.0)

このメソッドは deprecated です。 Matrix#determinant を代わりに使ってください。

このメソッドは deprecated です。
Matrix#determinant を代わりに使ってください。