neurom.morphmath.vector

neurom.morphmath.vector(p1, p2)[source]

compute vector between two 3D points

Parameters:
  • p2 (p1,) – indexable objects with
  • 0, 1, 2 corresponding to 3D cartesian coordinates. (indices) –
Returns:

3-vector from p1 - p2