るりまサーチ (Ruby 2.3.0)

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

別のキーワード

  1. lupdecomposition l
  2. lupdecomposition p
  3. lupdecomposition u
  4. lupdecomposition solve
  5. lupdecomposition to_a

ライブラリ

クラス

キーワード

検索結果

Matrix#lup -> Matrix::LUPDecomposition (73723.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....

Matrix::LUPDecomposition#l -> Matrix (72352.0)

LUP分解の下半行列部分を返します。

LUP分解の下半行列部分を返します。

Matrix::LUPDecomposition (54067.0)

行列のLUP分解の情報を保持するクラスです。

行列のLUP分解の情報を保持するクラスです。

Matrix#lup_decomposition の返り値のクラスです。

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

Matrix::LUPDecomposition#solve(b) -> Vector | Matrix (36439.0)

self が正方行列 A の LUP 分解の時、一次方程式 Ax = b の解を返します。 b には Vector, Matrix, 数値の配列を指定出来ます。

self が正方行列 A の LUP 分解の時、一次方程式 Ax = b の解を返します。
b には Vector, Matrix, 数値の配列を指定出来ます。

それぞれベクトルのサイズ、行列の行数、配列のサイズが A の列数と一致していなければなりません。
返り値は b が行列なら行列、それ以外はベクトルになります。

@param b 一次方程式の定数項を指定します。

//emlist[][ruby]{
require 'matrix'

lup = Matrix[[2, 1], [1, 2]].lup

lup.solve([1, -1]) #=> ...

絞り込み条件を変える

Matrix::LUPDecomposition#singular? -> bool (36349.0)

元の行列が正方で特異なら true を、正則なら false を返します。 LUP 分解の結果を利用して判定します。

元の行列が正方で特異なら true を、正則なら false を返します。
LUP 分解の結果を利用して判定します。

@see Matrix#singular?

Matrix::LUPDecomposition#det -> Numeric (27049.0)

元の行列の行列式の値を返します。 LUP 分解の結果を利用して計算します。

元の行列の行列式の値を返します。
LUP 分解の結果を利用して計算します。

@see Matrix#determinant

Matrix::LUPDecomposition#determinant -> Numeric (27049.0)

元の行列の行列式の値を返します。 LUP 分解の結果を利用して計算します。

元の行列の行列式の値を返します。
LUP 分解の結果を利用して計算します。

@see Matrix#determinant

Matrix::LUPDecomposition#p -> Matrix (27049.0)

LUP分解の置換行列部分を返します。

LUP分解の置換行列部分を返します。

Matrix::LUPDecomposition#u -> Matrix (27049.0)

LUP分解の上半行列部分を返します。

LUP分解の上半行列部分を返します。

絞り込み条件を変える

Matrix::LUPDecomposition#pivots -> [Integer] (27001.0)

ピボッティングを表す配列を返します。

ピボッティングを表す配列を返します。

Matrix::LUPDecomposition#to_a -> [Matrix, Matrix, Matrix] (27001.0)

分解した行列を [下半行列, 上半行列, 置換行列] という3要素の配列で 返します。

分解した行列を [下半行列, 上半行列, 置換行列] という3要素の配列で
返します。

Matrix::LUPDecomposition#to_ary -> [Matrix, Matrix, Matrix] (27001.0)

分解した行列を [下半行列, 上半行列, 置換行列] という3要素の配列で 返します。

分解した行列を [下半行列, 上半行列, 置換行列] という3要素の配列で
返します。