Ruby 3.3 リファレンスマニュアル

instance method Vector#-@

- self -> selfRuby 2.2.0 から[permalink][rdoc][edit]

単項演算子の - です。self の逆ベクトル(各要素に -1 を乗じたベクトル)を返します。