88件ヒット
[1-88件を表示]
(0.083秒)
クラス
- Matrix (55)
-
Matrix
:: LUPDecomposition (11) - Vector (22)
キーワード
- determinant (22)
-
determinant
_ e (11) - hermitian? (11)
- norm (11)
- normal? (11)
- normalize (11)
- permutation? (11)
検索結果
先頭5件
-
Matrix
# hermitian? -> bool (12203.0) -
行列がエルミートならば true を返します。
...行列がエルミートならば true を返します。
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が正方行列でない場合に発生します... -
Matrix
# normal? -> bool (12203.0) -
行列が正規行列ならば true を返します。
...行列が正規行列ならば true を返します。
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が正方行列でない場合に発生します... -
Matrix
# permutation? -> bool (12203.0) -
行列が置換行列ならば true を返します。
...行列が置換行列ならば true を返します。
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が正方行列でない場合に発生します... -
Vector
# normalize -> Vector (12203.0) -
自身を Vector#norm で正規化したベクトルを返します。
...Vector#norm で正規化したベクトルを返します。
@raise Vector::ZeroVectorError ベクトルが0である場合に発生します。
//emlist[例][ruby]{
require 'matrix'
v = Vector[2, 6, 9].normalize
# => Vector[0.18181818181818182, 0.5454545454545454, 0.8181818181818182]
v.norm # =>......1.0
//}
@see Vector#norm... -
Matrix
:: LUPDecomposition # determinant -> Numeric (9203.0) -
元の行列の行列式の値を返します。 LUP 分解の結果を利用して計算します。
...元の行列の行列式の値を返します。
LUP 分解の結果を利用して計算します。
@see Matrix#determinant... -
Vector
# norm -> Float (9203.0) -
ベクトルの大きさ(ノルム)を返します。
...ベクトルの大きさ(ノルム)を返します。
//emlist[例][ruby]{
require 'matrix'
Vector[3, 4].norm # => 5.0
Vector[Complex(0, 1), 0].norm # => 1.0
//}
@see Vector#normalize... -
Matrix
# determinant _ e -> Rational | Float (6303.0) -
このメソッドは deprecated です。 Matrix#determinant を代わりに使ってください。
...このメソッドは deprecated です。
Matrix#determinant を代わりに使ってください。... -
Matrix
# determinant -> Numeric (6203.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
//}...