MCPcopy Create free account
hub / github.com/densechen/CASS / angle_between_vectors

Function angle_between_vectors

lib/transformations.py:1807–1836  ·  view source on GitHub ↗

Return angle between vectors. If directed is False, the input vectors are interpreted as undirected axes, i.e. the maximum angle is pi/2. >>> a = angle_between_vectors([1, -2, 3], [-1, 2, -3]) >>> numpy.allclose(a, math.pi) True >>> a = angle_between_vectors([1, -2, 3], [-1

(v0, v1, directed=True, axis=0)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

vector_normFunction · 0.85

Tested by

no test coverage detected