132件ヒット
[101-132件を表示]
(0.052秒)
別のキーワード
ライブラリ
- matrix (132)
キーワード
-
cofactor
_ expansion (12) - component (12)
- conj (12)
- conjugate (12)
- eigen (12)
- eigensystem (12)
-
laplace
_ expansion (12) - lup (12)
-
lup
_ decomposition (12) - tr (12)
- trace (12)
検索結果
先頭3件
-
Matrix
# lup -> Matrix :: LUPDecomposition (120.0) -
行列の LUP 分解を保持したオブジェクトを返します。
...
Matrix::LUPDecomposition は to_ary を定義しているため、
多重代入によって3つの行列(下三角行列、上三角行列、置換行列)
を得ることができます。これを [L, U, P] と書くと、
L*U = P*self を満たします。
//emlist[例][ruby]{
require 'matrix'......a = Matrix[[1, 2], [3, 4]]
l, u, p = a.lup
l.lower_triangular? # => true
u.upper_triangular? # => true
p.permutation? # => true
l * u == p * a # => true
a.lup.solve([2, 5]) # => Vector[(1/1), (1/2)]
//}
@see Matrix::LUPDecomposition... -
Matrix
# tr -> Integer | Float | Rational | Complex (120.0) -
トレース (trace) を返します。
...列のトレース (trace) とは、対角要素の和です。
//emlist[例][ruby]{
require 'matrix'
Matrix[[7,6], [3,9]].trace # => 16
//}
trace は正方行列でのみ定義されます。
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が正方行列でない場合に発生します... -
Matrix
# trace -> Integer | Float | Rational | Complex (120.0) -
トレース (trace) を返します。
...列のトレース (trace) とは、対角要素の和です。
//emlist[例][ruby]{
require 'matrix'
Matrix[[7,6], [3,9]].trace # => 16
//}
trace は正方行列でのみ定義されます。
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が正方行列でない場合に発生します...