るりまサーチ

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

別のキーワード

  1. matrix determinant
  2. matrix determinant_e
  3. lupdecomposition determinant
  4. determinant matrix
  5. determinant_e matrix

クラス

キーワード

検索結果

Matrix#determinant -> Numeric (15119.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::LUPDecomposition#determinant -> Numeric (15109.0)

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

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

@see Matrix#determinant...

Matrix#determinant_e -> Rational | Float (3119.0)

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

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

Matrix#det -> Numeric (19.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#det_e -> Rational | Float (19.0)

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

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

絞り込み条件を変える

Matrix::LUPDecomposition#det -> Numeric (9.0)

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

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

@see Matrix#determinant...

Matrix#cofactor_expansion(row: nil, column: nil) -> object | Integer | Rational | Float (8.0)

row 行、もしくは column 列に関するラプラス展開をする。

...けです。かわりにMatrix#determinant
利用すべきです。

変則的な形状の行列に対してはそれ以上の意味を持ちます。例えば
row行/column列が行列やベクトルである場合には

//emlist[例][ruby]{
require 'matrix'
# Matrix[[7,6], [3,9]].laplace_expa...
...=> 45
Matrix
[[Vector[1, 0], Vector[0, 1]], [2, 3]].laplace_expansion(row: 0) # => Vector[3, -2]
//}

@param row 行
@param column 列
@raise ArgumentError row と column を両方指定した、もしくは両方とも指定していない、場合に発生します
@raise ExceptionForMatrix::ErrD...
...imensionMismatch 行列が正方でない場合に発生します
@see Matrix#cofactor...

Matrix#laplace_expansion(row: nil, column: nil) -> object | Integer | Rational | Float (8.0)

row 行、もしくは column 列に関するラプラス展開をする。

...けです。かわりにMatrix#determinant
利用すべきです。

変則的な形状の行列に対してはそれ以上の意味を持ちます。例えば
row行/column列が行列やベクトルである場合には

//emlist[例][ruby]{
require 'matrix'
# Matrix[[7,6], [3,9]].laplace_expa...
...=> 45
Matrix
[[Vector[1, 0], Vector[0, 1]], [2, 3]].laplace_expansion(row: 0) # => Vector[3, -2]
//}

@param row 行
@param column 列
@raise ArgumentError row と column を両方指定した、もしくは両方とも指定していない、場合に発生します
@raise ExceptionForMatrix::ErrD...
...imensionMismatch 行列が正方でない場合に発生します
@see Matrix#cofactor...