33件ヒット
[1-33件を表示]
(0.011秒)
クラス
- Matrix (33)
キーワード
- det (11)
- determinant (11)
- rank (11)
検索結果
-
Matrix
# det -> Numeric (8.0) -
行列式 (determinant) の値を返します。
...nal や BigDecimal などの正確なオブジェクトを使用することを検討してください。
@raise ExceptionForMatrix::ErrDimensionMismatch 正方行列でない場合に発生します
//emlist[例][ruby]{
require 'matrix'
p Matrix[[2, 1], [-1, 2]].det #=> 5
p Matrix[[2.0,... -
Matrix
# determinant -> Numeric (8.0) -
行列式 (determinant) の値を返します。
...nal や BigDecimal などの正確なオブジェクトを使用することを検討してください。
@raise ExceptionForMatrix::ErrDimensionMismatch 正方行列でない場合に発生します
//emlist[例][ruby]{
require 'matrix'
p Matrix[[2, 1], [-1, 2]].det #=> 5
p Matrix[[2.0,... -
Matrix
# rank -> Integer (8.0) -
階数 (rank) を返します。
...め、誤った結果が生じる可能性があることに注意してください。
代わりに、Rational や BigDecimal などの正確なオブジェクトを使用することを検討してください。
//emlist[][ruby]{
require 'matrix'
m = Matrix[[2, 6], [1, 3]]
m.rank # => 1
//}...