143件ヒット
[1-100件を表示]
(0.055秒)
別のキーワード
ライブラリ
- matrix (132)
クラス
- Matrix (22)
-
Matrix
:: LUPDecomposition (110)
モジュール
キーワード
- det (11)
- determinant (11)
-
install
_ update _ defaults _ str (11) - l (11)
-
lup
_ decomposition (11) - p (11)
- pivots (11)
- singular? (11)
- solve (11)
-
to
_ a (11) -
to
_ ary (11) - u (11)
検索結果
先頭5件
-
Matrix
# lup -> Matrix :: LUPDecomposition (18430.0) -
行列の LUP 分解を保持したオブジェクトを返します。
...行列の LUP 分解を保持したオブジェクトを返します。
Matrix::LUPDecomposition は to_ary を定義しているため、
多重代入によって3つの行列(下三角行列、上三角行列、置換行列)
を得ることができます。これを [L, U, P] と書くと、
L*U......します。
//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 (9530.0) -
行列の LUP 分解を保持したオブジェクトを返します。
...行列の LUP 分解を保持したオブジェクトを返します。
Matrix::LUPDecomposition は to_ary を定義しているため、
多重代入によって3つの行列(下三角行列、上三角行列、置換行列)
を得ることができます。これを [L, U, P] と書くと、
L*U......します。
//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
:: LUPDecomposition # solve(b) -> Vector | Matrix (6152.0) -
self が正方行列 A の LUP 分解の時、一次方程式 Ax = b の解を返します。 b には Vector, Matrix, 数値の配列を指定出来ます。
...self が正方行列 A の LUP 分解の時、一次方程式 Ax = b の解を返します。
b には Vector, Matrix, 数値の配列を指定出来ます。
それぞれベクトルのサイズ、行列の行数、配列のサイズが A の列数と一致していなければなりません。......指定します。
//emlist[][ruby]{
require 'matrix'
lup = Matrix[[2, 1], [1, 2]].lup
lup.solve([1, -1]) #=> Vector[(1/1), (-1/1)]
lup.solve(Vector[3, 0]) #=> Vector[(2/1), (-1/1)]
lup.solve(Matrix[[1, 3], [-1, 0]]) #=> Matrix[[(1/1), (2/1)], [(-1/1), (-1/1)]]
//}... -
Matrix
:: LUPDecomposition # det -> Numeric (6116.0) -
元の行列の行列式の値を返します。 LUP 分解の結果を利用して計算します。
...元の行列の行列式の値を返します。
LUP 分解の結果を利用して計算します。
@see Matrix#determinant... -
Matrix
:: LUPDecomposition # determinant -> Numeric (6116.0) -
元の行列の行列式の値を返します。 LUP 分解の結果を利用して計算します。
...元の行列の行列式の値を返します。
LUP 分解の結果を利用して計算します。
@see Matrix#determinant... -
Matrix
:: LUPDecomposition # l -> Matrix (6116.0) -
LUP分解の下半行列部分を返します。
...LUP分解の下半行列部分を返します。... -
Matrix
:: LUPDecomposition # p -> Matrix (6116.0) -
LUP分解の置換行列部分を返します。
...LUP分解の置換行列部分を返します。... -
Matrix
:: LUPDecomposition # singular? -> bool (6116.0) -
元の行列が正方で特異なら true を、正則なら false を返します。 LUP 分解の結果を利用して判定します。
...元の行列が正方で特異なら true を、正則なら false を返します。
LUP 分解の結果を利用して判定します。
@see Matrix#singular?... -
Matrix
:: LUPDecomposition # u -> Matrix (6116.0) -
LUP分解の上半行列部分を返します。
...LUP分解の上半行列部分を返します。... -
Gem
:: InstallUpdateOptions # install _ update _ defaults _ str -> String (6112.0) -
Gem コマンドの install サブコマンドに渡されるデフォルトのオプションを返します。
...Gem コマンドの install サブコマンドに渡されるデフォルトのオプションを返します。
デフォルトのオプションは以下の通りです。
--rdoc --no-force --no-test --wrappers...