11件ヒット
[1-11件を表示]
(0.230秒)
検索結果
-
Vector
# angle _ with(v) -> Float (30308.0) -
v と self がなす角度を返します。
...'matrix'
Vector[1, 0].angle_with(Vector[0, 1]) # => Math::PI/2
//}
@param v このベクトルと self とがなす角度を計算します
@raise ZeroVectorError self もしくは v のどちらかが零ベクトルである場合に
発生します
@raise ExceptionForMatrix::ErrDimensionMi......smatch v と self の
ベクトルの次元が異なる場合に発生します。...