るりまサーチ

最速Rubyリファレンスマニュアル検索!
33件ヒット [1-33件を表示] (0.080秒)
トップページ > クエリ:l[x] > クエリ:>[x] > クエリ:upper_triangular?[x]

別のキーワード

  1. matrix upper_triangular?
  2. prime upper_bound
  3. prime upper_bound=
  4. pseudoprimegenerator upper_bound
  5. pseudoprimegenerator upper_bound=

ライブラリ

クラス

キーワード

検索結果

Matrix#upper_triangular? -> bool (24301.0)

行列が上三角行列ならば true を返します。

行列が上三角行列ならば true を返します。

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

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

... 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#lup_decomposition -> Matrix::LUPDecomposition (6336.0)

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

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