るりまサーチ

最速Rubyリファレンスマニュアル検索!
176件ヒット [1-100件を表示] (0.049秒)
トップページ > クエリ:IO[x] > クエリ:p[x] > クエリ:lup[x]

別のキーワード

  1. io popen
  2. io pipe
  3. io each
  4. io readlines
  5. io each_line

ライブラリ

クラス

モジュール

検索結果

<< 1 2 > >>

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

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

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

Matrix::LUPDecomposition は to_ary を定義しているため、
多重代入によって3つの行列(下三角行列、上三角行列、置換行列)
を得ることができます。これを [L, U, P] と書くと、
L*U = P*s...
...します。

//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#p -> Matrix (24117.0)

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

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

Gem::InstallUpdateOptions#add_install_update_options (21200.0)

インストールとアップデートに関するオプションを追加します。

インストールとアップデートに関するオプションを追加します。

Matrix::LUPDecomposition (18022.0)

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

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

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

Gem::InstallUpdateOptions (18000.0)

Gem::Command で使用するインストールとアップデートに関するオプションを 扱うためのモジュールです。

Gem::Command で使用するインストールとアップデートに関するオプションを
扱うためのモジュールです。

絞り込み条件を変える

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

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

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

Matrix::LUPDecomposition は to_ary を定義しているため、
多重代入によって3つの行列(下三角行列、上三角行列、置換行列)
を得ることができます。これを [L, U, P] と書くと、
L*U = P*s...
...します。

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

Gem::InstallUpdateOptions#install_update_defaults_str -> String (15100.0)

Gem コマンドの install サブコマンドに渡されるデフォルトのオプションを返します。

...Gem コマンドの install サブコマンドに渡されるデフォルトのオプションを返します。

デフォルトのオプションは以下の通りです。
--rdoc --no-force --no-test --wrappers...

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

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

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

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

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

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

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

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

//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], [-...

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

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

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

@see Matrix#determinant...

絞り込み条件を変える

<< 1 2 > >>