るりまサーチ

最速Rubyリファレンスマニュアル検索!
24件ヒット [1-24件を表示] (0.027秒)

別のキーワード

  1. lupdecomposition solve
  2. matrix solve
  3. solve matrix
  4. solve matrix::lupdecomposition
  5. solve vector

ライブラリ

クラス

検索結果

Matrix#lup_decomposition -> Matrix::LUPDecomposition (15114.0)

行列の LUP 分解を保持したオブジェクトを返します。

...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...

Matrix#lup -> Matrix::LUPDecomposition (14.0)

行列の LUP 分解を保持したオブジェクトを返します。

...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...