るりまサーチ (Ruby 2.4.0)

最速Rubyリファレンスマニュアル検索!
4件ヒット [1-4件を表示] (0.024秒)
トップページ > クエリ:Numeric[x] > バージョン:2.4.0[x] > クエリ:determinant[x]

別のキーワード

  1. numeric step
  2. _builtin numeric
  3. numeric denominator
  4. numeric to_int
  5. numeric remainder

ライブラリ

クラス

検索結果

Matrix#determinant -> Numeric (45658.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 (45628.0)

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

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

@see Matrix#determinant

Matrix#det -> Numeric (358.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#det -> Numeric (328.0)

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

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

@see Matrix#determinant