るりまサーチ

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

別のキーワード

  1. matrix l
  2. kernel $-l
  3. _builtin $-l
  4. lupdecomposition l
  5. l

キーワード

検索結果

<< 1 2 3 ... > >>

Matrix#tr -> Integer | Float | Rational | Complex (21204.0)

トレース (trace) を返します。

...トレース (trace) を返します。

行列のトレース (trace) とは、対角要素の和です。

//emlist[例][ruby]{
require 'matrix'
Matrix
[[7,6], [3,9]].trace # => 16
//}

tr
ace は正方行列でのみ定義されます。

@raise ExceptionForMatrix::ErrDimensionMismatch 行列が...

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

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

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

Matrix#lower_triangular? -> bool (15203.0)

行列が下三角行列ならば true を返します。

...行列が下三角行列ならば true を返します。...

Matrix#upper_triangular? -> bool (15203.0)

行列が上三角行列ならば true を返します。

...行列が上三角行列ならば true を返します。...

Matrix::EigenvalueDecomposition#eigenvalue_matrix -> Matrix (12303.0)

固有値を対角成分に並べた行列を返します。

固有値を対角成分に並べた行列を返します。

絞り込み条件を変える

Matrix::EigenvalueDecomposition#eigenvector_matrix -> Matrix (12203.0)

右固有ベクトルを横に並べた行列を返します。

右固有ベクトルを横に並べた行列を返します。

Matrix::EigenvalueDecomposition#eigenvector_matrix_inv -> Matrix (12203.0)

左固有ベクトルを縦に並べた行列を返します。

...左固有ベクトルを縦に並べた行列を返します。

これは Matrix::EigenvalueDecomposition#v の逆行列です...

Matrix::EigenvalueDecomposition#eigenvalues -> [Float] (12103.0)

固有値を配列で返します。

固有値を配列で返します。

Matrix#lup -> Matrix::LUPDecomposition (9333.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.permutation? # => true
l
* u == p * a # => true
a.lup.solve([2, 5]) # => Vector[(1/1), (1/2)]
//}

@see Matrix::LUPDecomposition...
<< 1 2 3 ... > >>