33件ヒット
[1-33件を表示]
(0.080秒)
クラス
- Matrix (22)
-
Matrix
:: LUPDecomposition (11)
キーワード
- determinant (22)
-
determinant
_ e (11)
検索結果
先頭3件
-
Matrix
# determinant -> Numeric (9202.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.0], [-1.0, 2.0]].det #=> 5.0
//}... -
Matrix
# determinant _ e -> Rational | Float (9202.0) -
このメソッドは deprecated です。 Matrix#determinant を代わりに使ってください。
...このメソッドは deprecated です。
Matrix#determinant を代わりに使ってください。... -
Matrix
:: LUPDecomposition # determinant -> Numeric (9202.0) -
元の行列の行列式の値を返します。 LUP 分解の結果を利用して計算します。
...元の行列の行列式の値を返します。
LUP 分解の結果を利用して計算します。
@see Matrix#determinant...