angle_to#
- VectorArray.angle_to(other)[source]#
Calculate the angles to vector other.
Calculates \(\arccos\vec{v}_1 \cdot \vec{v}_2 / (v_1 v_2)\).
- Parameters:
- other
VectororVectorArray
- other
- Returns:
- angles
ndarray The angles in rad within [0, π].
- angles