261件ヒット
[1-100件を表示]
(0.059秒)
別のキーワード
クラス
- Matrix (173)
-
Matrix
:: LUPDecomposition (22) - Vector (66)
キーワード
- == (22)
- [] (11)
- antisymmetric? (6)
-
cofactor
_ expansion (11) - combine (7)
- component (11)
- diagonal? (11)
- element (11)
- empty? (11)
- eql? (22)
- hermitian? (11)
- independent? (11)
-
laplace
_ expansion (11) - normal? (11)
- orthogonal? (11)
- permutation? (11)
- regular? (11)
- singular? (22)
-
skew
_ symmetric? (6) - solve (11)
- symmetric? (11)
- unitary? (11)
検索結果
先頭5件
- Matrix
# combine(*matrices) {|*elements| . . . } -> Matrix - Matrix
:: LUPDecomposition # solve(b) -> Vector | Matrix - Matrix
# cofactor _ expansion(row: nil , column: nil) -> object | Integer | Rational | Float - Matrix
# laplace _ expansion(row: nil , column: nil) -> object | Integer | Rational | Float - Matrix
# ==(other) -> bool
-
Matrix
# combine(*matrices) {|*elements| . . . } -> Matrix (6109.0) -
要素ごとにブロックを呼び出した結果を組み合わせた Matrix を返します。
...要素ごとにブロックを呼び出した結果を組み合わせた Matrix を返します。
Matrix.combine(self, *matrices) { ... } と同じです。
@see Matrix.combine... -
Matrix
:: LUPDecomposition # solve(b) -> Vector | Matrix (154.0) -
self が正方行列 A の LUP 分解の時、一次方程式 Ax = b の解を返します。 b には Vector, Matrix, 数値の配列を指定出来ます。
...時、一次方程式 Ax = b の解を返します。
b には Vector, Matrix, 数値の配列を指定出来ます。
それぞれベクトルのサイズ、行列の行数、配列のサイズが A の列数と一致していなければなりません。
返り値は b が行列なら行列、......なります。
@param b 一次方程式の定数項を指定します。
//emlist[][ruby]{
require 'matrix'
lup = Matrix[[2, 1], [1, 2]].lup
lup.solve([1, -1]) #=> Vector[(1/1), (-1/1)]
lup.solve(Vector[3, 0]) #=> Vector[(2/1), (-1/1)]
lup.solve(Matrix[[1, 3], [-1,... -
Matrix
# cofactor _ expansion(row: nil , column: nil) -> object | Integer | Rational | Float (133.0) -
row 行、もしくは column 列に関するラプラス展開をする。
...けです。かわりにMatrix#determinant を
利用すべきです。
変則的な形状の行列に対してはそれ以上の意味を持ちます。例えば
row行/column列が行列やベクトルである場合には
//emlist[例][ruby]{
require 'matrix'
# Matrix[[7,6], [3,9]].laplace_expa......=> 45
Matrix[[Vector[1, 0], Vector[0, 1]], [2, 3]].laplace_expansion(row: 0) # => Vector[3, -2]
//}
@param row 行
@param column 列
@raise ArgumentError row と column を両方指定した、もしくは両方とも指定していない、場合に発生します
@raise ExceptionForMatrix::ErrD......imensionMismatch 行列が正方でない場合に発生します
@see Matrix#cofactor... -
Matrix
# laplace _ expansion(row: nil , column: nil) -> object | Integer | Rational | Float (133.0) -
row 行、もしくは column 列に関するラプラス展開をする。
...けです。かわりにMatrix#determinant を
利用すべきです。
変則的な形状の行列に対してはそれ以上の意味を持ちます。例えば
row行/column列が行列やベクトルである場合には
//emlist[例][ruby]{
require 'matrix'
# Matrix[[7,6], [3,9]].laplace_expa......=> 45
Matrix[[Vector[1, 0], Vector[0, 1]], [2, 3]].laplace_expansion(row: 0) # => Vector[3, -2]
//}
@param row 行
@param column 列
@raise ArgumentError row と column を両方指定した、もしくは両方とも指定していない、場合に発生します
@raise ExceptionForMatrix::ErrD......imensionMismatch 行列が正方でない場合に発生します
@see Matrix#cofactor... -
Matrix
# ==(other) -> bool (109.0) -
自分自身と other を比較し、同値であれば真(true)を返します。
...自分自身と other を比較し、同値であれば真(true)を返します。
@param other 比較対象のオブジェクト... -
Matrix
# antisymmetric? -> bool (109.0) -
行列が反対称行列 (交代行列、歪〔わい〕対称行列とも) ならば 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
# diagonal? -> bool (109.0) -
行列が対角行列ならば true を返します。
...行列が対角行列ならば true を返します。
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が正方行列でない場合に発生します... -
Matrix
# empty? -> bool (109.0) -
行列が要素を持たないならば true を返します。
...行列が要素を持たないならば true を返します。
要素を持たないとは、行数か列数のいずれかが0であることを意味します。
@see Matrix.empty... -
Matrix
# eql?(other) -> bool (109.0) -
自分自身と other を比較し、同値であれば真(true)を返します。
...自分自身と other を比較し、同値であれば真(true)を返します。
@param other 比較対象のオブジェクト... -
Matrix
# hermitian? -> bool (109.0) -
行列がエルミートならば true を返します。
...行列がエルミートならば true を返します。
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が正方行列でない場合に発生します...