Ejemplo n.º 1
0
    def angles(self, other):
        """Compute both angles between this ``Vector`` and another vector.

        Parameters
        ----------
        other : vector
            The other vector.

        Returns
        -------
        tuple of float
            The angles between the two vectors, with the snalles angle first.

        """
        return angles_vectors(self, other)
Ejemplo n.º 2
0
 def angles_vectors(left, right):
     return [angles_vectors(u, v) for u, v in zip(left, right)]