2109件ヒット
[1-100件を表示]
(0.065秒)
種類
- インスタンスメソッド (1781)
- 特異メソッド (256)
- クラス (72)
クラス
- Matrix (1426)
-
Matrix
:: EigenvalueDecomposition (120) -
Matrix
:: LUPDecomposition (120) - Vector (371)
キーワード
- * (48)
- ** (12)
- + (24)
- +@ (12)
- - (24)
- -@ (12)
-
/ (24) - == (12)
- EigenvalueDecomposition (12)
- ErrDimensionMismatch (12)
- ErrNotRegular (12)
- ErrOperationNotDefined (12)
- I (12)
- LUPDecomposition (12)
- Matrix (12)
- [] (36)
- []= (21)
- adjugate (12)
-
angle
_ with (12) - antisymmetric? (7)
- basis (12)
- build (24)
- clone (5)
- coerce (12)
- cofactor (12)
-
cofactor
_ expansion (12) - collect (48)
- collect! (21)
- collect2 (24)
- column (24)
-
column
_ count (12) -
column
_ size (12) -
column
_ vector (12) -
column
_ vectors (12) - columns (12)
- combine (24)
- component (12)
- conj (12)
- conjugate (12)
- covector (12)
- d (12)
- det (24)
-
det
_ e (12) - determinant (24)
-
determinant
_ e (12) - diagonal (12)
- diagonal? (12)
- dot (12)
- each (48)
- each2 (24)
-
each
_ with _ index (24) - eigen (12)
- eigensystem (12)
-
eigenvalue
_ matrix (12) - eigenvalues (12)
-
eigenvector
_ matrix (12) -
eigenvector
_ matrix _ inv (12) - eigenvectors (12)
- element (12)
- elements (12)
-
elements
_ to _ f (12) -
elements
_ to _ i (12) -
elements
_ to _ r (12) - empty (12)
- empty? (12)
-
entrywise
_ product (8) - eql? (12)
-
find
_ index (36) -
first
_ minor (12) -
hadamard
_ product (8) - hash (24)
- hermitian? (12)
- hstack (24)
- identity (12)
- imag (12)
- imaginary (12)
- index (36)
-
inner
_ product (12) - inspect (12)
- inv (12)
- inverse (12)
- l (12)
-
laplace
_ expansion (12) -
lower
_ triangular? (12) - lup (12)
-
lup
_ decomposition (12) - magnitude (12)
- map (48)
- map! (28)
- map2 (12)
- minor (24)
- norm (12)
- normal? (12)
- normalize (12)
- orthogonal? (12)
- p (12)
- permutation? (12)
- pivots (12)
- r (12)
- rank (12)
-
rank
_ e (12) - real (12)
- real? (12)
- rect (12)
- rectangular (12)
- regular? (12)
- round (12)
- row (24)
-
row
_ count (12) -
row
_ size (12) -
row
_ vector (12) -
row
_ vectors (12) - rows (12)
- scalar (12)
- singular? (24)
-
skew
_ symmetric? (7) - solve (12)
- square? (12)
- symmetric? (12)
- t (12)
-
to
_ a (48) -
to
_ ary (24) -
to
_ s (12) - tr (12)
- trace (12)
- transpose (12)
- u (12)
- unit (12)
- unitary? (12)
-
upper
_ triangular? (12) - v (12)
-
v
_ inv (12) - vstack (24)
- zero (24)
- zero? (12)
検索結果
先頭5件
-
Matrix
:: EigenvalueDecomposition # eigenvector _ matrix -> Matrix (9202.0) -
右固有ベクトルを横に並べた行列を返します。
右固有ベクトルを横に並べた行列を返します。 -
Matrix
:: EigenvalueDecomposition # eigenvector _ matrix _ inv -> Matrix (9202.0) -
左固有ベクトルを縦に並べた行列を返します。
...左固有ベクトルを縦に並べた行列を返します。
これは Matrix::EigenvalueDecomposition#v の逆行列です... -
Matrix
# adjugate -> Matrix (9102.0) -
余因子行列を返します。
...余因子行列を返します。
//emlist[例][ruby]{
require 'matrix'
Matrix[[7,6],[3,9]].adjugate # => Matrix[[9, -6], [-3, 7]]
//}
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が正方でない場合に発生します。
@see Matrix#cofactor... -
Matrix
# permutation? -> bool (9102.0) -
行列が置換行列ならば true を返します。
...行列が置換行列ならば true を返します。
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が正方行列でない場合に発生します... -
ExceptionForMatrix
:: ErrDimensionMismatch (9002.0) -
行列/ベクトル計算時に次元が合わない場合に発生する例外です。
行列/ベクトル計算時に次元が合わない場合に発生する例外です。 -
ExceptionForMatrix
:: ErrOperationNotDefined (9002.0) -
演算時にクラスが適切でない場合に発生する例外です。
演算時にクラスが適切でない場合に発生する例外です。 -
Matrix
# regular? -> bool (6222.0) -
行列が正方で正則なら true を、特異なら false を返します。
...、特異なら false を返します。
行列が正則であるとは、正方行列であり、かつ、その逆行列が存在することです。
行列式が0でないことと同値です。
正方行列でない場合には例外 ExceptionForMatrix::ErrDimensionMismatch を
発生させ......'matrix'
a1 = [ 1, 2, 3]
a2 = [10, 15, 20]
a3 = [-1, -2, 1.5]
m = Matrix[a1, a2, a3]
p m.regular? # => true
a1 = [ 1, 2, 3]
a2 = [10, 15, 20]
a3 = [-1, -2, -3]
m = Matrix[a1, a2, a3]
p m.regular? # => false
a1 = [ 1, 2, 3]
a2 = [10, 15, 20]
a3 = [-1, -2, 1.5]
a4 = [1, 1, 1]
m = Matrix[a1, a......2, a3, a4]
p m.regular? # => raise ExceptionForMatrix::ErrDimensionMismatch
//}
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が正方行列でない場合に発生します... -
Matrix
# conjugate -> Matrix (6202.0) -
複素共役を取った行列を返します。
...複素共役を取った行列を返します。
//emlist[例][ruby]{
require 'matrix'
Matrix[[Complex(1,2), Complex(0,1), 0], [1, 2, 3]]
# => 1+2i i 0
# 1 2 3
Matrix[[Complex(1,2), Complex(0,1), 0], [1, 2, 3]].conjugate
# => 1-2i -i 0
# 1 2 3
//}... -
Matrix
. scalar(n , value) -> Matrix (6202.0) -
対角要素が全てvalue(数)で、非対角要素が全て0であるようなn次の正方行列を生成します。
...が全てvalue(数)で、非対角要素が全て0であるようなn次の正方行列を生成します。
@param n 生成する行列の次元
@param value 生成する行列の対角要素の値
//emlist[例][ruby]{
require 'matrix'
m = Matrix.scalar(3, 2.5)
p m # => Matrix[[2.5, 0, 0],...