るりまサーチ

最速Rubyリファレンスマニュアル検索!
95件ヒット [1-95件を表示] (0.139秒)
トップページ > クエリ:i[x] > クエリ:h[x] > クエリ:ErrDimensionMismatch[x]

別のキーワード

  1. _builtin to_i
  2. fiddle to_i
  3. matrix elements_to_i
  4. etc sc_xopen_enh_i18n
  5. _builtin i

ライブラリ

クラス

キーワード

検索結果

ExceptionForMatrix::ErrDimensionMismatch (33000.0)

行列/ベクトル計算時に次元が合わない場合に発生する例外です。

行列/ベクトル計算時に次元が合わない場合に発生する例外です。

Matrix#hermitian? -> bool (12206.0)

行列がエルミートならば true を返します。

...行列がエルミートならば true を返します。

@raise ExceptionForMatrix::ErrDimensionMismatch 行列が正方行列でない場合に発生します...

Vector#angle_with(v) -> Float (12206.0)

v と self がなす角度を返します。

...mlist[例][ruby]{
require 'matrix'
Vector[1, 0].angle_with(Vector[0, 1]) # => Math::PI/2
//}

@param v このベクトルと self とがなす角度を計算します
@raise ZeroVectorError self もしくは v のどちらかが零ベクトルである場合に
発生します
@raise Exceptio...
...nForMatrix::ErrDimensionMismatch v と self の
ベクトルの次元が異なる場合に発生します。...

Matrix#hstack(*matrices) -> Matrix (9206.0)

行列 self と matrices を横に並べた行列を生成します。

...列 self と matrices を横に並べた行列を生成します。

Matrix.hstack(self, *matrices) と同じです。

//emlist[例][ruby]{
require 'matrix'
x = Matrix[[1, 2], [3, 4]]
y = Matrix[[5, 6], [7, 8]]
x.hstack(y) # => Matrix[[1, 2, 5, 6], [3, 4, 7, 8]]
//}

@param matrices 並べる行列...
...。すべての行列の行数がselfの行数と一致していなければならない
@raise ExceptionForMatrix::ErrDimensionMismatch 行数の異なる行列がある場合に発生します

@see Matrix.hstack, Matrix#vstack...

Matrix.hstack(*matrices) -> Matrix (9206.0)

行列 matrices を横に並べた行列を生成します。

...行列 matrices を横に並べた行列を生成します。

//emlist[例][ruby]{
require 'matrix'
x = Matrix[[1, 2], [3, 4]]
y = Matrix[[5, 6], [7, 8]]
Matrix.hstack(x, y) # => Matrix[[1, 2, 5, 6], [3, 4, 7, 8]]
//}

@param matrices 並べる行列。すべての行列の行数が一致してい...
...なければならない
@raise ExceptionForMatrix::ErrDimensionMismatch 行数の異なる行列がある場合に発生します
@see Matrix.vstack, Matrix#hstack...

絞り込み条件を変える

Matrix#orthogonal? -> bool (9106.0)

行列が直交行列ならば true を返します。

...行列が直交行列ならば true を返します。

@raise ExceptionForMatrix::ErrDimensionMismatch 行列が正方行列でない場合に発生します...

Matrix#hadamard_product(m) -> Matrix (6206.0)

アダマール積(要素ごとの積)を返します。

...ダマール積(要素ごとの積)を返します。

@raise ExceptionForMatrix::ErrDimensionMismatch 行や列の要素数が一致しない時に発生します。

//emlist[例][ruby]{
require 'matrix'

Matrix[[1,2], [3,4]].hadamard_product(Matrix[[1,2], [3,2]]) # => Matrix[[1, 4], [9, 8]]
//}...

Matrix#*(other) -> Matrix (3201.0)

self の各成分に数 other を掛けた行列を返します。

...self の各成分に数 other を掛けた行列を返します。

@param other self の各成分に掛ける Numeric オブジェクトを指定します。...

Matrix#/(other) -> Matrix (3201.0)

self の各成分を数 other で割った行列を返します。

...self の各成分を数 other で割った行列を返します。

@param other self の各成分を割る Numeric オブジェクトを指定します。...