22件ヒット
[1-22件を表示]
(0.043秒)
検索結果
-
Matrix
# lup _ decomposition -> Matrix :: LUPDecomposition (15202.0) -
行列の LUP 分解を保持したオブジェクトを返します。
...します。
//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
# lup -> Matrix :: LUPDecomposition (102.0) -
行列の LUP 分解を保持したオブジェクトを返します。
...します。
//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...