829件ヒット
[301-400件を表示]
(0.075秒)
キーワード
- * (24)
- ** (12)
- + (12)
- +@ (12)
- - (12)
- -@ (12)
-
/ (24) - == (12)
- [] (12)
- []= (7)
- adjugate (12)
- antisymmetric? (7)
- coerce (12)
- cofactor (12)
-
cofactor
_ expansion (12) - collect (24)
- collect! (14)
- column (24)
- combine (8)
- component (12)
- det (12)
- determinant (12)
- diagonal? (12)
- each (24)
-
each
_ with _ index (24) - eigen (12)
- eigensystem (12)
- element (12)
- empty? (12)
-
entrywise
_ product (8) - eql? (12)
-
find
_ index (36) -
first
_ minor (12) -
hadamard
_ product (8) - hermitian? (12)
- hstack (12)
- index (36)
-
laplace
_ expansion (12) - lup (12)
-
lup
_ decomposition (12) - map (24)
- map! (14)
- minor (24)
- normal? (12)
- orthogonal? (12)
- permutation? (12)
- rect (12)
- rectangular (12)
- regular? (12)
- round (12)
- row (24)
- singular? (12)
-
skew
_ symmetric? (7) - symmetric? (12)
- tr (12)
- trace (12)
- unitary? (12)
- vstack (12)
検索結果
先頭5件
-
Matrix
# determinant -> Numeric (23128.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
# element(i , j) -> () (23128.0) -
(i,j)要素を返します。 行列の範囲外の値を指定した場合には nil を返します。
...合には nil を返します。
@param i 要素の行成分を0オリジンで指定します。
@param j 要素の列成分を0オリジンで指定します。
//emlist[例][ruby]{
require 'matrix'
a1 = [1, 2, 3]
a2 = [10, 15, 20]
a3 = [-1, 2, 1.5]
m = Matrix[a1, a2, a3]
p m[0, 0] # => 1
p... -
Matrix
# empty? -> bool (23116.0) -
行列が要素を持たないならば true を返します。
...行列が要素を持たないならば true を返します。
要素を持たないとは、行数か列数のいずれかが0であることを意味します。
@see Matrix.empty... -
Matrix
# hermitian? -> bool (23110.0) -
行列がエルミートならば true を返します。
...行列がエルミートならば true を返します。
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が正方行列でない場合に発生します... -
Matrix
# orthogonal? -> bool (23110.0) -
行列が直交行列ならば true を返します。
...行列が直交行列ならば true を返します。
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が正方行列でない場合に発生します... -
Matrix
# permutation? -> bool (23110.0) -
行列が置換行列ならば true を返します。
...行列が置換行列ならば true を返します。
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が正方行列でない場合に発生します... -
Matrix
# unitary? -> bool (23110.0) -
行列がユニタリならば true を返します。
...行列がユニタリならば true を返します。
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が正方行列でない場合に発生します... -
Matrix
# minor(from _ row . . to _ row , from _ col . . to _ col) -> Matrix (20348.0) -
selfの部分行列を返します。
...号..終了列番号
@param from_row 部分行列の開始行(0オリジンで指定)
@param row_size 部分行列の行サイズ
@param from_col 部分行列の開始列(0オリジンで指定)
@param col_size 部分行列の列サイズ
//emlist[例][ruby]{
require 'matrix'
a1 = [ 1, 2, 3, 4,......5]
a2 = [11, 12, 13, 14, 15]
a3 = [21, 22, 23, 24, 25]
a4 = [31, 32, 33, 34, 35]
a5 = [51, 52, 53, 54, 55]
m = Matrix[a1, a2, a3, a4, a5]
p m.minor(0, 2, 1, 2) # => Matrix[[2, 3], [12, 13]]
//}... -
Matrix
# combine(*matrices) {|*elements| . . . } -> Matrix (20339.0) -
要素ごとにブロックを呼び出した結果を組み合わせた Matrix を返します。
...要素ごとにブロックを呼び出した結果を組み合わせた Matrix を返します。
Matrix.combine(self, *matrices) { ... } と同じです。
@see Matrix.combine...