22件ヒット
[1-22件を表示]
(0.132秒)
ライブラリ
- matrix (22)
キーワード
-
angle
_ with (11) - hash (11)
検索結果
-
Vector
# angle _ with(v) -> Float (12201.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 の
ベクトルの次元が異なる場合に発生します。... -
Vector
# hash -> Integer (6201.0) -
自分自身のハッシュ値を返します。
自分自身のハッシュ値を返します。