749件ヒット
[201-300件を表示]
(0.018秒)
別のキーワード
クラス
- Matrix (471)
-
Matrix
:: LUPDecomposition (12) - Vector (266)
キーワード
- * (48)
- ** (12)
- + (24)
- - (24)
-
/ (36) - == (24)
- [] (24)
- []= (21)
-
angle
_ with (12) - coerce (12)
- cofactor (12)
-
cofactor
_ expansion (12) - collect (14)
- collect! (14)
- collect2 (24)
- column (24)
- component (24)
- cross (12)
-
cross
_ product (12) - dot (12)
- each (24)
- each2 (24)
-
each
_ with _ index (24) - element (24)
- eql? (24)
-
find
_ index (36) -
first
_ minor (12) - hstack (12)
- independent? (12)
- index (36)
-
inner
_ product (12) -
laplace
_ expansion (12) - map (14)
- map! (14)
- map2 (12)
- minor (24)
- row (24)
- solve (12)
検索結果
先頭5件
-
Matrix
# laplace _ expansion(row: nil , column: nil) -> object | Integer | Rational | Float (15.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
# *(m) -> Matrix | Vector (10.0) -
self に行列またはベクトル m を右から乗じた行列を返します。
...を返します。
m が Vector オブジェクトなら返り値も Vector オブジェクトになります。
@param m 右からの乗算が定義可能な行列やベクトルを指定します。
@raise ExceptionForMatrix::ErrDimensionMismatch 次元が合わない場合に発生します... -
Matrix
# *(other) -> Matrix (10.0) -
self の各成分に数 other を掛けた行列を返します。
...self の各成分に数 other を掛けた行列を返します。
@param other self の各成分に掛ける Numeric オブジェクトを指定します。... -
Matrix
# / (m) -> Matrix (10.0) -
self に行列 m の逆行列を右から乗じた行列を返します。
...じた行列を返します。
@param m 逆行列を右から乗算する行列。可逆行列でselfと乗算可能な行列を指定します。
@raise ExceptionForMatrix::ErrDimensionMismatch 次元が合わない場合に発生します
@raise ExceptionForMatrix::ErrNotRegular m が正則で... -
Matrix
# / (other) -> Matrix (10.0) -
self の各成分を数 other で割った行列を返します。
...self の各成分を数 other で割った行列を返します。
@param other self の各成分を割る Numeric オブジェクトを指定します。... -
Vector
# *(m) -> Matrix (10.0) -
自分自身を列ベクトル(行列)に変換して (実際には Matrix.column_vector(self) を適用) から、行列 m を右から乗じた行列 (Matrix クラス) を返します。
...を列ベクトル(行列)に変換して (実際には Matrix.column_vector(self) を適用) から、行列 m を右から乗じた行列 (Matrix クラス) を返します。
@param m 右から乗算を行う行列
@raise ExceptionForMatrix::ErrDimensionMismatch 次元が合わない場合に発......生します
=== 注意
引数の行列 m は自分自身を列ベクトルとした場合に乗算が定義できる行列である必要があります。
//emlist[例][ruby]{
require 'matrix'
v = Vector[1, 2]
a = [4, 5, 6]
m = Matrix[a]
p v * m # => Matrix[[4, 5, 6], [8, 10, 12]]
//}... -
Vector
# *(other) -> Vector (10.0) -
self の各要素に数 other を乗じたベクトルを返します。
...self の各要素に数 other を乗じたベクトルを返します。
@param other self の各要素に掛ける Numeric オブジェクトを指定します。
//emlist[例][ruby]{
require 'matrix'
a = [1, 2, 3.5, 100]
v1 = Vector.elements(a)
p v1.*(2) # => Vector[2, 4, 7.0, 200]
p v1.*(-... -
Matrix
# **(n) -> Matrix (9.0) -
self の n 乗を返します。
...self の n 乗を返します。
@param n べき数の指定
@raise ExceptionForMatrix::ErrNotRegular n が 0 以下で、行列が正則でない場合に発生します... -
Matrix
# +(m) -> Matrix (9.0) -
self に行列 m を加算した行列を返します。 self の column_size が 1 なら Vector オブジェクトも指定出来ます。
...した行列を返します。
self の column_size が 1 なら Vector オブジェクトも指定出来ます。
@param m 加算する行列。加算可能な行列やベクトルを指定します。
@raise ExceptionForMatrix::ErrDimensionMismatch 次元が合わない場合に発生します... -
Matrix
# -(m) -> Matrix (9.0) -
self から行列mを減算した行列を返します。 self の column_size が 1 なら Vector オブジェクトも指定出来ます。
...した行列を返します。
self の column_size が 1 なら Vector オブジェクトも指定出来ます。
@param m 減算する行列。減算可能な行列やベクトルを指定します。
@raise ExceptionForMatrix::ErrDimensionMismatch 次元が合わない場合に発生します...