るりまサーチ

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

別のキーワード

  1. vector *
  2. vector []
  3. vector map
  4. vector each
  5. vector each2

ライブラリ

キーワード

検索結果

<< < ... 7 8 9 >>

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

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

...します。

//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 (7.0)

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

...します。

//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#*(other) -> Matrix (4.0)

self の各成分に数 other を掛けた行列を返します。

self の各成分に数 other を掛けた行列を返します。

@param other self の各成分に掛ける Numeric オブジェクトを指定します。
<< < ... 7 8 9 >>