132件ヒット
[101-132件を表示]
(0.077秒)
別のキーワード
クラス
- Array (96)
- Enumerator (12)
- Matrix (24)
キーワード
- combination (24)
- lup (12)
-
lup
_ decomposition (12) -
repeated
_ combination (24) -
repeated
_ permutation (24) - size (12)
検索結果
先頭3件
-
Enumerator
# size -> Integer | Float :: INFINITY | nil (35.0) -
self の要素数を返します。
...
self の要素数を返します。
要素数が無限の場合は Float::INFINITY を返します。
Enumerator.new に Proc オブジェクトを指定していた場合はその
実行結果を返します。呼び出した時に要素数が不明であった場合は nil を返し
ます。
/....../emlist[例][ruby]{
(1..100).to_a.permutation(4).size # => 94109400
loop.size # => Float::INFINITY
(1..100).drop_while.size # => nil
//}
@see Enumerator.new... -
Matrix
# lup -> Matrix :: LUPDecomposition (25.0) -
行列の LUP 分解を保持したオブジェクトを返します。
...できます。これを [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(... -
Matrix
# lup _ decomposition -> Matrix :: LUPDecomposition (25.0) -
行列の LUP 分解を保持したオブジェクトを返します。
...できます。これを [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(...