5件ヒット
[1-5件を表示]
(0.041秒)
キーワード
-
column
_ count (1) -
column
_ size (1) - each2 (1)
- minor (2)
検索結果
先頭5件
-
Matrix
# column _ size -> Integer (27613.0) -
行列の列数を返します。
行列の列数を返します。 -
Matrix
# column _ count -> Integer (18313.0) -
行列の列数を返します。
行列の列数を返します。 -
Matrix
# minor(from _ row , row _ size , from _ col , col _ size) -> Matrix (952.0) -
selfの部分行列を返します。
...ram 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
# minor(from _ row . . to _ row , from _ col . . to _ col) -> Matrix (352.0) -
selfの部分行列を返します。
...ram 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]]
//}... -
Vector
# each2(v) {|x , y| . . . } -> self (328.0) -
ベクトルの各要素と、それに対応するインデックスを持つ引数 v の要素との組に対して (2引数の) ブロックを繰返し評価します。
...ロックを省略した場合は Enumerator を返します。
@param v 各要素と組を取るためのオブジェクト
@raise ExceptionForMatrix::ErrDimensionMismatch 自分自身と引数のベクト
ルの要素の数(次元)が異なっていたときに発生します。
@see Array...