2172件ヒット
[1-100件を表示]
(0.105秒)
種類
- インスタンスメソッド (1832)
- 特異メソッド (252)
- クラス (88)
クラス
- Matrix (1303)
-
Matrix
:: EigenvalueDecomposition (110) -
Matrix
:: LUPDecomposition (110) - Vector (561)
キーワード
- * (44)
- ** (11)
- + (22)
- +@ (22)
- - (22)
- -@ (22)
-
/ (33) - == (22)
- EigenvalueDecomposition (11)
- ErrDimensionMismatch (11)
- ErrNotRegular (11)
- ErrOperationNotDefined (11)
- I (11)
- LUPDecomposition (11)
- Matrix (11)
- Vector (11)
- ZeroVectorError (11)
- [] (44)
- []= (18)
- adjugate (11)
-
angle
_ with (11) - antisymmetric? (6)
- basis (11)
- build (22)
- clone (10)
- coerce (11)
- cofactor (11)
-
cofactor
_ expansion (11) - collect (44)
- collect! (24)
- collect2 (22)
- column (22)
-
column
_ count (11) -
column
_ size (11) -
column
_ vector (11) -
column
_ vectors (11) - columns (11)
- combine (21)
- component (22)
- conj (11)
- conjugate (11)
- covector (11)
- cross (11)
-
cross
_ product (11) - d (11)
- det (22)
-
det
_ e (11) - determinant (22)
-
determinant
_ e (11) - diagonal (11)
- diagonal? (11)
- dot (11)
- each (44)
- each2 (22)
-
each
_ with _ index (22) - eigen (11)
- eigensystem (11)
-
eigenvalue
_ matrix (11) - eigenvalues (11)
-
eigenvector
_ matrix (11) -
eigenvector
_ matrix _ inv (11) - eigenvectors (11)
- element (22)
- elements (11)
-
elements
_ to _ f (22) -
elements
_ to _ i (22) -
elements
_ to _ r (22) - empty (11)
- empty? (11)
-
entrywise
_ product (7) - eql? (22)
-
find
_ index (33) -
first
_ minor (11) -
hadamard
_ product (7) - hash (22)
- hermitian? (11)
- hstack (22)
- identity (11)
- imag (11)
- imaginary (11)
- independent? (22)
- index (33)
-
inner
_ product (11) - inspect (22)
- inv (11)
- inverse (11)
- l (11)
-
laplace
_ expansion (11) -
lower
_ triangular? (11) - lup (11)
-
lup
_ decomposition (11) - magnitude (11)
- map (44)
- map! (24)
- map2 (11)
- minor (22)
- norm (11)
- normal? (11)
- normalize (11)
- orthogonal? (11)
- p (11)
- permutation? (11)
- pivots (11)
- r (11)
- rank (11)
-
rank
_ e (11) - real (11)
- real? (11)
- rect (11)
- rectangular (11)
- regular? (11)
- round (11)
- row (22)
-
row
_ count (11) -
row
_ size (11) -
row
_ vector (11) -
row
_ vectors (11) - rows (11)
- scalar (11)
- singular? (22)
- size (11)
-
skew
_ symmetric? (6) - solve (11)
- square? (11)
- symmetric? (11)
-
to
_ a (44) -
to
_ ary (22) -
to
_ s (22) - tr (11)
- trace (11)
- transpose (11)
- u (11)
- unit (11)
- unitary? (11)
-
upper
_ triangular? (11) - v (11)
-
v
_ inv (11) - vstack (22)
- zero (29)
- zero? (18)
検索結果
先頭5件
-
Matrix
# t -> Matrix (35227.0) -
転置行列 (transpose matrix) を返します。
...転置行列 (transpose matrix) を返します。
self を Matrix のオブジェクトで、(m,n) 型行列としたとき a(j,i) を (i,j) 要素とする (n,m) 型行列を返します。... -
Matrix
# entrywise _ product(m) -> Matrix (26328.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 _ inv -> Matrix (26311.0) -
左固有ベクトルを縦に並べた行列を返します。
...左固有ベクトルを縦に並べた行列を返します。
これは Matrix::EigenvalueDecomposition#v の逆行列です... -
Matrix
:: EigenvalueDecomposition # eigenvector _ matrix -> Matrix (26305.0) -
右固有ベクトルを横に並べた行列を返します。
右固有ベクトルを横に並べた行列を返します。 -
Matrix
# hadamard _ product(m) -> Matrix (26228.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
# antisymmetric? -> bool (26138.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
Mat......rix[[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
# skew _ symmetric? -> bool (26138.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
Mat......rix[[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
# tr -> Integer | Float | Rational | Complex (26114.0) -
トレース (trace) を返します。
...トレース (trace) を返します。
行列のトレース (trace) とは、対角要素の和です。
//emlist[例][ruby]{
require 'matrix'
Matrix[[7,6], [3,9]].trace # => 16
//}
trace は正方行列でのみ定義されます。
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が... -
Matrix
# trace -> Integer | Float | Rational | Complex (26114.0) -
トレース (trace) を返します。
...トレース (trace) を返します。
行列のトレース (trace) とは、対角要素の和です。
//emlist[例][ruby]{
require 'matrix'
Matrix[[7,6], [3,9]].trace # => 16
//}
trace は正方行列でのみ定義されます。
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が... -
Matrix
# lower _ triangular? -> bool (26102.0) -
行列が下三角行列ならば true を返します。
...行列が下三角行列ならば true を返します。... -
Matrix
# symmetric? -> bool (26102.0) -
行列が対称ならば true を返します。
...行列が対称ならば true を返します。
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が正方行列でない場合に発生します...