るりまサーチ (Ruby 2.5.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.162秒)
トップページ > 種類:インスタンスメソッド[x] > クエリ:n[x] > バージョン:2.5.0[x] > クラス:Vector[x] > クエリ:inner_product[x]

別のキーワード

  1. matrix inner_product
  2. vector inner_product
  3. inner_product
  4. inner_product matrix
  5. inner_product vector

ライブラリ

検索結果

Vector#inner_product(v) -> Float (54610.0)

ベクトル v との内積を返します。

ベクトル v との内積を返します。

@param v 内積を求めるベクトル

@raise ExceptionForMatrix::ErrDimensionMismatch 自分自身と引数のベクト
ルの要素の数(次元)が異なっていたときに発生します。