923件ヒット
[1-100件を表示]
(0.075秒)
クラス
- Matrix (703)
-
Matrix
:: EigenvalueDecomposition (110) -
Matrix
:: LUPDecomposition (110)
キーワード
- +@ (11)
- == (11)
- []= (6)
- antisymmetric? (6)
- clone (5)
- cofactor (11)
-
cofactor
_ expansion (11) - collect (22)
- collect! (12)
- column (22)
-
column
_ count (11) -
column
_ size (11) -
column
_ vectors (11) - combine (7)
- d (11)
- det (11)
-
det
_ e (11) - determinant (11)
-
determinant
_ e (11) - diagonal? (11)
- each (22)
-
each
_ with _ index (22) - eigen (11)
- eigensystem (11)
-
eigenvalue
_ matrix (11) - eigenvalues (11)
-
eigenvector
_ matrix (11) -
eigenvector
_ matrix _ inv (11) - eigenvectors (11)
- element (11)
-
elements
_ to _ f (11) -
elements
_ to _ i (11) -
elements
_ to _ r (11) - empty? (11)
- eql? (11)
-
find
_ index (33) -
first
_ minor (11) - hermitian? (11)
- index (33)
-
laplace
_ expansion (11) -
lower
_ triangular? (11) - lup (11)
-
lup
_ decomposition (11) - map (22)
- map! (12)
- minor (22)
- normal? (11)
- orthogonal? (11)
- p (11)
- permutation? (11)
- pivots (11)
- real (11)
- real? (11)
- rectangular (11)
- regular? (11)
- row (22)
- singular? (22)
-
skew
_ symmetric? (6) - solve (11)
- square? (11)
- symmetric? (11)
-
to
_ a (22) -
to
_ ary (22) - trace (11)
- u (11)
- unitary? (11)
-
upper
_ triangular? (11) - v (11)
-
v
_ inv (11) - zero? (11)
検索結果
先頭5件
-
Matrix
# tr -> Integer | Float | Rational | Complex (38216.0) -
トレース (trace) を返します。
...トレース (trace) を返します。
行列のトレース (trace) とは、対角要素の和です。
//emlist[例][ruby]{
require 'matrix'
Matrix[[7,6], [3,9]].trace # => 16
//}
trace は正方行列でのみ定義されます。
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が... -
Matrix
:: LUPDecomposition # l -> Matrix (32305.0) -
LUP分解の下半行列部分を返します。
...LUP分解の下半行列部分を返します。... -
Matrix
# lower _ triangular? -> bool (32203.0) -
行列が下三角行列ならば true を返します。
...行列が下三角行列ならば true を返します。... -
Matrix
# upper _ triangular? -> bool (32203.0) -
行列が上三角行列ならば true を返します。
...行列が上三角行列ならば true を返します。... -
Matrix
:: EigenvalueDecomposition # eigenvector _ matrix _ inv -> Matrix (29412.0) -
左固有ベクトルを縦に並べた行列を返します。
...左固有ベクトルを縦に並べた行列を返します。
これは Matrix::EigenvalueDecomposition#v の逆行列です... -
Matrix
:: EigenvalueDecomposition # eigenvector _ matrix -> Matrix (29406.0) -
右固有ベクトルを横に並べた行列を返します。
右固有ベクトルを横に並べた行列を返します。 -
Matrix
:: EigenvalueDecomposition # eigenvalue _ matrix -> Matrix (26506.0) -
固有値を対角成分に並べた行列を返します。
固有値を対角成分に並べた行列を返します。 -
Matrix
# lup -> Matrix :: LUPDecomposition (26459.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... -
Matrix
# lup _ decomposition -> Matrix :: LUPDecomposition (26459.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... -
Matrix
# collect(which = :all) {|x| . . . } -> Matrix (26447.0) -
行列の各要素に対してブロックの適用を繰り返した結果を、要素として持つ行列を生成します。
...下の Symbol を指定することで、
引数として使われる要素を限定できます。
デフォルトは、:all (全ての要素)です。
指定できる Symbol の詳細は、 Matrix#each の項目を参照して下さい。
//emlist[例][ru......by]{
require 'matrix'
m = Matrix[[1, 2], [3, 4]]
p m.map { |x| x + 100 } # => Matrix[[101, 102], [103, 104]]
p m.map(:diagonal) { |x| x * 10 } # => Matrix[[10, 2], [3, 40]]
//}
@see Matrix#each, Matrix#map!...