737件ヒット
[201-300件を表示]
(0.064秒)
種類
- インスタンスメソッド (575)
- 特異メソッド (72)
- クラス (48)
- 文書 (42)
ライブラリ
- matrix (695)
クラス
- Matrix (292)
-
Matrix
:: EigenvalueDecomposition (120) -
Matrix
:: LUPDecomposition (120) - Vector (115)
キーワード
- EigenvalueDecomposition (12)
- ErrDimensionMismatch (12)
- ErrOperationNotDefined (12)
- LUPDecomposition (12)
-
NEWS for Ruby 2
. 2 . 0 (11) -
NEWS for Ruby 2
. 5 . 0 (8) -
NEWS for Ruby 2
. 6 . 0 (7) -
NEWS for Ruby 3
. 1 . 0 (4) - Ruby用語集 (12)
- []= (7)
- adjugate (12)
- basis (12)
- build (24)
-
cross
_ product (12) - det (24)
-
det
_ e (12) - determinant (24)
-
determinant
_ e (12) - diagonal (12)
- diagonal? (12)
- dot (12)
-
each
_ with _ index (24) - eigen (12)
- eigensystem (12)
-
eigenvalue
_ matrix (12) - eigenvalues (12)
-
eigenvector
_ matrix (12) -
eigenvector
_ matrix _ inv (12) - eigenvectors (12)
-
entrywise
_ product (8) -
find
_ index (36) -
hadamard
_ product (8) - identity (12)
- independent? (24)
- index (36)
-
inner
_ product (12) - l (12)
- lup (12)
-
lup
_ decomposition (12) - magnitude (12)
- norm (12)
- p (12)
- pivots (12)
- r (12)
- round (12)
- singular? (12)
- solve (12)
-
to
_ a (24) -
to
_ ary (24) - u (12)
- v (12)
-
v
_ inv (12)
検索結果
先頭5件
-
Matrix
# determinant -> Numeric (23118.0) -
行列式 (determinant) の値を返します。
...行列式 (determinant) の値を返します。
Float を使用すると、精度が不足するため、誤った結果が生じる可能性があることに注意してください。
代わりに、Rational や BigDecimal などの正確なオブジェクトを使用することを検討し......てください。
@raise ExceptionForMatrix::ErrDimensionMismatch 正方行列でない場合に発生します
//emlist[例][ruby]{
require 'matrix'
p Matrix[[2, 1], [-1, 2]].det #=> 5
p Matrix[[2.0, 1.0], [-1.0, 2.0]].det #=> 5.0
//}... -
Matrix
# det _ e -> Rational | Float (23116.0) -
このメソッドは deprecated です。 Matrix#determinant を代わりに使ってください。
...このメソッドは deprecated です。
Matrix#determinant を代わりに使ってください。... -
Matrix
# determinant _ e -> Rational | Float (23116.0) -
このメソッドは deprecated です。 Matrix#determinant を代わりに使ってください。
...このメソッドは deprecated です。
Matrix#determinant を代わりに使ってください。... -
Matrix
# diagonal? -> bool (23100.0) -
行列が対角行列ならば true を返します。
...行列が対角行列ならば true を返します。
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が正方行列でない場合に発生します... -
Matrix
# lup _ decomposition -> Matrix :: LUPDecomposition (20326.0) -
行列の 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... -
Matrix
:: EigenvalueDecomposition # eigenvector _ matrix _ inv -> Matrix (20209.0) -
左固有ベクトルを縦に並べた行列を返します。
...左固有ベクトルを縦に並べた行列を返します。
これは Matrix::EigenvalueDecomposition#v の逆行列です... -
Vector
# independent?(*vectors) -> bool (20206.0) -
self とベクトルの列 vectors が線形独立であれば true を返します。
...self とベクトルの列 vectors が線形独立であれば true を返します。
require 'matrix'
Vector.independent?(self, *vectors)
と同じです。
@param vectors 線形独立性を判定するベクトル列... -
Matrix
. identity(n) -> Matrix (20203.0) -
n次の単位行列を生成します。
n次の単位行列を生成します。
@param n 単位行列の次元
単位行列とは、対角要素が全て1で非対角要素が全て0であるような行列のことです。 -
Matrix
:: EigenvalueDecomposition # eigenvector _ matrix -> Matrix (20203.0) -
右固有ベクトルを横に並べた行列を返します。
右固有ベクトルを横に並べた行列を返します。