Ruby 2.5.0 リファレンスマニュアル > ライブラリ一覧 > matrixライブラリ > Vectorクラス > /

instance method Vector#/

self / other -> Vector[permalink][rdoc]

self の各要素を数 other で割ったベクトルを返します。

[PARAM] other:
self の各要素を割る Numeric オブジェクトを指定します。
[EXCEPTION] ExceptionForMatrix::ErrOperationNotDefined:
other が Vector や Matrix の場合に発生します