1822件ヒット
[1-100件を表示]
(0.018秒)
種類
- インスタンスメソッド (1518)
- 特異メソッド (232)
- クラス (72)
クラス
- Matrix (1426)
-
Matrix
:: EigenvalueDecomposition (120) -
Matrix
:: LUPDecomposition (120) - Vector (84)
キーワード
- * (36)
- ** (12)
- + (24)
- +@ (12)
- - (24)
- -@ (12)
-
/ (24) - == (12)
- EigenvalueDecomposition (12)
- ErrDimensionMismatch (12)
- ErrNotRegular (12)
- ErrOperationNotDefined (12)
- I (12)
- LUPDecomposition (12)
- Matrix (12)
- [] (24)
- []= (7)
- adjugate (12)
- antisymmetric? (7)
- build (24)
- clone (5)
- coerce (12)
- cofactor (12)
-
cofactor
_ expansion (12) - collect (24)
- collect! (14)
- 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)
- each (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 (12)
- hermitian? (12)
- hstack (24)
- identity (12)
- imag (12)
- imaginary (12)
- index (36)
- inspect (24)
- inv (12)
- inverse (12)
- l (12)
-
laplace
_ expansion (12) -
lower
_ triangular? (12) - lup (12)
-
lup
_ decomposition (12) - map (24)
- map! (14)
- minor (24)
- normal? (12)
- orthogonal? (12)
- p (12)
- permutation? (12)
- pivots (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 (36) -
to
_ ary (24) -
to
_ s (24) - 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
# tr -> Integer | Float | Rational | Complex (21103.0) -
トレース (trace) を返します。
...トレース (trace) を返します。
行列のトレース (trace) とは、対角要素の和です。
//emlist[例][ruby]{
require 'matrix'
Matrix[[7,6], [3,9]].trace # => 16
//}
trace は正方行列でのみ定義されます。
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が... -
Matrix
# entrywise _ product(m) -> Matrix (9202.0) -
アダマール積(要素ごとの積)を返します。
...ダマール積(要素ごとの積)を返します。
@raise ExceptionForMatrix::ErrDimensionMismatch 行や列の要素数が一致しない時に発生します。
//emlist[例][ruby]{
require 'matrix'
Matrix[[1,2], [3,4]].hadamard_product(Matrix[[1,2], [3,2]]) # => Matrix[[1, 4], [9, 8]]
//}... -
Matrix
:: EigenvalueDecomposition # eigenvector _ matrix -> Matrix (9202.0) -
右固有ベクトルを横に並べた行列を返します。
右固有ベクトルを横に並べた行列を返します。 -
Matrix
:: EigenvalueDecomposition # eigenvector _ matrix _ inv -> Matrix (9202.0) -
左固有ベクトルを縦に並べた行列を返します。
...左固有ベクトルを縦に並べた行列を返します。
これは Matrix::EigenvalueDecomposition#v の逆行列です... -
Matrix
# trace -> Integer | Float | Rational | Complex (9103.0) -
トレース (trace) を返します。
...トレース (trace) を返します。
行列のトレース (trace) とは、対角要素の和です。
//emlist[例][ruby]{
require 'matrix'
Matrix[[7,6], [3,9]].trace # => 16
//}
trace は正方行列でのみ定義されます。
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が... -
Matrix
# antisymmetric? -> bool (9102.0) -
行列が反対称行列 (交代行列、歪〔わい〕対称行列とも) ならば true を返します。
...ば true を返します。
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が正方行列でない場合に発生します
//emlist[][ruby]{
require 'matrix'
Matrix[[0, -2, Complex(1, 3)], [2, 0, 5], [-Complex(1, 3), -5, 0]].antisymmetric? # => true
Matrix.empty.antisymmetric? # => true......Matrix[[1, 2, 3], [4, 5, 6], [7, 8, 9]].antisymmetric? # => false
# 対角要素が違う
Matrix[[1, -2, 3], [2, 0, 6], [-3, -6, 0]].antisymmetric? # => false
# 符号が違う
Matrix[[0, 2, -3], [2, 0, 6], [-3, 6, 0]].antisymmetric? # => false
//}... -
Matrix
# lower _ triangular? -> bool (9102.0) -
行列が下三角行列ならば true を返します。
...行列が下三角行列ならば true を返します。... -
Matrix
# skew _ symmetric? -> bool (9102.0) -
行列が反対称行列 (交代行列、歪〔わい〕対称行列とも) ならば true を返します。
...ば true を返します。
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が正方行列でない場合に発生します
//emlist[][ruby]{
require 'matrix'
Matrix[[0, -2, Complex(1, 3)], [2, 0, 5], [-Complex(1, 3), -5, 0]].antisymmetric? # => true
Matrix.empty.antisymmetric? # => true......Matrix[[1, 2, 3], [4, 5, 6], [7, 8, 9]].antisymmetric? # => false
# 対角要素が違う
Matrix[[1, -2, 3], [2, 0, 6], [-3, -6, 0]].antisymmetric? # => false
# 符号が違う
Matrix[[0, 2, -3], [2, 0, 6], [-3, 6, 0]].antisymmetric? # => false
//}... -
Matrix
# symmetric? -> bool (9102.0) -
行列が対称ならば true を返します。
...行列が対称ならば true を返します。
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が正方行列でない場合に発生します... -
Matrix
# upper _ triangular? -> bool (9102.0) -
行列が上三角行列ならば true を返します。
...行列が上三角行列ならば true を返します。...