8件ヒット
[1-8件を表示]
(0.069秒)
ライブラリ
- matrix (8)
キーワード
- + (1)
- - (1)
-
column
_ count (1) -
column
_ size (1) - minor (2)
-
row
_ count (1) -
row
_ size (1)
検索結果
先頭5件
-
Matrix
# column _ size -> Integer (9310.0) -
行列の列数を返します。
行列の列数を返します。 -
Matrix
# row _ size -> Integer (9310.0) -
行列の行数を返します。
行列の行数を返します。 -
Matrix
# minor(from _ row , row _ size , from _ col , col _ size) -> Matrix (649.0) -
selfの部分行列を返します。
...aram 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
# +(m) -> Matrix (55.0) -
self に行列 m を加算した行列を返します。 self の column_size が 1 なら Vector オブジェクトも指定出来ます。
...した行列を返します。
self の column_size が 1 なら Vector オブジェクトも指定出来ます。
@param m 加算する行列。加算可能な行列やベクトルを指定します。
@raise ExceptionForMatrix::ErrDimensionMismatch 次元が合わない場合に発生します... -
Matrix
# -(m) -> Matrix (55.0) -
self から行列mを減算した行列を返します。 self の column_size が 1 なら Vector オブジェクトも指定出来ます。
...した行列を返します。
self の column_size が 1 なら Vector オブジェクトも指定出来ます。
@param m 減算する行列。減算可能な行列やベクトルを指定します。
@raise ExceptionForMatrix::ErrDimensionMismatch 次元が合わない場合に発生します... -
Matrix
# minor(from _ row . . to _ row , from _ col . . to _ col) -> Matrix (49.0) -
selfの部分行列を返します。
...aram 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
# column _ count -> Integer (10.0) -
行列の列数を返します。
行列の列数を返します。 -
Matrix
# row _ count -> Integer (10.0) -
行列の行数を返します。
行列の行数を返します。